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

Bug #1628983 reported by Julie Pichon on 2016-09-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
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.

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

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

Julie Pichon (jpichon) wrote :

Backport is merged.

Changed in tripleo:
status: In Progress → Fix Released

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

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  Edit
Everyone can see this information.

Other bug subscribers