> 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.
At least on my test bed,
[before adding the relation]
# ceph config dump | grep 'dashboard.*KEY' mgr advanced mgr/dashboard/RGW_API_ACCESS_KEY LWPYOAE08C0V3TL820N6 * mgr advanced mgr/dashboard/RGW_API_SECRET_KEY 82Ln2K9GmQsV1iffJEfEpZtbM6TYPE6UItA8tjnf *
^^^ bare string - dashboard works
[after adding the relation]
# ceph config dump | grep 'dashboard.*KEY' mgr advanced mgr/dashboard/RGW_API_ACCESS_KEY {'juju-5e2cd5-0-lxd-2': '8OHNPOQMYY1FEUGAQZL2', 'juju-5e2cd5-1-lxd-3': '8OHNPOQMYY1FEUGAQZL2', 'juju-5e2cd5-2-lxd-2': '8OHNPOQMYY1FEUGAQZL2'} * mgr advanced mgr/dashboard/RGW_API_SECRET_KEY {'juju-5e2cd5-0-lxd-2': 'I8Gb46kpqCmdBdsCNEx5bhOuEwnOGEtIb73rOK8T', 'juju-5e2cd5-1-lxd-3': 'I8Gb46kpqCmdBdsCNEx5bhOuEwnOGEtIb73rOK8T', 'juju-5e2cd5-2-lxd-2': 'I8Gb46kpqCmdBdsCNEx5bhOuEwnOGEtIb73rOK8T'} *
^^^ dictionary - dashboard doesn't work with "Credentials not found for RGW Daemon"
And according to Samuel, due to the upstream change for Ceph >= 17 (Quincy), the dictionary the charm generates and the dictionary the ceph dashboard expects are different because of daemon_name vs realm_name. https://github.com/ceph/ceph/commit/0fcf0a7827cf4e8748a382613f9c8d1715c4a1e8#diff-93a9b99949ece1974c8b2d436c5cb0dea338a8352920418249de9b3ece1d156fL285-L297
> I can confirm this. But interestingly, it happens only after adding the expected relation: dashboard: radosgw- dashboard' , 'ceph-radosgw: radosgw- user']
>
> > - ['ceph-
>
> Before adding the relation the object gateway tab actually works.
At least on my test bed,
[before adding the relation]
# ceph config dump | grep 'dashboard.*KEY' RGW_API_ ACCESS_ KEY LWPYOAE08C0V3TL 820N6 * RGW_API_ SECRET_ KEY 82Ln2K9GmQsV1if fJEfEpZtbM6TYPE 6UItA8tjnf *
mgr advanced mgr/dashboard/
mgr advanced mgr/dashboard/
^^^ bare string - dashboard works
[after adding the relation]
# ceph config dump | grep 'dashboard.*KEY' RGW_API_ ACCESS_ KEY {'juju- 5e2cd5- 0-lxd-2' : '8OHNPOQMYY1FEU GAQZL2' , 'juju-5e2cd5- 1-lxd-3' : '8OHNPOQMYY1FEU GAQZL2' , 'juju-5e2cd5- 2-lxd-2' : '8OHNPOQMYY1FEU GAQZL2' } * RGW_API_ SECRET_ KEY {'juju- 5e2cd5- 0-lxd-2' : 'I8Gb46kpqCmdBd sCNEx5bhOuEwnOG EtIb73rOK8T' , 'juju-5e2cd5- 1-lxd-3' : 'I8Gb46kpqCmdBd sCNEx5bhOuEwnOG EtIb73rOK8T' , 'juju-5e2cd5- 2-lxd-2' : 'I8Gb46kpqCmdBd sCNEx5bhOuEwnOG EtIb73rOK8T' } *
mgr advanced mgr/dashboard/
mgr advanced mgr/dashboard/
^^^ dictionary - dashboard doesn't work with "Credentials not found for RGW Daemon"
And according to Samuel, due to the upstream change for Ceph >= 17 (Quincy), the dictionary the charm generates and the dictionary the ceph dashboard expects are different because of daemon_name vs realm_name. /github. com/ceph/ ceph/commit/ 0fcf0a7827cf4e8 748a382613f9c8d 1715c4a1e8# diff-93a9b99949 ece1974c8b2d436 c5cb0dea338a835 2920418249de9b3 ece1d156fL285- L297
https:/