No Ceph dashboard
Initially inquired in: https://github.com/canonical/microceph/issues/168
A by-hand steps were explained in: https://github.com/canonical/microceph/pull/184
The content has gone in: https://github.com/canonical/microceph/commit/e4078b6c7f91766aa61abc2c73796987517d6f78#diff-b53ae5929278851a4abb6bb842b7143931d9cee832bc67b3c83db70e5d1f638d
So at this point, there is no feature or documentation about how to enable Ceph dashboard.
Thank you for reporting your feedback to us!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CEPH-1270.
This message was autogenerated
Hi, I cannot find anywhere how to setup Ceph dashboard? The links posted above are either inaccessible or missing info. Thanks
There is a workaround to enable it non HA It can be manually configured bypassing microceph CLI abstraction and directly ceph upstream commands to enable and configure the module
CEPH_USER=ceph-admin
CEPH_ROLE=administrator
CEPH_PASS=CHANGE_ME
# ===== Dashboard
echo "===== Dashboard"
# A - No SSL
sudo microceph.ceph config set mgr mgr/dashboard/ssl false
sudo microceph.ceph config set mgr mgr/dashboard/server_port 8081
# B - With SSL
# sudo microceph.ceph config set mgr mgr/dashboard/server_port 443
# sudo microceph.ceph dashboard set-ssl-certificate -i dashboard.crt
# sudo microceph.ceph dashboard set-ssl-certificate-key -i dashboard.key
sudo sudo microceph.ceph mgr module enable dashboard
# Create admin user for dashboard
echo "$CEPH_PASS" | sudo tee /var/snap/microceph/common/.ceph_pass
sudo ceph dashboard ac-user-create $CEPH_USER -i /var/snap/microceph/common/.ceph_pass $CEPH_ROLE --pwd-update-required
sudo rm /var/snap/microceph/common/.ceph_pass
Now, to enable it in HA it requires additional steps to configure a VIP or an LB in front of it
cc @minaelee possible followup to microcloud VIP conversation
cc @minaelee possible followup to microcloud VIP conversation
Thanks Irune. Note there are newly added how-to for VIP added to the LXD docs (will refer to it from MicroCloud docs as well).