Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
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
languagebash
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

Content by Label
showLabelsfalse
max5
spacesCV
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("instance","migrate","vm") and type = "page" and space = "CV"
labelsmigrate instance vm

...