Activity log for bug #1769196

Date Who What changed Old value New value Message
2018-05-04 15:53:34 Peter Sabaini bug added bug
2018-05-04 15:54:17 Peter Sabaini description When removing a cinder-ceph storage backend relation we ended up with a env var override for the cinder service that referenced the non-existing ceph authx key from cinder-ceph Detail: 1. Pre-existing cinder service configured for rbd backend 2. Added a cinder-ceph service foo-storage and relate to cinder 3. Removed relation cinder - cinder-ceph This reconfigured the original rbd backend in cinder.conf, however it left an override for ceph authx behind: cat /etc/init/cinder-volume.override env CEPH_ARGS="--id foo-storage" As the foo-storage key doesn't exist at this point the cinder-volume service errored out with (redacted): 2018-05-04 14:22:19.576 4010160 ERROR cinder.volume.manager [req-fd6ff4fd-f041-47c7-a2da-144ea353fef9 8bb46780e82b40c594476a7609b1b88f 5f182a7b537a4aa7b40832ed4bbbfbed - - -] Driver initialize connection failed (error: Unexpected error while running command. Command: ceph mon dump --format=json --id cinder --cluster ceph Exit code: 1 Stdout: u'' Stderr: u'2018-05-04 14:22:19.561548 7ff990749700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.foo-storage.keyring: (2) No such file or directory\n2018-05-04 14:22:19.561560 7ff990749700 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication\n2018-05-04 14:22:19.5 61562 7ff990749700 0 librados: client.foo-storage initialization error (2) No such file or directory\nError connecting to cluster: ObjectNotFound\n'). Afaict those env settings are done on ceph-relation-changed in set_ceph_env_variables() When removing a cinder-ceph storage backend relation we ended up with a env var override for the cinder service that referenced the non-existing ceph authx key from cinder-ceph Detail: 1. Pre-existing cinder service configured for rbd backend 2. Added a cinder-ceph service foo-storage and relate to cinder 3. Removed relation cinder - cinder-ceph This reconfigured the original rbd backend in cinder.conf, however it left an override for ceph authx behind: cat /etc/init/cinder-volume.override env CEPH_ARGS="--id foo-storage" As the foo-storage key doesn't exist at this point the cinder-volume service errored out with (redacted): 2018-05-04 14:22:19.576 4010160 ERROR cinder.volume.manager [req-fd6ff4fd-f041-47c7-a2da-144ea353fef9 8bb46780e82b40c594476a7609b1b88f 5f182a7b537a4aa7b40832ed4bbbfbed - - -] Driver initialize connection failed (error: Unexpected error while running command. Command: ceph mon dump --format=json --id cinder --cluster ceph Exit code: 1 Stdout: u'' Stderr: u'2018-05-04 14:22:19.561548 7ff990749700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.foo-storage.keyring: (2) No such file or directory\n2018-05-04 14:22:19.561560 7ff990749700 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication\n2018-05-04 14:22:19.5 61562 7ff990749700 0 librados: client.foo-storage initialization error (2) No such file or directory\nError connecting to cluster: ObjectNotFound\n'). Afaict those env settings are done on ceph-relation-changed in set_ceph_env_variables() Version info: 17.08 charms on a trusty/mitaka cloud.
2018-05-04 15:54:33 Peter Sabaini bug added subscriber The Canonical Sysadmins
2018-05-04 15:54:48 Peter Sabaini bug added subscriber Legacy - Canonical WTFB
2018-05-10 08:25:03 James Page summary Mult. backends and ceph authentication broken authentication when using multiple ceph backends on a single cinder application
2018-05-10 08:25:13 James Page bug task added charm-cinder-ceph
2018-05-10 08:25:18 James Page charm-cinder: status New Triaged
2018-05-10 08:25:20 James Page charm-cinder-ceph: status New Triaged
2018-05-10 08:25:22 James Page charm-cinder: importance Undecided High
2018-05-10 08:25:24 James Page charm-cinder-ceph: importance Undecided High
2018-05-10 08:25:26 James Page charm-cinder: milestone 18.05
2018-05-10 08:25:27 James Page charm-cinder-ceph: milestone 18.05
2018-05-10 08:25:30 James Page charm-cinder: assignee James Page (james-page)
2018-05-10 08:25:33 James Page charm-cinder-ceph: assignee James Page (james-page)
2018-05-10 10:41:40 OpenStack Infra charm-cinder: status Triaged In Progress
2018-05-10 10:51:47 OpenStack Infra charm-cinder-ceph: status Triaged In Progress
2018-05-11 13:31:48 OpenStack Infra charm-cinder: status In Progress Fix Committed
2018-05-11 13:32:27 OpenStack Infra charm-cinder-ceph: status In Progress Fix Committed
2018-06-11 22:12:41 David Ames charm-cinder: status Fix Committed Fix Released
2018-06-11 22:12:49 David Ames charm-cinder-ceph: status Fix Committed Fix Released