Stack inconsistency after app deletion

Bug #1339630 reported by Serg Melikyan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Serg Melikyan

Bug Description

To expose IP addresses of Instance in MuranoPL we place new entry to outputs section in Heat template that reference corresponding OS::Nova::Server resource. During clean-up stage, if some application was deleted from environment, we remove corresponding OS::Nova::Server resource, but reference in outputs section stays. Stack with reference to resource that is not present in template is invalid - environment deployment fails.

{"explanation": "The server has either erred or is incapable of performing the requested operation.", "code": 500, "error": {"message": "The Referenced Attribute (testMurano addresses) is incorrect.", "traceback": ... }

Changed in murano:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Serg Melikyan (smelikyan)
milestone: none → juno-2
summary: - Stack becames inconsistent after deleting instance
+ Stack inconsistency after app deletion
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

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

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

Reviewed: https://review.openstack.org/105686
Committed: https://git.openstack.org/cgit/stackforge/murano/commit/?id=4da6c43dd2bd2ddd8edf4266d4794a4395aa5f34
Submitter: Jenkins
Branch: master

commit 4da6c43dd2bd2ddd8edf4266d4794a4395aa5f34
Author: Serg Melikyan <email address hidden>
Date: Wed Jul 9 15:56:06 2014 +0400

    Fix stack inconsistency after app deletion

    To expose IP addresses of Instance in MuranoPL we place new entry to
    outputs section in Heat template that reference corresponding
    OS::Nova::Server resource. During clean-up stage, if some application
    was deleted from environment, we remove corresponding OS::Nova::Server
    resource, but reference in outputs section stays.

    Stack with reference to resource that is not present in template is
    invalid - environment deployment fails.

    This change add code that removes references to OS::Nova::Server when
    corresponding Instance is deleted.

    Attention: this change fix issue that can break murano-ci gate

    Closes-bug: #1339630
    Co-Authored-By: Stan Lagun <email address hidden>
    Change-Id: I74d32034969dd7f554d74fac87f407388e52dd7e

Changed in murano:
status: In Progress → Fix Committed
Changed in mos:
milestone: none → 5.1
assignee: nobody → MOS Murano (mos-murano)
importance: Undecided → High
no longer affects: mos
ruhe (ruhe)
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: juno-2 → 2014.2
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.