Upgrading to tht with removed old update logic is broken

Bug #1758014 reported by Jiří Stránský
6
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::Tasks::UpdateWorkflow) could not be found.

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.

Tags: upgrade
description: updated
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/555250
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=d9e4d838aa28997f4021fd778f402c7afc0304a6
Submitter: Zuul
Branch: master

commit d9e4d838aa28997f4021fd778f402c7afc0304a6
Author: Jiri Stransky <email address hidden>
Date: Thu Mar 22 11:58:59 2018 +0100

    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

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.0.0.0b2

This issue was fixed in the openstack/tripleo-heat-templates 9.0.0.0b2 development milestone.

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.