heat_integrationtests.functional.test_autoscaling.AutoScalingSignalTest.test_signal_during_suspend fails with "AtrributError: outputs"

Bug #1440653 reported by Pavlo Shchelokovskyy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Pavlo Shchelokovskyy
Tags: gate-failure
Revision history for this message
Pavlo Shchelokovskyy (pshchelo) wrote :
Revision history for this message
Pavlo Shchelokovskyy (pshchelo) wrote :

the reason it seems is that with some particular timing, the stacks.get() returns a stack without the 'outputs' attribute:

<Stack {u'parent': None, u'disable_rollback': True, u'description': u'Template to create multiple instances.', u'links': [{u'href': u'http://192.168.100.127:8004/v1/4f5f847df24f46cb863a76e4da0878e5/stacks/AutoScalingSignalTest-759924314/a13bb379-a58c-461c-b3bb-7cf6c9caeb88', u'rel': u'self'}], u'stack_status_reason': u'Stack SUSPEND started', u'stack_name': u'AutoScalingSignalTest-759924314', u'stack_user_project_id': u'dc07e92cce6e4cbea4d91c797ae2f380', u'timeout_mins': None, u'creation_time': u'2015-04-06T10:10:43Z', u'capabilities': [], u'notification_topics': [], u'parameters': {u'image': u'fedora-heat-test-image', u'AWS::StackId': u'arn:openstack:heat::4f5f847df24f46cb863a76e4da0878e5:stacks/AutoScalingSignalTest-759924314/a13bb379-a58c-461c-b3bb-7cf6c9caeb88', u'AWS::StackName': u'AutoScalingSignalTest-759924314', u'flavor': u'm1.heat', u'AZ': u'nova', u'AWS::Region': u'ap-southeast-1', u'size': u'2'}, u'stack_owner': u'demo', u'stack_status': u'SUSPEND_IN_PROGRESS', u'updated_time': None, u'id': u'a13bb379-a58c-461c-b3bb-7cf6c9caeb88', u'template_description': u'Template to create multiple instances.'}>

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/170804

Changed in heat:
assignee: nobody → Pavlo Shchelokovskyy (pshchelo)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/170804
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=6be7f058ade2d6bf6fa01b967ab6afaec6256c39
Submitter: Jenkins
Branch: master

commit 6be7f058ade2d6bf6fa01b967ab6afaec6256c39
Author: Pavlo Shchelokovskyy <email address hidden>
Date: Mon Apr 6 10:22:35 2015 +0000

    Fix functional test_signal_during_suspend

    With some particular timing the stack returned by stack.get() is still
    in SUSPEND_IN_PROGRESS and lacks `outputs` attribute.

    Wait not only for nested stack to go to SUSPEND_COMPLETE, but for parent
    stack too.

    Change-Id: I8248146089f517c89f19321b796bfe750b14983b
    Closes-Bug: #1440653

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.