Wrong Apache config file name on Debian

Bug #1950338 reported by Jan Hartkopf
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-placement
Fix Released
Critical
Unassigned

Bug Description

Puppet-placement expects the Apache config file to exist in /etc/apache2/sites-available/nova-placement-api.conf on Debian-based systems.

Since the placement-api package in Debian/Ubuntu replaced the older nova-placement-api package, the file was moved to /etc/apache2/sites-available/placement-api.conf.

Because puppet-placement still expects the old file location and removes placement-api.conf, the post-installation script of placement-api fails due to the missing file.
This occurs when updating the placement-api package and causes the whole update process to fail.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-placement (master)
Changed in puppet-placement:
status: New → In Progress
Changed in puppet-placement:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-placement (master)

Reviewed: https://review.opendev.org/c/openstack/puppet-placement/+/817244
Committed: https://opendev.org/openstack/puppet-placement/commit/467c0b0a4da61826d72e3af8f781b010ad519feb
Submitter: "Zuul (22348)"
Branch: master

commit 467c0b0a4da61826d72e3af8f781b010ad519feb
Author: Jan Hartkopf <email address hidden>
Date: Tue Nov 9 16:44:28 2021 +0100

    update file name for apache config on Debian

    The newer placement-api package on Debian and Ubuntu uses the
    updated file location.

    Closes-Bug: #1950338
    Signed-off-by: Jan Hartkopf <email address hidden>
    Change-Id: I6d81a14fb6842458e763dbd5ce494697768407c0

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

This issue was fixed in the openstack/puppet-placement 7.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-placement (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/puppet-placement/+/858134

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-placement (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/puppet-placement/+/858135

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-placement (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/puppet-placement/+/858134
Committed: https://opendev.org/openstack/puppet-placement/commit/bc3c0ce6e2240cce8e5960aec9c3cfbc8c1ba0a3
Submitter: "Zuul (22348)"
Branch: stable/xena

commit bc3c0ce6e2240cce8e5960aec9c3cfbc8c1ba0a3
Author: Jan Hartkopf <email address hidden>
Date: Tue Nov 9 16:44:28 2021 +0100

    update file name for apache config on Debian

    The newer placement-api package on Debian and Ubuntu uses the
    updated file location.

    Closes-Bug: #1950338
    Signed-off-by: Jan Hartkopf <email address hidden>
    Change-Id: I6d81a14fb6842458e763dbd5ce494697768407c0
    (cherry picked from commit 467c0b0a4da61826d72e3af8f781b010ad519feb)

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-placement (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/puppet-placement/+/858135
Committed: https://opendev.org/openstack/puppet-placement/commit/b3ae46fba117841fc324e6afb88d62fef32d5a04
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit b3ae46fba117841fc324e6afb88d62fef32d5a04
Author: Jan Hartkopf <email address hidden>
Date: Tue Nov 9 16:44:28 2021 +0100

    update file name for apache config on Debian

    The newer placement-api package on Debian and Ubuntu uses the
    updated file location.

    Closes-Bug: #1950338
    Signed-off-by: Jan Hartkopf <email address hidden>
    Change-Id: I6d81a14fb6842458e763dbd5ce494697768407c0
    (cherry picked from commit 467c0b0a4da61826d72e3af8f781b010ad519feb)
    (cherry picked from commit bc3c0ce6e2240cce8e5960aec9c3cfbc8c1ba0a3)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-placement 5.4.2

This issue was fixed in the openstack/puppet-placement 5.4.2 release.

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

This issue was fixed in the openstack/puppet-placement 6.4.1 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.