package update dependency cycles in puppet-tripleo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Emilien Macchi |
Bug Description
The way that packages.pp from puppet-tripleo is expressing dependency chains for the yum upgrade is not working.
What if your Puppet manifests/modules have something like:
Service[
By this code, we're exposed to dependency cycles and we don't want that.
See this test with TripleO:
Exec[
The problem here is that puppet-neutron says: "OVS service needs to run before installing+
Service['ovs'] -> Package[
because of the require "vswitch::ovs" in puppet-neutron.
We have two options I think:
patch puppet-neutron to improve orchestration and be more cool with the requirements. There is a risk we have this situation in other modules!
change this chain (L66) to make it more flexible with less risk of cycle dependency issue.
I'm about to provide a patch in master for solution #2, and I'll WIP it. Feel free to look.
[1] https:/
Changed in tripleo: | |
assignee: | nobody → James Slagle (james-slagle) |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in tripleo: | |
status: | Confirmed → Fix Released |
Changed in tripleo: | |
milestone: | ocata-1 → newton-rc3 |
Changed in tripleo: | |
status: | Triaged → Fix Released |
proposed fix in puppet-tripleo: https:/ /review. openstack. org/#/c/ 268388