Puppet httpd config for the tripleo-ui conflicts with the package config

Bug #1628983 reported by Julie Pichon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Julie Pichon

Bug Description

When deploying with puppet, a httpd configuration file called 25-tripleo-ui.conf is created to handle the Apache configuration.

However when updating the tripleo-ui package, the package recreates its own configuration file under the name tripleo-ui.conf. This causes a conflict as the 2 vhosts end up trying to listen on the same port and httpd fails to restart.

This is something other projects have dealt with, like Horizon at https://github.com/openstack/puppet-horizon/blob/000a40/manifests/wsgi/apache.pp#L115-L128 : Puppet cleans up the package config but doesn't delete the file, so it's still there and doesn't get re-created on package update. I think we should do something similar.

Revision history for this message
Julie Pichon (jpichon) wrote :
Changed in tripleo:
status: Triaged → In Progress
tags: added: newton-backport-potential
Changed in tripleo:
milestone: none → newton-rc3
Revision history for this message
Julie Pichon (jpichon) wrote :

Newton backport proposed at https://review.openstack.org/#/c/381568/

Revision history for this message
Julie Pichon (jpichon) wrote :

Backport is merged.

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 5.3.0

This issue was fixed in the openstack/puppet-tripleo 5.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 6.0.0

This issue was fixed in the openstack/puppet-tripleo 6.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.