Unable to connect to server at 'cloudadmin:16514': Connection refused

Hi,

I have setup Opennebula for research purpose and i am trying to do Live migration( Migrate VM from one host to another) with shared transfer manager. I wasnt successful and end up with following error.

VM.log

Wed Mar 11 15:39:11 2015 [LCM][I]: New VM state is MIGRATE
Wed Mar 11 15:39:11 2015 [VMM][I]: Successfully execute transfer manager driver operation: tm_premigrate.
Wed Mar 11 15:39:11 2015 [VMM][I]: ExitCode: 0
Wed Mar 11 15:39:11 2015 [VMM][I]: Successfully execute network driver operation: pre.
Wed
Mar 11 15:39:11 2015 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/migrate ‘one-17’ ‘cloudadmin’ ‘cloudadmin3’ 17
cloudadmin3
Wed Mar 11 15:39:11 2015 [VMM][E]: migrate: Command
"virsh --connect qemu:///system migrate --live one-17
qemu://cloudadmin/system" failed: error: unable to connect to server at
’cloudadmin:16514’: Connection refused
Wed Mar 11 15:39:11 2015 [VMM][E]: Could not migrate one-17 to cloudadmin
Wed Mar 11 15:39:11 2015 [VMM][I]: ExitCode: 1
Wed Mar 11 15:39:11 2015 [VMM][I]: Failed to execute virtualization driver operation: migrate.
Wed Mar 11 15:39:11 2015 [VMM][E]: Error live migrating VM: Could not migrate one-17 to cloudadmin
Wed Mar 11 15:39:12 2015 [LCM][I]: Fail to live migrate VM. Assuming that the VM is still RUNNING (will poll VM).

I am stuck… Pls help.

Thanks in advance

Sindhu

It seems a problem with “cloudadmin” host, take a look at the relevant line
in the logs. Also check qemu.logs at the host to debug your configuration:

Wed Mar 11 15:39:11 2015 [VMM][E]: migrate: Command
"virsh --connect qemu:///system migrate --live one-17
qemu://cloudadmin/system" failed: error: unable to connect to server at
’cloudadmin:16514’: Connection refused

Hey Ruben,

I have now succeded and able to do live migration. Thanks !!!

I dont know if this is a resolver, but I added the SSH public key of front end in the “add SSH contextualization” tab in the template and it worked…:slight_smile: