Comment 11 for bug 1665149

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

Quite strange, it looks like ceph-0 successfully ran the command to create that key:

2017-02-15 19:19:57 DEBUG juju-log osd:50: Calling subprocess.check_output: ['sudo', '-u', 'ceph', 'ceph', '--name', 'mon.', '--keyring', '/var/lib/ceph/mon/ceph-thump/keyring', 'auth', 'get-or-create', 'client.osd-upgrade', 'mon', 'allow command "config-key"; allow command "osd tree"; allow command "config-key list"; allow command "config-key put"; allow command "config-key get"; allow command "config-key exists"; allow command "osd out"; allow command "osd in"; allow command "osd rm"; allow command "auth del"']

This was called within the get_named_key function. I have changed that function recently but the logs indicate that it progressed through that function correctly, given that there was no existing key for it.

I'm still digging into why the command, rather than the key, was sent over the relation