Don't stop create immediately on error

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

Bug Description

1. create a stack with template:
heat_template_version: 2013-05-23

resources:
  her_policy_group:
    type: OS::Nova::ServerGroup
    # A Nova ServerGroup
    properties:
      name: nova-server-group
      policies: [affinity]

  her_asg:
    type: OS::Heat::AutoScalingGroup
    properties:
      resource:
        type: OS::Nova::Server
        properties:
            image: 74f50a38-1786-4ad0-8c12-5a5b9ba52c36
            flavor: m1.tiny
            scheduler_hints: {group: {get_resource: her_policy_group}}
      desired_capacity: 11
2. the stack create failed due to exceed the quota(default is 10)

3. nova list, the 10 instances are in active state

4. but list the nested_stack resources, the resources(instances) are all in CREATE_FAILED, due to the create tasks are canceled immediately on error.

Changed in heat:
assignee: nobody → huangtianhua (huangtianhua)
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/130152

Changed in heat:
status: New → In Progress
Steven Hardy (shardy)
Changed in heat:
milestone: none → kilo-1
importance: Undecided → High
Changed in heat:
assignee: huangtianhua (huangtianhua) → Sean Dague (sdague)
Changed in heat:
assignee: Sean Dague (sdague) → huangtianhua (huangtianhua)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

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

commit b025e2d2242954668030126e6f79151151123e12
Author: huangtianhua <email address hidden>
Date: Wed Oct 22 15:48:26 2014 +0800

    Don't stop create immediately on error for stack resources

    Don't stop create immediately on error for stack resources,
    such as autoscalingGroup.

    Kicked from Gate, heat can't pass pep8.

    Change-Id: I0a41954f89e2000785c2105b8366e9e49858b65f
    Closes-bug: #1383645

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-1 → 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.