Migration 056 does not apply cleanly if there are DELETED stacks in the DB

Bug #1432795 reported by Randall Burt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Randall Burt

Bug Description

ERROR: (OperationalError) (1242, 'Subquery returns more than 1 row') 'UPDATE raw_template SET environment=(SELECT stack.parameters \nFROM stack \nWHERE raw_template.id = stack.raw_template_id)' ()

Excluding stacks with the DELETE action solves this issue

Changed in heat:
assignee: nobody → Randall Burt (randall-burt)
milestone: kilo-rc1 → kilo-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/164856

Angus Salkeld (asalkeld)
Changed in heat:
milestone: kilo-3 → kilo-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/164856
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=9b559905dda474ea2f88785288ab046a9316c50f
Submitter: Jenkins
Branch: master

commit 9b559905dda474ea2f88785288ab046a9316c50f
Author: Randall Burt <email address hidden>
Date: Mon Mar 16 15:25:47 2015 -0500

    Ignore migrating environments for deleted stacks

    Change-Id: I50b7a0f309922aa3c6ef63b9d27282e2adae4a6e
    Closes-Bug: 1432795

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-rc1 → 2015.1.0
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.