Activity log for bug #1570908

Date Who What changed Old value New value Message
2016-04-15 14:43:24 Oleksii Chuprykov bug added bug
2016-04-15 14:43:29 Oleksii Chuprykov heat: assignee Oleksii Chuprykov (ochuprykov)
2016-04-15 15:04:25 OpenStack Infra heat: status New In Progress
2016-04-18 10:34:18 Sergey Kraynev heat: milestone newton-1
2016-04-18 10:34:22 Sergey Kraynev heat: importance Undecided Medium
2016-05-12 13:15:50 Sergey Kraynev heat: importance Medium High
2016-06-01 08:17:28 Rabi Mishra heat: milestone newton-1 newton-2
2016-07-12 14:10:48 Thomas Herve heat: milestone newton-2 newton-3
2016-09-01 09:28:01 Thomas Herve heat: milestone newton-3 newton-rc1
2016-09-13 09:53:43 OpenStack Infra heat: assignee Oleksii Chuprykov (ochuprykov) Thomas Herve (therve)
2016-09-14 19:34:13 OpenStack Infra heat: assignee Thomas Herve (therve) Zane Bitter (zaneb)
2016-09-15 03:00:43 OpenStack Infra heat: assignee Zane Bitter (zaneb) Anant Patil (ananta)
2016-09-16 09:25:07 Thomas Herve heat: milestone newton-rc1
2016-09-16 09:25:11 Thomas Herve heat: milestone ocata-1
2016-09-16 09:25:13 Thomas Herve heat: milestone ocata-1 nexton-rc2
2016-09-19 12:56:32 Zane Bitter tags newton-rc-potential
2016-09-21 23:02:38 OpenStack Infra tags newton-rc-potential in-stable-newton newton-rc-potential
2016-09-27 13:31:43 Thomas Herve heat: status In Progress Fix Released
2016-12-29 13:22:01 Sergey Kraynev description 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 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
2017-01-12 13:40:41 Sergey Kraynev description 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 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 ------------------------------------------------------------------------- The same bug was reproduced with template, where used just network property. In this case nova will create port in neutron. During update replace heat detaches ports and it has downside for nova created ports - they will be deleted by nova during this detach operation. So we need to handle this case separately and try to attach new port after cancel-update as it was done by nova. 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