Don't delete trust on update

Bug #1271968 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Steven Hardy
Havana
Fix Released
High
Zhang Yang

Bug Description

When doing a stack update with deferred_auth_method=trusts, the trust gets deleted when deleting the backup stack.

This means all deferred operations after the update fail, so we should only delete the trust when the original stack gets deleted, not when deleting the backup stack.

Steven Hardy (shardy)
Changed in heat:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Steven Hardy (shardy)
milestone: none → icehouse-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/68668

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

Reviewed: https://review.openstack.org/68668
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=8ce9a177c47b3ee224200690d7181c784c418292
Submitter: Jenkins
Branch: master

commit 8ce9a177c47b3ee224200690d7181c784c418292
Author: Steven Hardy <email address hidden>
Date: Thu Jan 23 13:55:53 2014 +0000

    Don't delete trust on backup stack delete

    Since the trust_id is copied from the stack being backed-up, we
    don't want to delete the trust when the backup is deleted, or
    the actual stack will break when the next deferred auth operation
    occurs.

    Closes-Bug: #1271968
    Change-Id: I2b971fad7e010469cbb8a9c9ed326d89e92f2197

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/80215

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (stable/havana)

Reviewed: https://review.openstack.org/80215
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=527009d0e4a73481459a5246e898390fb432d612
Submitter: Jenkins
Branch: stable/havana

commit 527009d0e4a73481459a5246e898390fb432d612
Author: Steven Hardy <email address hidden>
Date: Thu Jan 23 13:55:53 2014 +0000

    Don't delete trust on backup stack delete

    Since the trust_id is copied from the stack being backed-up, we
    don't want to delete the trust when the backup is deleted, or
    the actual stack will break when the next deferred auth operation
    occurs.

    Closes-Bug: #1271968
    (cherry picked from commit 8ce9a177c47b3ee224200690d7181c784c418292)

    Conflicts:

     heat/engine/parser.py

    Change-Id: I578d4e373d425cc0452ae235637cc50bac455433

tags: added: in-stable-havana
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-3 → 2014.1
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.