Bug 1441736

Summary: aodh api services configured via wsgi causes httpd restart on updates
Product: Red Hat OpenStack Reporter: Alex Schultz <aschultz>
Component: puppet-tripleoAssignee: Alex Schultz <aschultz>
Status: CLOSED ERRATA QA Contact: Sasha Smolyak <ssmolyak>
Severity: high Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: emacchi, jjoyce, jschluet, mburns, rhel-osp-director-maint, slinaber, ssmolyak, tvignaud
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-tripleo-5.5.0-14.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1441738 1441760 (view as bug list) Environment:
Last Closed: 2017-06-28 14:48: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:
Embargoed:
Bug Depends On: 1441738, 1441760, 1441769    
Bug Blocks: 1421883    

Description Alex Schultz 2017-04-12 15:09:13 UTC
Description of problem:
The aodh deployment via wsgi is configured in step4 of the deployment process but httpd is configured in step3 so during updates httpd is restarted multiple times on controllers.

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-5.2.0-3.el7ost.noarch.rpm

Comment 2 Alex Schultz 2017-04-12 15:51:02 UTC
Apr 12 15:15:41 controller-0.localdomain os-collect-config[2943]: Notice: /Stage[main]/Ceilometer::Wsgi::Apache/Openstacklib::Wsgi::Apache[ceilometer_wsgi]/Apache::Vhost[ceilometer_wsgi]/Concat[10-ceilometer_wsgi.
conf]/File[/etc/httpd/conf.d/10-ceilometer_wsgi.conf]/ensure: defined content as '{md5}45b331cf31210337fd568611305f4a0e'
Apr 12 15:15:41 controller-0.localdomain os-collect-config[2943]: Notice: /Stage[main]/Gnocchi::Wsgi::Apache/Openstacklib::Wsgi::Apache[gnocchi_wsgi]/Apache::Vhost[gnocchi_wsgi]/Concat[10-gnocchi_wsgi.conf]/File[/
etc/httpd/conf.d/10-gnocchi_wsgi.conf]/ensure: defined content as '{md5}d67ebc0785f2ed89f6989633c596fac8'
Apr 12 15:15:41 controller-0.localdomain os-collect-config[2943]: Notice: /Stage[main]/Aodh::Wsgi::Apache/Openstacklib::Wsgi::Apache[aodh_wsgi]/Apache::Vhost[aodh_wsgi]/Concat[10-aodh_wsgi.conf]/File[/etc/httpd/co
nf.d/10-aodh_wsgi.conf]/ensure: defined content as '{md5}34e8afb9835d293887502c75e7a68cee'


On 10 it looks like there might be more than just the aodh patch from upstream.

Comment 3 Alex Schultz 2017-04-20 21:39:35 UTC
Need to pull in ceilometer and gnocchi changes in a different bug. This one captures just the aodh fix.

Comment 9 Alex Schultz 2017-06-09 20:10:59 UTC
Verified aodh services are no longer removed during step3 of an update. 

puppet-tripleo-5.6.0-3.el7ost.noarch


As mentioned in Comment 3, it should be noted that gnocchi and ceilometer still are being restarted but that is not captured by this bug

Comment 11 errata-xmlrpc 2017-06-28 14:48: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-2017:1585