Going from single ceph to three ceph units clobbers the 'ceph.client.admin.keyring'

Bug #1748549 reported by James Hilling
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Juju Charms Collection)
New
Undecided
Unassigned

Bug Description

When adding additional ceph units to a single ceph deployment, and changing the 'expected_mons' value from '1' to '3', this causes 'ceph.client.admin.keyring' to get updated with invalid credentials on the original ceph unit.

Example: adding additional ceph units to machines '3' and '4':

$ juju add-unit --to=lxc:3 ceph
$ juju add-unit --to=lxc:4 ceph
$ juju service set ceph monitor-count=3

`ceph status` output from each ceph unit:
________

2018-02-09 18:09:51.294276 7f8fd7d4f700 0 librados: client.admin authentication error (1) Operation not permitted
Error connecting to cluster: PermissionError

2018-02-09 18:09:52.953990 7fe0c54f9700 0 librados: client.admin authentication error (1) Operation not permitted
Error connecting to cluster: PermissionError

2018-02-09 18:09:53.622467 7f8d12177700 0 librados: client.admin authentication error (1) Operation not permitted
Error connecting to cluster: PermissionError
________

description: updated
summary: - Going from a one ceph to three cephs clobbers
+ Going from single ceph to three ceph units clobbers the
'ceph.client.admin.keyring'
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.