Ask Your Question
1

Migration failure vm remains on same host

asked 2015-06-12 07:06:06 -0500

abhishek-talwar gravatar image

updated 2015-06-15 06:05:20 -0500

SGPJ gravatar image

I have a multinode OpenStack kilo setup with 2 compute nodes, a controller and a network node. I am trying to migrate a Vm from host to the other, but there is a migration failure and the VM stays on the same host.

Logs for nova compute

2015-06-12 17:09:34.188 1683 ERROR nova.virt.libvirt.driver [-] [instance: 02bbecb7-20aa-4dc4-b3e3-fc34a78f2bd3] **Live Migration failure: operation failed: Failed to connect to remote libvirt URI qemu+tcp://compute-VirtualBox/system: Unable to resolve address 'compute-VirtualBox' service '16509': Name or service not known
2015-06-12 17:09:34.676 1683 ERROR nova.virt.libvirt.driver [-] [instance: 02bbecb7-20aa-4dc4-b3e3-fc34a78f2bd3] Migration operation has aborted**
2015-06-12 17:10:12.533 1683 INFO nova.compute.resource_tracker [req-7c091489-6ce0-426a-810d-1627318a376a - - - - -] Auditing locally available compute resources for node compute1-VirtualBox

Kindly help in this regards

edit retag flag offensive close merge delete

Comments

Are you able to ping compute-VirtualBox from source compute node? if not, then put the proper setting in /etc/hosts file.

http://wiki.libvirt.org/page/Migratio...

Ranjit gravatar imageRanjit ( 2015-06-12 14:20:03 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-06-15 06:01:14 -0500

Instead of populating hosts file, better use dns .. and also try if both compute nodes are pingable

edit flag offensive delete link more
0

answered 2015-06-15 07:11:03 -0500

abhishek-talwar gravatar image

Yes, both the nodes are pingable. I am able to ping every from other nodes. Do I have to configure migrations as I am running "nova live-migration vm_name host_name --block-migrate" command and I am getting this error.

If yes, how to configure migrations ? As I am able to boot VM's on both the compute hosts and they are going in ACTIVE state.

Thanks

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-12 07:06:06 -0500

Seen: 712 times

Last updated: Jun 15 '15