Bug 1289667

Summary: aodh removes keystone configuration when manifest is applied (resulting in keystone 404's)
Product: [Community] RDO Reporter: David Moreau Simard <dmsimard>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED DUPLICATE QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: aortega, apevec, derekh, ichavero, srevivo, yeylon
Target Milestone: ---   
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 17:23:52 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:
Attachments:
Description Flags
Example OSC keystone 404
none
Puppet excerpt of keystone being set up properly
none
Puppet excerpt of aodh removing keystone configuration none

Description David Moreau Simard 2015-12-08 16:38:40 UTC
After a complete mitaka packstack installation, there are no errors from the installation dialog.

However, when I want to use the packstack installation, I sourced the keystonerc file and noticed there would be keystone 404's - therefore I could not do anything.

In Mitaka, both keystone and aodh are set to run as wsgi under Apache.

When the aodh manifest runs, it removes the apache configuration that was previously set for keystone.

This is likely due to be because of the default puppet-apache behavior to purge configuration it doesn't know about. Since keystone and aodh both run in separate manifest files, they each have their own catalog and therefore don't know about each other - resulting in configuration purge.

Comment 1 David Moreau Simard 2015-12-08 16:39:10 UTC
Created attachment 1103649 [details]
Example OSC keystone 404

Comment 2 David Moreau Simard 2015-12-08 16:39:48 UTC
Created attachment 1103650 [details]
Puppet excerpt of keystone being set up properly

Comment 3 David Moreau Simard 2015-12-08 16:40:39 UTC
Created attachment 1103651 [details]
Puppet excerpt of aodh removing keystone configuration

Comment 4 David Moreau Simard 2015-12-08 16:49:56 UTC
Ooops, this was found when testing the unmerged review https://review.openstack.org/#/c/251988/.

Comment 5 Ivan Chavero 2015-12-08 17:05:15 UTC
it seems that the aodh puppet module is not calling the apache class with the "purge_configs => false" directive, this might be an openstack-puppet-modules bug

Comment 6 Alan Pevec 2015-12-08 17:07:45 UTC
(In reply to David Moreau Simard from comment #4)
> Ooops, this was found when testing the unmerged review
> https://review.openstack.org/#/c/251988/.

ok, I'll close is dup of bug 1285314 to keep discussion in one place.

Comment 7 Alan Pevec 2015-12-08 17:23:52 UTC

*** This bug has been marked as a duplicate of bug 1285314 ***