yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #33299
[Bug 1460577] [NEW] If instance was migrated while was in shutdown state, nova disallow start before resize-confirm
Public bug reported:
Steps to reproduce:
1. Create instance
2. Shutdown instance
3. Perform resize
4. Try to start instance.
Expected behaviour: instance starts in resize_confirm state
Actual behaviour: ERROR (Conflict): Instance d0e9bc6b-0544-410f-ba96-b0b78ce18828 in vm_state resized. Cannot start while the instance is in this state. (HTTP 409)
Rationale:
If tenant resizing running instance, he can log into instance after
reboot and see if it was successful. If tenant resizing stopped
instance, he has no change to check if instance resized successfully or
not before confirming migration.
Proposed solution: Allow to start instance in the state resize_confirm +
stopped.
(Btw: I'd like to allow to stop/resize instances in resize_confirm
state, because tenant may wish to reboot/stop/start instance few times
before deciding that migration was successful or revert it back).
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1460577
Title:
If instance was migrated while was in shutdown state, nova disallow
start before resize-confirm
Status in OpenStack Compute (Nova):
New
Bug description:
Steps to reproduce:
1. Create instance
2. Shutdown instance
3. Perform resize
4. Try to start instance.
Expected behaviour: instance starts in resize_confirm state
Actual behaviour: ERROR (Conflict): Instance d0e9bc6b-0544-410f-ba96-b0b78ce18828 in vm_state resized. Cannot start while the instance is in this state. (HTTP 409)
Rationale:
If tenant resizing running instance, he can log into instance after
reboot and see if it was successful. If tenant resizing stopped
instance, he has no change to check if instance resized successfully
or not before confirming migration.
Proposed solution: Allow to start instance in the state resize_confirm
+ stopped.
(Btw: I'd like to allow to stop/resize instances in resize_confirm
state, because tenant may wish to reboot/stop/start instance few times
before deciding that migration was successful or revert it back).
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1460577/+subscriptions
Follow ups
References