yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #13427
[Bug 1305062] [NEW] live migration doesn't work for VMs in paused or rescued states
Public bug reported:
I'd expect live-migration to migrate instances in paused or rescued
states as they're online VMs anyway, as opposed to those that are
shutoff or suspended. However, I see that it's currently disabled in the
compute API.
nova live-migration --block-migrate b32b0eb4-b8aa-4204-b104-61e733839227 overcloud-novacompute0-aipxwbabgq7a
ERROR: Cannot 'os-migrateLive' while instance is in vm_state paused (HTTP 409) (Request-ID: req-d5b47ef0-6674-48dd-b4ac-eea86951246c)
nova live-migration --block-migrate b32b0eb4-b8aa-4204-b104-61e733839227 overcloud-novacompute0-aipxwbabgq7a
ERROR: Cannot 'os-migrateLive' while instance is in vm_state rescued (HTTP 409) (Request-ID: req-5eea8f1c-5602-4d48-9690-929baff3b560)
This is stopped by this decorator:
@check_instance_state(vm_state=[vm_states.ACTIVE])
def live_migrate(self, context, instance, block_migration,
However, there are more to it than fixing the decorator.
Should we treat this as a feature or bugfix?
** Affects: nova
Importance: Undecided
Assignee: Loganathan Parthipan (parthipan)
Status: New
** Changed in: nova
Assignee: (unassigned) => Loganathan Parthipan (parthipan)
--
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/1305062
Title:
live migration doesn't work for VMs in paused or rescued states
Status in OpenStack Compute (Nova):
New
Bug description:
I'd expect live-migration to migrate instances in paused or rescued
states as they're online VMs anyway, as opposed to those that are
shutoff or suspended. However, I see that it's currently disabled in
the compute API.
nova live-migration --block-migrate b32b0eb4-b8aa-4204-b104-61e733839227 overcloud-novacompute0-aipxwbabgq7a
ERROR: Cannot 'os-migrateLive' while instance is in vm_state paused (HTTP 409) (Request-ID: req-d5b47ef0-6674-48dd-b4ac-eea86951246c)
nova live-migration --block-migrate b32b0eb4-b8aa-4204-b104-61e733839227 overcloud-novacompute0-aipxwbabgq7a
ERROR: Cannot 'os-migrateLive' while instance is in vm_state rescued (HTTP 409) (Request-ID: req-5eea8f1c-5602-4d48-9690-929baff3b560)
This is stopped by this decorator:
@check_instance_state(vm_state=[vm_states.ACTIVE])
def live_migrate(self, context, instance, block_migration,
However, there are more to it than fixing the decorator.
Should we treat this as a feature or bugfix?
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1305062/+subscriptions
Follow ups
References