certificate folders should be created after package

Bug #1804883 reported by Tobias Urdin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-octavia
Fix Released
Undecided
Tobias Urdin

Bug Description

Error: Cannot create /etc/octavia/certs; parent directory /etc/octavia does not exist
Error: /Stage[main]/Octavia::Certificates/File[/etc/octavia/certs]/ensure: change from 'absent' to 'directory' failed: Cannot create /etc/octavia/certs; parent directory /etc/octavia does not exist

If you set certificate folder to something that depends on /etc/octavia it fails because it doesn't get executed after package installs

Changed in puppet-octavia:
assignee: nobody → Tobias Urdin (tobias-urdin)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-octavia (master)

Reviewed: https://review.openstack.org/619797
Committed: https://git.openstack.org/cgit/openstack/puppet-octavia/commit/?id=768d2900eb3e0e11ecbbadc2095c6659531ff2fc
Submitter: Zuul
Branch: master

commit 768d2900eb3e0e11ecbbadc2095c6659531ff2fc
Author: Tobias Urdin <email address hidden>
Date: Fri Nov 23 21:05:56 2018 +0100

    Create certificates are package installs

    When setting certificate folders to /etc/octavia/certs
    or similar that depends on /etc/octavia folder the resource
    will fail because it doesn't create the whole folder path
    recursively.

    This changes the dependency chaining to make sure that
    certificates are modified after package installs so that
    the /etc/octavia folder for example is available.

    Closes-Bug: 1804883
    Change-Id: I551053b96fde110478945955f3d7dc42bf3e65ef

Changed in puppet-octavia:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-octavia (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/620422

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

Reviewed: https://review.openstack.org/620422
Committed: https://git.openstack.org/cgit/openstack/puppet-octavia/commit/?id=bf0dd74190dfc39b5c3d88eff1dcb9feb5974e60
Submitter: Zuul
Branch: stable/rocky

commit bf0dd74190dfc39b5c3d88eff1dcb9feb5974e60
Author: Tobias Urdin <email address hidden>
Date: Fri Nov 23 21:05:56 2018 +0100

    Create certificates are package installs

    When setting certificate folders to /etc/octavia/certs
    or similar that depends on /etc/octavia folder the resource
    will fail because it doesn't create the whole folder path
    recursively.

    This changes the dependency chaining to make sure that
    certificates are modified after package installs so that
    the /etc/octavia folder for example is available.

    Closes-Bug: 1804883
    Change-Id: I551053b96fde110478945955f3d7dc42bf3e65ef
    (cherry picked from commit 768d2900eb3e0e11ecbbadc2095c6659531ff2fc)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-octavia 14.2.0

This issue was fixed in the openstack/puppet-octavia 14.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-octavia rocky-eol

This issue was fixed in the openstack/puppet-octavia rocky-eol 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.