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)
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-61e7338392 27 overcloud- novacompute0- aipxwbabgq7a 6674-48dd- b4ac-eea8695124 6c)
ERROR: Cannot 'os-migrateLive' while instance is in vm_state paused (HTTP 409) (Request-ID: req-d5b47ef0-
nova live-migration --block-migrate b32b0eb4- b8aa-4204- b104-61e7338392 27 overcloud- novacompute0- aipxwbabgq7a 5602-4d48- 9690-929baff3b5 60)
ERROR: Cannot 'os-migrateLive' while instance is in vm_state rescued (HTTP 409) (Request-ID: req-5eea8f1c-
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?