kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.12k stars 364 forks source link

Migration fails with KCHVM0061E ("Unable to create file http://…") #1104

Open wusel42 opened 7 years ago

wusel42 commented 7 years ago

I have two 16.04 LTS hosts, running Kimchi 2.3.1 (kimchi.noarch.deb from github). Both have /var/lib/libvirt/images symlinked to /nfs/images, which obviously resides on NFS; thus, effectively there's no need (or use) to copy any vdisk data around. (How do I tell Kimchi about it? Goal is to enable live migration.)

I then created a template which uses http://releases.ubuntu.com:80/16.04/ubuntu-16.04-server-amd64.iso as "the ISO" for installation. I installed my VM (test-vm01) on Host A. I then tried to migrate this VM to Host B. This fails with KCHVM0061E, seemingly it is tried to copy the "file" "http://..."?

alinefm commented 7 years ago

Hi @wusel42

Could you paste the whole error message?

Also for live migration to work, the destination server must have the same file structure mounted there. So as you described, the /var/lib/libvirt/images directory in the destination server should be symlinked to the same NFS server as well.