...
Code Block |
---|
|
nova resize-confirm e1914906-7e33-4d30-88f0-785130fdd85d |
For instances booted from volumes
To migrate an instance from a compute node to another one, you can use the "openstack server migrate" command, after having sourced the admin openrc script. E.g.:
Code Block |
---|
|
openstack server migrate --live cld-nl-19.cloud.pd.infn.it 298c94e2-e4ec-478c-8347-c77f7e1cc8df |
If source and target hypervisor aren't compatible, you will get an error message. In this case find another compatible target hypervisor or use cold migration (see above).

Troubleshooting
If source and target compute nodes have different settings for SELINUX (e.g. 'disabled' vs 'permissive') live migration will fail. No errors will be reported when issuing the command and no errors will be reported in the output of "openstack server event list <uuid> command". In the nova log of the compute node you will see something like:
Code Block |
---|
libvirtError: unsupported configuration: Unable to find security driver for model selinux |
Related articles
Content by Label |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | CV |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ("instance","migrate","vm") and type = "page" and space = "CV" |
---|
labels | migrate instance vm |
---|
|
...