Bug 1312765

Summary: OSPD failed to update external Ceph user
Product: Red Hat OpenStack Reporter: Yogev Rabl <yrabl>
Component: puppet-cephAssignee: Giulio Fidente <gfidente>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0 (Liberty)CC: gfidente, hbrock, jjoyce, jomurphy, jschluet, jslagle, mburns, rhel-osp-director-maint, slinaber, srevivo, tshefi, tvignaud
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: puppet-ceph-2.3.0-2.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-28 14:44:12 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:

Description Yogev Rabl 2016-02-29 09:07:32 UTC
Description of problem:
The external Ceph user, located on the OSP servers in /etc/ceph/... key needed an update on the running setup. I changed the parameter CephClientKey in ../openstack-tripleo-heat-templates/environment/puppet-ceph-external.yaml  and ran OSPD with the command

# openstack overcloud deploy --templates openstack-tripleo-heat-templates/ -e openstack-tripleo-heat-templates/environments/puppet-ceph-external.yaml .. 

The deployment changed successfully, according to Heat, but the parameter in /etc/ceph/ceph.client... didn't change

Version-Release number of selected component (if applicable):
python-tripleoclient-0.1.1-2.el7ost.noarch
openstack-tripleo-heat-templates-0.8.7-12.el7ost.noarch
openstack-tripleo-common-0.1.1-1.el7ost.noarch
openstack-tripleo-puppet-elements-0.0.2-1.el7ost.noarch
openstack-tripleo-heat-templates-kilo-0.8.7-12.el7ost.noarch
openstack-tripleo-image-elements-0.9.7-2.el7ost.noarch
openstack-tripleo-0.0.7-1.el7ost.noarch


How reproducible:
unknown

Steps to Reproduce:
1. Deploy OSP with external Ceph 
2. Change a parameter in the external ceph environment YAML file
3. Rerun the deployment

Actual results:
The external Ceph user's parameters didn't change

Expected results:
The Ceph client parameters should be updated according to the latest parameters

Additional info:

Comment 2 Mike Burns 2016-04-07 21:11:06 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 4 Giulio Fidente 2016-11-29 20:30:17 UTC
I think this bug has been fixed in OSPd10, can we re-test it?

Comment 5 Giulio Fidente 2016-11-29 20:32:17 UTC
*** Bug 1361862 has been marked as a duplicate of this bug. ***

Comment 6 Yogev Rabl 2016-12-02 23:50:44 UTC
Verification failed in openstack-puppet-modules-9.3.0-1.el7ost.noarch

Comment 11 Tzach Shefi 2017-03-23 12:02:16 UTC
Verified 
puppet-ceph-2.3.0-2.el7ost.noarch

Installed with OSPD with external CEPH yaml file. 
Yaml file included 3 monitor IPs. 
Deployment finished, successfully created a Cinder volume. 
/etc/ceph/ceph.conf included all three monitor IPs. 

Then removed one monitor from CEPH yaml file, left with only two IPs. 
Redeployed overcloud, system finished deployment. 
Cinder create/list works fine. 
/etc/ceph/ceph.conf  now only includes two monitor IPs. 

Lookng great update on yaml file were pushed ceph.conf.

Comment 13 errata-xmlrpc 2017-06-28 14:44:12 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:1585