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:
port:
type: OS::Neutron::Port
properties:
network: {get_param: network}
Server:
properties:
flavor: {get_param: InstanceType}
flavor_update_policy: REPLACE
image: {get_param: ImageId}
name: ost1-test_heat
networks:
- network: {Ref: port}
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.
(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:
actual result
expected result
steps to reproduce
For more detailed information on the contents of each of the listed sections see https:/ /wiki.openstack .org/wiki/ Fuel/How_ to_contribute# Here_is_ how_you_ file_a_ bug