hello! We recently updated OpenNebula from 4.12 to 5.2.1 and now we have problem with live migration (migration works fine) on KVM hosts.
For shared system datastore we use ceph-fs.
When I create VM I can acces following directories and files:
ls -la /var/lib/one//datastores/0/133562/
total 366
drwxrwxr-x 1 oneadmin oneadmin 374121 Feb 6 07:29 .
drwxr-x--- 1 oneadmin oneadmin 472929437079 Feb 6 07:45 ..
-rw-rw-r-- 1 oneadmin oneadmin 1385 Feb 6 07:28 deployment.20
-rw-r--r-- 1 oneadmin oneadmin 372736 Feb 6 07:29 disk.1
When I’m trying live-migration I have an error:
Mon Feb 6 07:09:44 2017 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/migrate ‘one-133562’ ‘host05’ ‘host04’ 133562 host04
Mon Feb 6 07:09:44 2017 [Z0][VMM][E]: migrate: Command “virsh --connect qemu:///system migrate --live one-133562 qemu+ssh://host05/system” failed: error: Cannot access storage file ‘/var/lib/one//datastores/0/133562/disk.1’ (as uid:1002, gid:1002): No such file or directory
Mon Feb 6 07:09:44 2017 [Z0][VMM][E]: Could not migrate one-133562 to host
And after this error following files are missing:
ls -la /var/lib/one//datastores/0/133562/
ls: cannot access /var/lib/one//datastores/0/133562/: No such file or directory