StackManager.list() returns stack list without description

Bug #1591180 reported by Nikita Karpin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Nikolay Starodubtsev

Bug Description

When running functional tests on devstack host with Openstack Mitaka or newer (for example with Heat 7.0.0.0b2.dev37), MuranoDeploymentTest.test_resources_deallocation test fails with:

ERROR: murano.tests.functional.engine.test_deployment.MuranoDeploymentTest.test_resources_deallocation
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/opt/stack/murano/murano/tests/functional/engine/test_deployment.py", line 79, in test_resources_deallocation
    template = self.get_stack_template(stack)
  File "/opt/stack/murano/murano/tests/functional/common/utils.py", line 527, in get_stack_template
    return cls.heat_client().stacks.template(stack.stack_name)
AttributeError: 'NoneType' object has no attribute 'stack_name'

Nikita Karpin (mkarpin)
Changed in murano:
status: New → Confirmed
Changed in murano:
assignee: nobody → Nikolay Starodubtsev (starodubcevna)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/325922
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=e4273344285d3d8d223a322e8d7dd092d68c5ef0
Submitter: Jenkins
Branch: master

commit e4273344285d3d8d223a322e8d7dd092d68c5ef0
Author: Nikolay Starodubtsev <email address hidden>
Date: Mon Jun 6 16:35:42 2016 +0300

    Update functional test _get_stack

    After change in heat ``StackManager.list()`` returns stack lists in
    which stacks doesn't has a description method. So murano needs to use
    ``StackManager.get(stack_id)`` instead.

    Closes-Bug: #1591180

    Change-Id: Ia7c17e7415176042a5d6a7f8af2318baa8675278

Changed in murano:
status: In Progress → Fix Released
Changed in murano:
milestone: none → newton-2
tags: added: tests
Changed in murano:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/338997

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/339099

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

Reviewed: https://review.openstack.org/338997
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=bfeed2ba2a4911ccbdbd6045d3b9b7c0591648a9
Submitter: Jenkins
Branch: stable/liberty

commit bfeed2ba2a4911ccbdbd6045d3b9b7c0591648a9
Author: Nikolay Starodubtsev <email address hidden>
Date: Mon Jun 6 16:35:42 2016 +0300

    Update functional test _get_stack

    After change in heat ``StackManager.list()`` returns stack lists in
    which stacks doesn't has a description method. So murano needs to use
    ``StackManager.get(stack_id)`` instead.

    Closes-Bug: #1591180
    Change-Id: Ia7c17e7415176042a5d6a7f8af2318baa8675278
    (cherry picked from commit e4273344285d3d8d223a322e8d7dd092d68c5ef0)

tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (stable/mitaka)

Reviewed: https://review.openstack.org/339099
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=d4a6983be914c947529cad56700d84858ba28c28
Submitter: Jenkins
Branch: stable/mitaka

commit d4a6983be914c947529cad56700d84858ba28c28
Author: Nikolay Starodubtsev <email address hidden>
Date: Mon Jun 6 16:35:42 2016 +0300

    Update functional test _get_stack

    After change in heat ``StackManager.list()`` returns stack lists in
    which stacks doesn't has a description method. So murano needs to use
    ``StackManager.get(stack_id)`` instead.

    Closes-Bug: #1591180

    Change-Id: Ia7c17e7415176042a5d6a7f8af2318baa8675278
    (cherry picked from commit e4273344285d3d8d223a322e8d7dd092d68c5ef0)

tags: added: in-stable-mitaka
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/murano 3.0.0.0b2

This issue was fixed in the openstack/murano 3.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano 2.0.2

This issue was fixed in the openstack/murano 2.0.2 release.

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.