Pausing a rescued instance should be impossible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Leandro Ignacio Costantino | ||
Icehouse |
Fix Released
|
Undecided
|
Leandro Ignacio Costantino |
Bug Description
In the following commands, 'vmtest' is a freshly created virtual machine.
$ nova show vmtest | grep -E "(status|
| OS-EXT-
| status | ACTIVE
$ nova rescue vmtest
+------
| Property | Value
+------
| adminPass | 2ZxvzZULT4sr
+------
$ nova show vmtest | grep -E "(status|
| OS-EXT-
| status | RESCUE
$ nova pause vmtest
$ nova show vmtest | grep -E "(status|
| OS-EXT-
| status | PAUSED
$ nova unpause vmtest
$ nova show vmtest | grep -E "(status|
| OS-EXT-
| status | ACTIVE
Here, we would want the vm to be in the 'RESCUE' state, as it was before being paused.
$ nova unrescue vmtest
ERROR (Conflict): Cannot 'unrescue' while instance is in vm_state active (HTTP 409) (Request-ID: req-34b8004d-
The 'unrescue' command fails, which seems to confirm that the VM was no longer being rescued.
So, two possibilities:
1) When unpausing, the vm should go back to 'rescued' state
2) Rescued vms should not be allowed to be paused, as is indicated by this graph: http://
Note that the same issue can be observed with suspend/resume instead of pause/unpause, and probably other commands as well.
WDYT ?
tags: | added: compute |
Changed in nova: | |
assignee: | nobody → Leandro Ignacio Costantino (leandro-i-costantino) |
Changed in nova: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-2 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/94281
Review: https:/