Activity log for bug #1551703

Date Who What changed Old value New value Message
2016-03-01 12:31:01 Jinquan Ni bug added bug
2016-03-01 12:31:08 Jinquan Ni nova: assignee jinquanni(ZTE) (ni-jinquan)
2016-03-01 12:31:18 Jinquan Ni tags resize
2016-03-03 02:52:45 Jinquan Ni description 1. version kilo 2015.1.0 2. Reproduce steps create a instance, then stop it. resize the instance use a new flavor which it's ephemral less than current flavor's ephemral this resize will fail, but the instance's task state rollback to active instead shutoff. This process is not reasonable, and need fix. 1. version kilo 2015.1.0 2. Reproduce steps 2.1 create a instance, then stop it. [root@SBCJNailSlot3 ~(keystone_admin)]# nova list +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | 6fe59445-fb89-47ab-9ead-2476c4522a61 | njq | SHUTOFF | - | Shutdown | test=192.168.1.52 | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ 2.2 resize the instance use a new flavor which it's disk less than current flavor's disk [root@SBCJNailSlot3 ~(keystone_admin)]# nova resize 6fe59445-fb89-47ab-9ead-2476c4522a61 45 disk value in the current flavor of instance “njq” is 20 disk value in the flavor which id equal 45 is 18. So this resize action will trigger ResizeError that msg is unable to resize disk down. Then enter the rollback process 2.3 rollback result: [root@SBCJNailSlot3 ~(keystone_admin)]# nova list +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | 6fe59445-fb89-47ab-9ead-2476c4522a61 | njq | ACTIVE | - | Shutdown | test=192.168.1.52 | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ Although the finally task_state of instance will be set to stoped by heal_instance_state. But the process often takes some time. IMO, This process is not reasonable, and need fix.
2016-03-03 12:49:47 Jinquan Ni summary Resize a vm that task_state is "stoped" failure, vm's task_state rollback to "active" Resize a vm that vm_state is "stoped" failure, vm's task_state rollback to "active"
2016-03-03 12:50:23 Jinquan Ni description 1. version kilo 2015.1.0 2. Reproduce steps 2.1 create a instance, then stop it. [root@SBCJNailSlot3 ~(keystone_admin)]# nova list +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | 6fe59445-fb89-47ab-9ead-2476c4522a61 | njq | SHUTOFF | - | Shutdown | test=192.168.1.52 | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ 2.2 resize the instance use a new flavor which it's disk less than current flavor's disk [root@SBCJNailSlot3 ~(keystone_admin)]# nova resize 6fe59445-fb89-47ab-9ead-2476c4522a61 45 disk value in the current flavor of instance “njq” is 20 disk value in the flavor which id equal 45 is 18. So this resize action will trigger ResizeError that msg is unable to resize disk down. Then enter the rollback process 2.3 rollback result: [root@SBCJNailSlot3 ~(keystone_admin)]# nova list +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | 6fe59445-fb89-47ab-9ead-2476c4522a61 | njq | ACTIVE | - | Shutdown | test=192.168.1.52 | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ Although the finally task_state of instance will be set to stoped by heal_instance_state. But the process often takes some time. IMO, This process is not reasonable, and need fix. 1. version kilo 2015.1.0 2. Reproduce steps 2.1 create a instance, then stop it. [root@SBCJNailSlot3 ~(keystone_admin)]# nova list +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | 6fe59445-fb89-47ab-9ead-2476c4522a61 | njq | SHUTOFF | - | Shutdown | test=192.168.1.52 | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ 2.2 resize the instance use a new flavor which it's disk less than current flavor's disk [root@SBCJNailSlot3 ~(keystone_admin)]# nova resize 6fe59445-fb89-47ab-9ead-2476c4522a61 45 disk value in the current flavor of instance “njq” is 20 disk value in the flavor which id equal 45 is 18. So this resize action will trigger ResizeError that msg is unable to resize disk down. Then enter the rollback process 2.3 rollback result: [root@SBCJNailSlot3 ~(keystone_admin)]# nova list +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ | 6fe59445-fb89-47ab-9ead-2476c4522a61 | njq | ACTIVE | - | Shutdown | test=192.168.1.52 | +--------------------------------------+--------+---------+--------------+-------------+-------------------+ Although the finally vm_state of instance will be set to stoped by heal_instance_state. But the process often takes some time. IMO, This process is not reasonable, and need fix.
2016-03-03 12:53:03 OpenStack Infra nova: status New In Progress
2016-03-09 06:29:35 OpenStack Infra nova: assignee jinquanni(ZTE) (ni-jinquan) Alex Xu (xuhj)
2016-03-29 02:10:16 Jinquan Ni nova: importance Undecided Low
2016-07-11 00:24:19 Matt Riedemann summary Resize a vm that vm_state is "stoped" failure, vm's task_state rollback to "active" Resize a vm that vm_state is "stopped" failure, vm's task_state rollback to "active"
2016-07-11 00:24:30 Matt Riedemann nova: assignee Alex Xu (xuhj)
2016-07-11 00:24:33 Matt Riedemann nova: status In Progress Triaged
2016-09-01 18:03:23 Chris Martin nova: assignee Chris Martin (cm876n)
2016-09-06 17:58:20 Chris Martin nova: status Triaged In Progress
2019-10-29 15:24:52 Matt Riedemann nova: assignee Chris Martin (cm876n)
2019-10-29 15:27:00 Matt Riedemann marked as duplicate 1811235
2019-10-29 15:28:50 Matt Riedemann removed duplicate marker 1811235
2019-10-29 15:29:03 Matt Riedemann nova: status In Progress Triaged
2019-10-29 16:17:36 OpenStack Infra nova: status Triaged In Progress
2019-10-29 16:17:36 OpenStack Infra nova: assignee Matt Riedemann (mriedem)
2019-11-26 12:05:03 OpenStack Infra nova: status In Progress Fix Released
2019-11-26 13:41:54 Matt Riedemann nominated for series nova/train
2019-11-26 13:41:54 Matt Riedemann bug task added nova/train
2019-11-26 13:42:03 Matt Riedemann nova/train: importance Undecided Low
2019-11-26 13:42:15 Matt Riedemann nova/train: status New In Progress
2019-11-26 13:42:18 Matt Riedemann nova/train: assignee Matt Riedemann (mriedem)
2019-11-29 23:11:33 OpenStack Infra nova/train: status In Progress Fix Committed