This project is now read‑only. Starting Monday, February 2, please use Jira Cloud for all bug tracking management.
Bug 1498583 - [ceph-ansible] : admin, mon, mgr keyrings being copied to all nodes of the cluster
Summary: [ceph-ansible] : admin, mon, mgr keyrings being copied to all nodes of the cl...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
: 3.0
Assignee: Guillaume Abrioux
QA Contact: Sidhant Agrawal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-04 16:45 UTC by Vasishta
Modified: 2017-12-05 23:46 UTC (History)
10 users (show)

Fixed In Version: RHEL: ceph-ansible-3.0.0-0.1.rc17 Ubuntu: ceph-ansible-3.0.0~rc17-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:46:42 UTC
Embargoed:


Attachments (Terms of Use)
File contains terminal log snippet, ansible-playbook log (1.17 MB, text/plain)
2017-10-04 16:45 UTC, Vasishta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 1988 0 None None None 2017-10-04 23:29:31 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Description Vasishta 2017-10-04 16:45:41 UTC
Created attachment 1334378 [details]
File contains terminal log snippet, ansible-playbook log

Description of problem:
client.admin keyring, mgr keyrings, monitor keyrings are getting copied to all nodes of the cluster. 
admin keyring is getting copied to all nodes irrespective of value set for copy_admin_key variable in respective yml files.

Version-Release number of selected component (if applicable):
ceph-ansible-3.0.0-0.1.rc15.el7cp.noarch

How reproducible:
Always

Steps to Reproduce:
1. Configure ceph-ansible to get a cluster up without setting any value for copy_admin_keyring in all yml files in group_vars.
2. Run playbook.


Actual results:
admin, mon, mgr keyrings being copied to all nodes of the cluster

Expected results:
Nodes must be having only keyrings needed to run the services running in that particular node.

(Attachment contains ansible log of the latest run which had only configured mgrs and terminal log snippet showcasing presence of all keyrings on all nodes irrespective of services running on particular node)

Comment 2 Guillaume Abrioux 2017-10-04 23:31:59 UTC
waiting for the PR upstream to be merged.

Comment 3 Guillaume Abrioux 2017-10-05 12:32:38 UTC
upstream fix : https://github.com/ceph/ceph-ansible/commit/70e2787fe2970f4e255d013cd51658ebf3125ea3

will be in rc17

Comment 6 Sidhant Agrawal 2017-10-30 11:35:05 UTC
Verified on ceph-ansible-3.0.6-1.el7cp.noarch.

Looks fine to me.

Comment 9 errata-xmlrpc 2017-12-05 23:46:42 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


Note You need to log in before you can comment on or make changes to this bug.