Hello,
I have 3 hosts, one also acting as nfs datastore and hosting the frontend software.
I am using OpenNebula 4.6.2, kvm hypervisors under Centos 6.5.
I can create a vm on any host on any datastore I choose. Datastore 100 is the one we use as SSH local datastore.
If I create a vm on host 0 or 1, I can migrate the vm to any host.
But if I create a vm on host 2, files get transfered OK but migration fails and I have to delete the vm
Thu Jun 25 10:19:11 2015 [LCM][I]: New VM state is SAVE_MIGRATE
Thu Jun 25 10:19:13 2015 [VMM][I]: ExitCode: 0
Thu Jun 25 10:19:13 2015 [VMM][I]: Successfully execute virtualization driver operation: save.
Thu Jun 25 10:19:13 2015 [VMM][I]: ExitCode: 0
Thu Jun 25 10:19:13 2015 [VMM][I]: Successfully execute network driver operation: clean.
Thu Jun 25 10:19:13 2015 [LCM][I]: New VM state is PROLOG_MIGRATE
Thu Jun 25 10:19:28 2015 [LCM][I]: New VM state is BOOT
Thu Jun 25 10:19:28 2015 [VMM][I]: ExitCode: 0
Thu Jun 25 10:19:28 2015 [VMM][I]: Successfully execute network driver operation: pre.
Thu Jun 25 10:19:28 2015 [VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/restore â/var/lib/one//datastores/100/86/checkpointâ âdestination-host.example.comâ âone-86â 86 destination-host.example.com
Thu Jun 25 10:19:28 2015 [VMM][E]: restore: Command âvirsh --connect qemu:///system restore /var/lib/one//datastores/100/86/checkpointâ failed: error: Failed to restore domain from /var/lib/one//datastores/100/86/checkpoint
Thu Jun 25 10:19:28 2015 [VMM][I]: error: internal error process exited while connecting to monitor: Supported machines are:
Thu Jun 25 10:19:28 2015 [VMM][I]: pc RHEL 6.5.0 PC (alias of rhel6.5.0)
Thu Jun 25 10:19:28 2015 [VMM][I]: rhel6.5.0 RHEL 6.5.0 PC (default)
Thu Jun 25 10:19:28 2015 [VMM][I]: rhel6.4.0 RHEL 6.4.0 PC
Thu Jun 25 10:19:28 2015 [VMM][I]: rhel6.3.0 RHEL 6.3.0 PC
Thu Jun 25 10:19:28 2015 [VMM][I]: rhel6.2.0 RHEL 6.2.0 PC
Thu Jun 25 10:19:28 2015 [VMM][I]: rhel6.1.0 RHEL 6.1.0 PC
Thu Jun 25 10:19:28 2015 [VMM][I]: rhel6.0.0 RHEL 6.0.0 PC
Thu Jun 25 10:19:28 2015 [VMM][I]: rhel5.5.0 RHEL 5.5.0 PC
Thu Jun 25 10:19:28 2015 [VMM][I]: rhel5.4.4 RHEL 5.4.4 PC
Thu Jun 25 10:19:28 2015 [VMM][I]: rhel5.4.0 RHEL 5.4.0 PC
Thu Jun 25 10:19:28 2015 [VMM][E]: Could not restore from /var/lib/one//datastores/100/86/checkpoint
Thu Jun 25 10:19:28 2015 [VMM][I]: ExitCode: 1
Thu Jun 25 10:19:28 2015 [VMM][I]: Failed to execute virtualization driver operation: restore.
Thu Jun 25 10:19:28 2015 [VMM][E]: Error restoring VM: Could not restore from /var/lib/one//datastores/100/86/checkpoint
Thu Jun 25 10:19:28 2015 [DiM][I]: New VM state is FAILED
Iâve checked everything I am aware of checking (as per http://docs.opennebula.org/4.12/administration/virtualization/kvmg.html)
The thing is that host 0 and 1 didnât have libvirt listen_tcp = 1 or --listen and migration was working anyway.
I cleared all firewall rules, also.
Any pointer, log to check or test to perform to put me in the right direction to solve this issue?
Thanks,
regards,
Sergi