jedi4ever / veewee

Easing the building of vagrant boxes
MIT License
4.29k stars 779 forks source link

Virsh migrate fails with “process exited while connecting to monitor” error #1081

Open 256cool opened 8 years ago

256cool commented 8 years ago

I am trying to migrate a VM from one host to another with below command

virsh migrate --live nodetwo qemu+ssh://192.168.1.33/system nodetwo = VM name

But I am getting an error as

error: internal error: process exited while connecting to monitor: 2015-10-25T04:37:24.489443Z qemu-kvm: -drive file=/home/nodetwo/nodetwo.qcow2,if=none,id=drive-virtio-disk0,format=qcow2: could not open disk image /home/nodetwo/nodetwo.qcow2: Could not open file: Permission denied

/home/nodetwo/nodetwo.qcow2 file has 777 permission. /etc/libvirt/qemu.conf file has user = root & group = root

Still not sure why I am getting above error. Directory /home/nodetwo contains the image file on source host and it is mounted on target host using NFS. (Source host = host that contains the guest and target host = host on which I want to migrate the guest)

Please help.