Instance should return to its initial state instead of ACTIVE when resize fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Medium
|
Maciej Szankin |
Bug Description
When instance resize fails, instead of return to its inital vm_state, it is set to ACTIVE:
Creating an instance with flavor 2:
root@kevin-
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | building |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| adminPass | wFUucx56wSEZ |
| config_drive | |
| created | 2015-07-
| flavor | m1.small (2) |
| hostId | |
| id | 0e74eff9-
| image | cirros-
| key_name | - |
| metadata | {} |
| name | test1 |
| os-extended-
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | 939300520ec34fe
| updated | 2015-07-
| user_id | 44c538801d8f46f
+------
root@kevin-
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 0e74eff9-
+------
stop the instance:
root@kevin-
Request to stop server 0e74eff9-
root@kevin-
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 0e74eff9-
+------
resize the instance to a smaller flavor 1
root@kevin-
root@kevin-
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 0e74eff9-
+------
The action fails, but the VM state is set to ACTIVE
ERROR LOG:
2015-07-16 11:22:00.706 25351 ERROR oslo_messaging.
2015-07-16 11:22:00.706 25351 ERROR oslo_messaging.
Changed in nova: | |
assignee: | nobody → Zhenyu Zheng (zhengzhenyu) |
summary: |
Instacne should return to its initial state instead of ACTIVE when - migrate fails + resize fails |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → Medium |
status: | In Progress → Triaged |
status: | Triaged → In Progress |
summary: |
- Instacne should return to its initial state instead of ACTIVE when + Instance should return to its initial state instead of ACTIVE when resize fails |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → wangxiyuan (wangxiyuan) |
Changed in nova: | |
assignee: | wangxiyuan (wangxiyuan) → Zhenyu Zheng (zhengzhenyu) |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → wangxiyuan (wangxiyuan) |
Changed in nova: | |
assignee: | wangxiyuan (wangxiyuan) → Zhenyu Zheng (zhengzhenyu) |
tags: | added: compute resize |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → nobody |
status: | In Progress → Confirmed |
Changed in nova: | |
assignee: | nobody → Joshua Trivette (joshuatrivette) |
Changed in nova: | |
assignee: | Joshua Trivette (joshuatrivette) → nobody |
Changed in nova: | |
assignee: | nobody → Monika (970954-monika) |
Changed in nova: | |
assignee: | Monika (970954-monika) → nobody |
Changed in nova: | |
assignee: | nobody → Maciej Szankin (mszankin) |
Changed in nova: | |
status: | Confirmed → In Progress |
The proposed patch is https:/ /review. openstack. org/#/c/ 202379/