Allow stacks to remove old update resources

Change I6c5eafe76eb53bc38d100a9ba132dd8fe6dd2d5f 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: I866e659bd373dfb2816508165b7f3abb9580e2d0
Closes-Bug: #1758014
This commit is contained in:
Jiri Stransky 2018-03-22 11:58:59 +01:00
parent b8044a36b6
commit d9e4d838aa
1 changed files with 5 additions and 0 deletions

View File

@ -342,6 +342,11 @@ resource_registry:
# Tempest
OS::TripleO::Services::Tempest: OS::Heat::None
# Deprecated, only defined to allow smooth transition of existing
# stacks. Can be removed in S release.
OS::TripleO::Tasks::UpdateWorkflow: OS::Heat::None
OS::TripleO::Tasks::PackageUpdate: OS::Heat::None
parameter_defaults:
EnablePackageInstall: false
SoftwareConfigTransport: POLL_TEMP_URL