Comment 0 for bug 1570825

Revision history for this message
Yury Tregubov (ytregubov) wrote :

The following test:

Test check the possibility to cancel update
      1. Create new stack
      2. Launch heat stack-update stack_name
      3. Launch heat stack-cancel-update stack_name while update
      operation is in progress
      4. Check state of stack after cancel update

Is failed on step 3 with error ROLLBACK_FAILED.

Stack is created with following template:

description: 'Template which creates single instance
 '
heat_template_version: '2013-05-23'
outputs:
 servers:
   value: {get_resource: Server}
parameters:
 ImageId: {type: string}
 InstanceType: {type: string}
 network: {type: string}
resources:
 Server:
   properties:
     flavor: {get_param: InstanceType}
     flavor_update_policy: REPLACE
     image: {get_param: ImageId}
     name: ost1-test_heat
     networks:
     - network: {Ref: network}
   type: OS::Nova::Server

During update the instance type is changed from tiny to small https://github.com/Mirantis/mos-integration-tests/blob/master/mos_tests/heat/heat_test.py#L719

The problem was seen first time on 9.0 mitaka iso #197 and is seen on iso #201 was well at the moment.