Stack update failed due the wrong dependencies

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

Bug Description

1. create a stack with heat asg:
****************************************
heat_template_version: 2015-04-30
parameters:
  net:
    type: string
    default: 4c6d3e5e-2bf2-444d-ac50-33b16a4cb6b6
resources:
  my_asg:
    type: OS::Heat::AutoScalingGroup
    properties:
      resource:
        type: OS::Nova::Server
        properties:
          flavor: 1
          image: cirros-0.3.0-x86_64-disk
          networks:
          - network: {get_param: net}
      max_size: 4
      min_size: 1
******************************************
2. update the stack with aws asg, with the same resource name 'my_asg'
******************************************
heat_template_version: 2015-04-30
parameters:
  subnet:
    type: string
    default: 77fbd9dd-50a1-417b-ab82-03d47f0b535e
resources:
  my_asg:
    type: AWS::AutoScaling::AutoScalingGroup
    properties:
      AvailabilityZones: ['nova']
      LaunchConfigurationName: {get_resource: lc}
      MaxSize: 4
      MinSize: 1
      VPCZoneIdentifier:
      - get_param: subnet
  lc:
    type: AWS::AutoScaling::LaunchConfiguration
    properties:
      ImageId: cirros-0.3.0-x86_64-disk
      InstanceType: 1
*********************************************
3. stack update failed, the reason: http://paste.openstack.org/show/487530/
4. the dependencies of stack is the old one, we should reset the dependencies when and resource for stack.

Changed in heat:
importance: Undecided → High
assignee: nobody → huangtianhua (huangtianhua)
importance: High → Medium
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/282237

Changed in heat:
status: New → In Progress
Changed in heat:
milestone: none → mitaka-3
Changed in heat:
milestone: mitaka-3 → mitaka-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by huangtianhua (<email address hidden>) on branch: master
Review: https://review.openstack.org/282237

Revision history for this message
huangtianhua (huangtianhua) wrote :

after patch https://review.openstack.org/#/c/290247/, this problem won't happen again.

Revision history for this message
Rabi Mishra (rabi) wrote :
Changed in heat:
status: In Progress → Fix Released
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.