Created attachment 1315077[details]
File contains contents of inventory file, rgws.yml and ansible-playbook log
Description of problem:
Admin keyring was not copied to rgw node despite the variable copy_admin_key set to true in rgws.yml.
Version-Release number of selected component (if applicable):
ceph-ansible-2.2.11-1.el7scon.noarch
How reproducible:
Always (2/2)
Steps to Reproduce:
1. Configure ceph-ansible node to have a cluster with at least one rgw node
2. Set the variable copy_admin_key in rgws.yml to true.
3. Run ansible-playbook and check /etc/ceph in rgw node
Actual results:
admin keyring is not getting copied to rgw node
Expected results:
admin key must get copied to rgw node
Additional info:
User need to manually copy the keyring as a workaround. Observed that on OSD and MDS nodes setting copy_admin_key to true worked as expected
$ sudo cat /usr/share/ceph-ansible/group_vars/rgws.yml | egrep -v ^# | grep -v ^$
---
dummy:
copy_admin_key: true
rgw_containerized_deployment: true
# ls -l /etc/ceph
total 4
-rw-r--r--. 1 root root 734 Aug 17 08:43 bb.conf
Actually, I was wrong.
This is fixed already in the new version of 3.0.
Are you testing this in the context of 3.0? If so then you should use later 3.0rc packages.
Thanks!
@Ken, can you help with the package if necessary?
Seb.
We'd be happy to help, would you please Identify the upstream commit/PR that introduces the fix and we'll be able to set the fixed in version field so QE knows what's up.
cheers
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2017:3387
Created attachment 1315077 [details] File contains contents of inventory file, rgws.yml and ansible-playbook log Description of problem: Admin keyring was not copied to rgw node despite the variable copy_admin_key set to true in rgws.yml. Version-Release number of selected component (if applicable): ceph-ansible-2.2.11-1.el7scon.noarch How reproducible: Always (2/2) Steps to Reproduce: 1. Configure ceph-ansible node to have a cluster with at least one rgw node 2. Set the variable copy_admin_key in rgws.yml to true. 3. Run ansible-playbook and check /etc/ceph in rgw node Actual results: admin keyring is not getting copied to rgw node Expected results: admin key must get copied to rgw node Additional info: User need to manually copy the keyring as a workaround. Observed that on OSD and MDS nodes setting copy_admin_key to true worked as expected $ sudo cat /usr/share/ceph-ansible/group_vars/rgws.yml | egrep -v ^# | grep -v ^$ --- dummy: copy_admin_key: true rgw_containerized_deployment: true # ls -l /etc/ceph total 4 -rw-r--r--. 1 root root 734 Aug 17 08:43 bb.conf