Resize a vm that vm_state is "stopped" failure, vm's task_state rollback to "active"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Matt Riedemann | ||
Train |
Fix Committed
|
Low
|
Matt Riedemann |
Bug 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-
+------
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-
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-
+------
Although the finally vm_state of instance will be set to stoped by heal_instance_
But the process often takes some time.
IMO, This process is not reasonable, and need fix.
Changed in nova: | |
assignee: | nobody → jinquanni(ZTE) (ni-jinquan) |
tags: | added: resize |
description: | updated |
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" |
description: | updated |
Changed in nova: | |
assignee: | jinquanni(ZTE) (ni-jinquan) → Alex Xu (xuhj) |
Changed in nova: | |
importance: | Undecided → Low |
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" |
Changed in nova: | |
assignee: | Alex Xu (xuhj) → nobody |
status: | In Progress → Triaged |
Changed in nova: | |
assignee: | nobody → Chris Martin (cm876n) |
Changed in nova: | |
status: | Triaged → In Progress |
Fix proposed to branch: master /review. openstack. org/287774
Review: https:/