Bug 1469426

Summary: Support clients configuration with external Ceph clusters
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Giulio Fidente <gfidente>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Giulio Fidente <gfidente>
Severity: high Docs Contact:
Priority: high    
Version: 3.0CC: adeza, anharris, aschoen, ceph-eng-bugs, gabrioux, gfidente, gmeno, hnallurv, icolle, johfulto, kdreyer, nthomas, sankarshan, sasha, seb
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.0.0-0.1.rc7.el7cp Ubuntu: ceph-ansible_3.0.0~rc7-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:35:34 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:
Bug Depends On:    
Bug Blocks: 1386911, 1472811    

Description Giulio Fidente 2017-07-11 09:02:58 UTC
Description of problem:
It is important for the integration in TripleO that we allow for configuration of the clients without configuring other roles.

In this scenario the list of mons and the fsid will be given by the user as input and, together with keys:, should make it possible to configure a client without requiring access to the mons role.

Comment 3 Ken Dreyer (Red Hat) 2017-07-24 17:06:55 UTC
That commit is not yet on master.

Comment 5 Giulio Fidente 2017-08-18 09:58:15 UTC
Guillaume do we need to merge https://github.com/ceph/ceph-ansible/pull/1749 as well to be able to use the new feature?

Comment 6 Ken Dreyer (Red Hat) 2017-08-28 22:08:08 UTC
Sebastien, Giulio, would you please confirm this BZ is completely resolved in master today?

Comment 7 seb 2017-08-29 07:20:55 UTC
Ken, https://github.com/ceph/ceph-ansible/pull/1749 should have fixed that, we need to test now.

Comment 10 Harish NV Rao 2017-08-30 12:05:33 UTC
@Seb, couple of questions:
1) Is this fix going to be in Ubuntu based ceph-ansible also?
2) What is the input format to specify clients to be configured?

Comment 11 seb 2017-08-30 12:38:09 UTC
@Harish, the fix will work for both Ubuntu and Red Hat systems.
To configure a client just add a [clients] section in your inventory with the hostname you want to be become a client.

Comment 12 John Fulton 2017-09-01 20:43:09 UTC
I am adding this issue as a dependency here. Because of this issue I propose this get moved back to ASSIGNED though I am happy to try to send a PR to address it next. 

 https://github.com/ceph/ceph-ansible/issues/1848

Comment 13 John Fulton 2017-09-02 02:56:26 UTC
I was able to deploy an overcloud, whose client configuration was done by ceph-ansible, which successfully uses external ceph clusters (able to create cinder volumes and upload glance images) by using the following: 

- https://github.com/ceph/ceph-ansible/pull/1850
- https://review.openstack.org/#/q/topic:bug/1714271

Comment 14 John Fulton 2017-09-07 16:30:00 UTC
I am setting this to POST as the following upstream changes have merged.

- https://github.com/ceph/ceph-ansible/pull/1850
- https://review.openstack.org/#/q/topic:bug/1714271

Comment 15 Ken Dreyer (Red Hat) 2017-09-07 16:37:01 UTC
Would you please tag and announce a new upstream version with this change so we can rebase to it downstream?

Comment 22 errata-xmlrpc 2017-12-05 23:35:34 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