Hi all, When I migrate a live vm with two virtual disk images from one node to another. Bothe of the nodes are in the same LAN and there is no shared storage. I run the following command and get the output blew: yyang@node1:~$ sudo virsh migrate --live --persistent --copy-storage-all --unsafe --verbose vm1 qemu+ssh://192.168.1.3/system root@192.168.1.3's password: root@192.168.1.3's password: root@192.168.1.3's password: error: Cannot recv data: Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password).: Connection reset by peer I'm sure the root passwd I entered is correct. And When I run the following command, it works. I can use qemu+ssh to connect to a remote libvirtd daemon. yyang@node2:~$ sudo virsh Welcome to virsh, the virtualization interactive terminal. Type: 'help' for help with commands 'quit' to quit virsh # connect qemu+ssh://192.168.1.2/system root@192.168.1.2's password: virsh # list Id Name State ---------------------------------------------------- 6 vm1 running 7 vm2 running virsh # Any suggestions about this issue? Thanks a lot! Ed
Dale R. Worley
2015-Mar-11 02:08 UTC
Re: [libvirt-users] [Qemu-discuss] vm live storage migration failure.
Edward Young <edward.and.young@gmail.com> writes:> I run the following command and get the output blew: > > yyang@node1:~$ sudo virsh migrate --live --persistent --copy-storage-all > --unsafe --verbose vm1 qemu+ssh://192.168.1.3/system > > root@192.168.1.3's password: > > root@192.168.1.3's password: > > root@192.168.1.3's password: > > error: Cannot recv data: Permission denied, please try again.You then show that you can log in as root of 192.168.1.2. Show us how you have verified that you have the correct password for root of 192.168.1.3. Dale