Bug 1460006
Summary: | [OSP8] [HEAT] Resource dependencies not honored on stack update with deleted resources. | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Harald Jensås <hjensas> |
Component: | openstack-heat | Assignee: | Zane Bitter <zbitter> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Amit Ugol <augol> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.0 (Liberty) | CC: | hjensas, mburns, rhel-osp-director-maint, sbaker, shardy, srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-09-29 08:02:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Harald Jensås
2017-06-08 19:48:21 UTC
We do not ship, and have never shipped, OS::GroupBasedPolicy:: resources in Heat (not even upstream), and I have never seen the source for these resources. There is no openstack-heat-gbp package in RHOS. There is no way we can support this. Explicit dependencies like this not being honoured is something that we never see in Heat - that part of the code is extremely robust and well-tested - so I suspect problems with the unsupported plugins. Looking at the logs, it appears to be failing when deleting a backup resource (i.e. the original resource has been replaced, and then a failure occurs subsequently so that downstream resources are not updated to point to the replacement, and then rollback either fails or is disabled). Usually this will just work correctly on the next update, since we swap the backup resource and the current resource before trying to delete the backup stack - see https://launchpadlibrarian.net/175881721/reason.pdf The latest RHOS 8 Heat version is 5.0.3-2, so the first thing to try is to update to that. Thanks Zane for looking at this. The OS::GroupBasedPolicy:: resources is indeed not shipped by Red Hat, these are shipped by Cisco as part of their ACI/APIC integration. We have already a case opened by the customer with the provider of the openstack-heat-gbp package to investigate the third party plugins. The GroupBasedPolicy plug-ins code is: https://github.com/openstack/group-based-policy-automation/tree/master/gbpautomation/heat Doing another update did not help in this case. I will suggest the customer to update Heat. How did this work out? Can we close this now? The support ticket was escalated to 3rd party integrator. Additional information on what templates was used to create and do subsequent stack updates before the failure was requested. But these where never provided. I will close this with "insufficent_data". |