ceph-dashboard complains object gateway service not configured

Bug #1986593 reported by Andre Ruiz
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ceph Dashboard Charm
Triaged
High
Unassigned

Bug Description

When you install ceph-dashboard (in my case, in Focal), login and go to the "Object Gateway" tab (or any of the sub-tabs) you see a message saying:

> The Object Gateway Service is not configured
> Credentials not found for RGW Daemon: ''
> Please consult the documentation on how to configure and enable the Object Gateway management functionality.

If you run "ceph dashboard set-rgw-credentials" and refresh the page, it works.

It feels like this should be automatic since ceph-dashboard is related to radosgw (like the documentation suggests). The charm has enough information and capacity to do it for you.

Revision history for this message
Vern Hart (vern) wrote :

I've seen the same deployed on jammy.

Revision history for this message
Andre Ruiz (andre-ruiz) wrote :

This deployment was channel quincy/stable

Revision history for this message
Vern Hart (vern) wrote :

Same. Here is my bundle for a test on AWS (from https://git.launchpad.net/cpe-deployments/tree/?h=ceph-aws-demo).

Revision history for this message
Nobuto Murata (nobuto) wrote :

I can confirm this. But interestingly, it happens only after adding the expected relation:

> - ['ceph-dashboard:radosgw-dashboard', 'ceph-radosgw:radosgw-user']

Before adding the relation the object gateway tab actually works.

Revision history for this message
Nobuto Murata (nobuto) wrote :

Subscribing ~field-high as the object gateway tab is broken by following the doc:
https://ubuntu.com/ceph/docs/install-dashboard

It's either:
- the document shouldn't suggest the relation in question
> ceph-dashboard:radosgw-dashboard ceph-radosgw:radosgw-user
- or there is something wrong in the charm

In any case, this needs to be investigated and fixed to offer a better out-of-the-box experience.

Revision history for this message
Nobuto Murata (nobuto) wrote :

Before adding the relation

Revision history for this message
Nobuto Murata (nobuto) wrote :

after adding the relation

Nobuto Murata (nobuto)
tags: added: field-ceph-dashboard
Changed in charm-ceph-dashboard:
importance: Undecided → High
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.