ceph-proxy requires 'admin' user specifically
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ceph-Proxy Charm |
Fix Released
|
Undecided
|
Chris MacNaughton |
Bug Description
My external Ceph cluster is provisioned with a user 'canonical' who has admin rights. ceph-proxy charm is configured with admin-user 'client.canonical'. The charm still reports errors because it specifically expects a user named 'admin' instead of (as configured) 'canonical'.
juju debug-log -i ceph-proxy/0
[...]
unit-ceph-proxy-0: 07:50:40 ERROR unit.ceph-
'admin' user is hardcoded in ceph-proxy charm in multiple places:
https:/
https:/
https:/
https:/
With my configuration of admin-user as 'client.canonical' I'd expect ceph-proxy charm to use 'canonical' user instead of 'admin' user.
MORE INFORMATION
juju config ceph-proxy admin-user
client.canonical
juju ssh ceph-proxy/0 ls -l /etc/ceph
total 8
-rw------- 1 ceph root 68 Sep 1 07:49 ceph.client.
lrwxrwxrwx 1 root root 27 Aug 31 13:47 ceph.conf -> /etc/alternativ
-rw-r--r-- 1 root root 92 Apr 21 15:36 rbdmap
juju ssh ceph-proxy/0 sudo ceph --id admin osd ls --format=json
[errno 2] RADOS object not found (error connecting to the cluster)
juju ssh ceph-proxy/0 sudo ceph --id canonical osd ls --format=json
[0,1,2,
Changed in charm-ceph-proxy: | |
status: | New → Confirmed |
milestone: | none → 20.08 |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
Fix proposed to branch: master /review. opendev. org/749982
Review: https:/