Bug 1386091

Summary: [ceph-iscsi-ansible]: RFE :Dedicated gateway node will not have ceph.conf file present
Product: Red Hat Storage Console Reporter: Tejas <tchandra>
Component: ceph-ansibleAssignee: Paul Cuzner <pcuzner>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2CC: adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, kdreyer, nthomas, sankarshan
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-iscsi-ansible-1.3-1.el7scon ceph-iscsi-config-1.3-1.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-22 23:41:28 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:

Description Tejas 2016-10-18 06:43:37 UTC
Description of problem:
     When we install an iscsi gateway on a dedicated node(non colocated), this node will not have the ceph.conf and admin keyring.
Cuurently we copy the admin keyring from the Seed_mon to the gateway node.
However the ceph.conf file is not copied.
Can we add a step to  check for the ceph.conf availability on the gateway node, and copy it from the seed_mon?

Version-Release number of selected component (if applicable):
ceph-ansible-1.0.5-36.el7scon.noarch
ceph-iscsi-ansible-1.2-1.el7scon.noarch

How reproducible:
Always

Comment 4 Paul Cuzner 2016-10-19 03:52:19 UTC
Looking at ways to achieve this.

The synchronize module could be used, but this means the mons need rsync - which may not be ideal.

Comment 6 Paul Cuzner 2016-10-21 05:42:54 UTC
please retest with v1.3. The playbook now installs ceph-common which creates /etc/ceph and then populates the directory from the seed monitor

Comment 7 Tejas 2016-10-25 03:32:54 UTC
Verified in version:
ceph-iscsi-config-1.3-1.el7cp.noarch
ceph-iscsi-ansible-1.3-1.el7cp.noarch

Comment 9 errata-xmlrpc 2016-11-22 23:41:28 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-2016:2817