Ask Your Question

Revision history [back]

live migration using qemu+ssh fails

Hello all

We use the Juno distribution, ceph cluster for storage on RHEL 7. A basic nova live-migration works perfectly. I am trying to make it more secure. Using sasl doesn't seem to work, so am trying ssh tunneling.

I have configured libvirtd/kvm on the compute nodes to listen. From virsh the command below works perfectly. I am able to run:

$ virsh --connect qemu+ssh://nodenamex/system list

I have defined the following in the nova.conf on the compute nodes:


The live_migration_flag's are defined and we know work. The public keys are setup for root and nova. Have tried these settings for both root and nova users. Both users can login using public keys and have valid shells. When I try to nova live-migration command, I get the following error message in my nova-compute.log :

2016-01-07 14:12:12.982 ERROR nova.virt.libvirt.driver [-] [instance: xyz-xyz-zyz] Live Migration Failure: operation failed: Failed to connect to remove libvirt URI qemu+ssh://nova@nodexyz/system: Cannot recv data: Host key verification failed.: connection reset by peer

I am not sure where else to look. Any idea's and pointers would be welcomed. TIA