Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use Jira Cloud for all bug tracking management.

Bug 1482822

Summary: [ceph-ansible] [ceph-container] : admin keyring must be copied to rgw node if copy_admin_key is set to true
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.4CC: adeza, aschoen, ceph-eng-bugs, ceph-qe-bugs, gmeno, hnallurv, icolle, kdreyer, nthomas, sankarshan, seb, shan
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.0.0-0.1.rc3.el7cp Ubuntu: ceph-ansible_3.0.0~rc3-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:39:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File contains contents of inventory file, rgws.yml and ansible-playbook log none

Description Vasishta 2017-08-18 07:32:16 UTC
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

Comment 2 seb 2017-08-23 08:22:27 UTC
You're right, pr here: https://github.com/ceph/ceph-ansible/pull/1794

Comment 3 seb 2017-08-25 11:22:41 UTC
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?

Comment 4 Christina Meno 2017-08-25 21:09:59 UTC
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

Comment 5 seb 2017-08-28 08:57:51 UTC
Greg, just add the corresponding PR, the precise commit is: ddfe01934242a86c87789f734b7be88da0080247

Comment 10 errata-xmlrpc 2017-12-05 23:39:47 UTC
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