it's not possible to change cinder or nova ceph client via user_variables for the ceph_client role
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Low
|
Marc Gariépy |
Bug Description
git tag used: f7d0a73 (tag: 13.1.3)
version of ansible : 1.9.4
step to reproduce the issue:
1- configure cinder to use ceph
2- change cinder ceph client: 'cinder_
3- run the playbook
root@server:
cinder.conf gets the correct value for rbd_user.
EXPECTED the retrieve keyring task to get the key for client.volumes, but it fails with trying to get client.cinder key instead.
--- logs ---
TASK: [ceph_client | Retrieve keyrings for openstack clients from ceph cluster] ***
skipping: [controller01_
<172.16.20.9> ESTABLISH CONNECTION FOR USER: root
<172.16.20.9> REMOTE_MODULE command ceph auth get client.cinder >/dev/null && ceph auth get-or-create client.cinder #USE_SHELL
<172.16.20.9> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=
<172.16.20.9> REMOTE_MODULE command ceph auth get client.cinder >/dev/null && ceph auth get-or-create client.cinder #USE_SHELL
<172.16.20.9> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=
Result from run 1 is: {u'cmd': u'ceph auth get client.cinder >/dev/null && ceph auth get-or-create client.cinder', u'end': u'2016-07-21 15:22:26.694645', u'stdout': u'', u'changed': True, 'attempts': 1, u'start': u'2016-07-21 15:22:26.352757', u'delta': u'0:00:00.341888', u'stderr': u'Error ENOENT: failed to find client.cinder in keyring', u'rc': 2, u'warnings': []}
<172.16.20.9> REMOTE_MODULE command ceph auth get client.cinder >/dev/null && ceph auth get-or-create client.cinder #USE_SHELL
<172.16.20.9> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=
Result from run 2 is: {u'cmd': u'ceph auth get client.cinder >/dev/null && ceph auth get-or-create client.cinder', u'end': u'2016-07-21 15:22:32.185656', u'stdout': u'', u'changed': True, 'attempts': 2, u'start': u'2016-07-21 15:22:31.842537', u'delta': u'0:00:00.343119', u'stderr': u'Error ENOENT: failed to find client.cinder in keyring', u'rc': 2, u'warnings': []}
<172.16.20.9> REMOTE_MODULE command ceph auth get client.cinder >/dev/null && ceph auth get-or-create client.cinder #USE_SHELL
<172.16.20.9> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=
Result from run 3 is: {u'cmd': u'ceph auth get client.cinder >/dev/null && ceph auth get-or-create client.cinder', u'end': u'2016-07-21 15:22:37.674596', u'stdout': u'', u'changed': True, 'attempts': 3, u'start': u'2016-07-21 15:22:37.332419', u'delta': u'0:00:00.342177', u'stderr': u'Error ENOENT: failed to find client.cinder in keyring', u'rc': 2, u'warnings': []}
failed: [controller01_
stderr: Error ENOENT: failed to find client.cinder in keyring
msg: Task failed as maximum retries was encountered
skipping: [controller01_
skipping: [controller01_
FATAL: all hosts have already failed -- aborting
--- end logs ---
proposed fix: https:/
Changed in openstack-ansible: | |
assignee: | nobody → Jesse Pretorius (jesse-pretorius) |
status: | New → In Progress |
Changed in openstack-ansible: | |
assignee: | Jesse Pretorius (jesse-pretorius) → nobody |
Changed in openstack-ansible: | |
assignee: | nobody → Marc Gariépy (mgariepy) |
Changed in openstack-ansible: | |
status: | In Progress → New |
Changed in openstack-ansible: | |
status: | New → Incomplete |
status: | Incomplete → New |
Fix proposed to branch: stable/mitaka /review. openstack. org/353420
Review: https:/