microceph icon indicating copy to clipboard operation
microceph copied to clipboard

No Ceph dashboard

Open nobuto-m opened this issue 8 months ago • 5 comments

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.

nobuto-m avatar Apr 25 '25 14:04 nobuto-m

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

chrislawso avatar Aug 02 '25 18:08 chrislawso

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

gustavosr98 avatar Oct 07 '25 15:10 gustavosr98

cc @minaelee possible followup to microcloud VIP conversation

wideawakening avatar Oct 08 '25 06:10 wideawakening

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).

minaelee avatar Oct 09 '25 21:10 minaelee