rook: Ceph object store dashboard cannot be enabled
Is this a bug report or feature request? BUG
- Bug Report
Deviation from expected behavior: No matter what I try I cannot make the object storage part in the dashboard work. The Object Gateway seems to be working properly, buckets, files etc. The other parts in the dashboard also work properly.
I am getting, 500 - Internal Server Error RGW rest api failed request with status code 403
Expected behavior: It should present object, buckets etc.
How to reproduce it (minimal and precise):
We are using Rook Ceph v0.9.3 (Ceph image: v13.2.4-20190109) on kubernetes v1.13.5 Ubuntu 18.4
Start the dashboard, follow dashboard conf http://docs.ceph.com/docs/mimic/mgr/dashboard/ and try it out
Environment:
-
OS (e.g. from /etc/os-release): Ubuntu 18.4 LTS
-
Kernel (e.g.
uname -a): Linux master1 4.15.0-1029-gcp #31-Ubuntu SMP Thu Mar 21 09:40:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux -
Cloud provider or hardware configuration: GCP/ Local hardware - the same issue Local hardware, 30Cores+64GB RAM
-
Rook version (use
rook versioninside of a Rook Pod): 0.9.3 [root@node1 /]# rook version rook: v0.9.3 -
Kubernetes version (use
kubectl version): 13.05 14.01 -
Kubernetes cluster type (e.g. Tectonic, GKE, OpenShift): Native
-
Storage backend status (e.g. for Ceph use
ceph healthin the Rook Ceph toolbox): [root@node1 /]# ceph health HEALTH_OK
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 4
- Comments: 16 (6 by maintainers)
[Resolved] Kubernets:
Rook:
Ceph Image:
I changed the dashboard config ssl to false and port to 7000, and created the rook ceph cluster as order:
And then I executed the commands
The log of ceph dashboard set-rgw-api-*
re-login dashboard and click Object Gateway --> Daemons
The response was
Would you help to point where I was wrong?After restart dashboard by command
The web page of Object Gateway can be accessed.
After futzing around for a while, I kept getting max-recursion errors when accessing the object gateway section of the dashboard. Fixing it for me was a matter of running every
ceph dashboard reset-rgw-*command to clean up, then starting over. Here is a handy shortcut:From my ceph-tools container:
Logging out and back into the web UI seemed to be necessary.
At the time of this writing, the commands run by the first line:
@meirhazonAnyVision The steps in #3255 worked for me. Could you also verify?
I would suggest the following to automate this when rook configures an object store:
rook-system-<store>, for examplerook-system-my-store)