Ask Your Question
0

Live migration Error : Failed to connect to remote libvirt URI qemu tcp://compute1-VirtualBox/system: Unable to resolve address service '16509': Name or service not known

asked 2015-07-30 01:36:11 -0500

abhishek-talwar 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.

I can ping between the compute nodes, and I have set libvirt to listen mode. Using the following steps:

  1. Modify /etc/libvirt/libvirtd.conf. before : #listen_tls = 0 after : listen_tls = 0

before : #listen_tcp = 1 after : listen_tcp = 1

add: auth_tcp = "none"

  1. Modify /etc/init/libvirt-bin.conf. before : exec /usr/sbin/libvirtd -d after : exec /usr/sbin/libvirtd -d -l -l is short for –listen

  2. Modify /etc/default/libvirt-bin. before :libvirtd_opts=" -d" after :libvirtd_opts=" -d -l"

  3. Restart libvirt. After executing the command, ensure that libvirt is successfully restarted. $ stop libvirt-bin && start libvirt-bin $ ps -ef | grep libvirt

Nova compute(Compute) logs:

2015-07-30 10:05:56.928 2101 ERROR nova.virt.libvirt.driver [-] [instance: e8a310e6-3682-44fd-93b2-4e2564de047d] Live Migration failure: operation failed: Failed to connect to remote libvirt URI qemu+tcp://compute1-VirtualBox/system: Unable to resolve address 'compute1-VirtualBox' service '16509': Name or service not known 2015-07-30 10:05:57.029 2101 ERROR nova.virt.libvirt.driver [-] [instance: e8a310e6-3682-44fd-93b2-4e2564de047d] Migration operation has aborted

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2016-12-22 02:37:11 -0500

silently gravatar image

the prompt of error is: ......Unable to resolve address 'compute1-VirtualBox' service '16509':

first:

ping  compute1-VirtualBox

second:

telnet compute1-VirtualBox 16509

third:

look log file in directory: /var/log/libvirt/

edit flag offensive delete link more
0

answered 2016-12-22 00:45:44 -0500

Sanj gravatar image

Any luck ?

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-07-30 01:36:11 -0500

Seen: 1,773 times

Last updated: Dec 22 '16