Upgrading to tht with removed old update logic is broken
Bug #1758014 reported by
Jiří Stránský
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Jiří Stránský |
Bug Description
Upgrading to master fails on prepare step with:
ERROR: The Resource Type (OS::TripleO:
We do patch updates to resource registry, so when upgrading, we need to make sure that we map no longer used resource types to OS::Heat::None.
description: | updated |
Changed in tripleo: | |
status: | Triaged → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/555250 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=d9e4d838aa2 8997f4021fd778f 402c7afc0304a6
Committed: https:/
Submitter: Zuul
Branch: master
commit d9e4d838aa28997 f4021fd778f402c 7afc0304a6
Author: Jiri Stransky <email address hidden>
Date: Thu Mar 22 11:58:59 2018 +0100
Allow stacks to remove old update resources
Change I6c5eafe76eb53b c38d100a9ba132d d8fe6dd2d5f removed old
update-related resources, but it seems that we need to do such removal
in two steps to allow smooth transition for existing stacks: first
remove them from the stack, and only then completely remove the
mapping from resource registry. If we try to do both at the same time,
we get:
ERROR: The Resource Type (OS::TripleO: :Tasks: :UpdateWorkflow ) could
not be found.
So we'll need to keep these resource registry entries around (even
though mapped to OS::Heat::None) for the Rocky cycle still. They can
be removed in S.
Change-Id: I866e659bd373df b2816508165b7f3 abb9580e2d0
Closes-Bug: #1758014