[one-users] problem with getting Live Migration working
C S Shyam Sundar
csshyamsundar at gmail.com
Sat Aug 11 05:02:59 PDT 2012
Hello,
I have a problem with getting Live Migration working. Cold Migration works.
The Hypervisor is KVM on CentOS 6.3. I have one master node and two
VMHosts: *oned*,* one1* and *one2*. The oned machine runs OpenNebula 3.6 on
SQLite backend and sunstone. The same machine exposes */var/lib/one* under
NFS. one1 and one2 are hosts configured under oned and mounts /var/lib/one
from NFS. The VMHosts, dummy network, filesystem are under the same cluster.
I have attached the oned.conf, log snippets from oned.log when a cold
migration occurs and when live migration occurs. The error is - " MIGRATE
FAILURE 5 Network action pre needs a ssh stream."
What was tried:
1) changed the options in kvm driver to -l migrate=migrate_local
2) changed LIBVIRT_URI=qemu+ssh:///system in kvmrc ( on both /var/tmp/one
on vmhosts and /var/lib/one in the master node ).
I'm stuck here and any help is appreciated.
Regards, Shyam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120811/2f9f4b0a/attachment-0001.htm>
-------------- next part --------------
[oneadmin at oned kvm]$ pwd
/var/lib/one/remotes/vmm/kvm
[oneadmin at oned kvm]$ ls -l
total 64
-rwxr-xr-x 1 oneadmin oneadmin 2753 Jul 9 02:45 attach_disk
-rwxr-xr-x 1 oneadmin oneadmin 1386 Jul 9 02:45 cancel
-rwxr-xr-x 1 oneadmin oneadmin 1545 Jul 9 02:45 deploy
-rwxr-xr-x 1 oneadmin oneadmin 1495 Jul 9 02:45 detach_disk
-rw-r--r-- 1 oneadmin oneadmin 1552 Aug 11 01:02 kvmrc
-rwxr-xr-x 1 oneadmin oneadmin 1455 Jul 9 02:45 migrate
-rwxr-xr-x 1 oneadmin oneadmin 1381 Jul 9 02:45 migrate_local
-rwxr-xr-x 1 oneadmin oneadmin 8207 Jul 9 02:45 poll
-rwxr-xr-x 1 oneadmin oneadmin 2323 Jul 9 02:45 poll_ganglia
-rwxr-xr-x 1 oneadmin oneadmin 1400 Jul 9 02:45 reboot
-rwxr-xr-x 1 oneadmin oneadmin 1398 Jul 9 02:45 reset
-rwxr-xr-x 1 oneadmin oneadmin 1376 Jul 9 02:45 restore
-rwxr-xr-x 1 oneadmin oneadmin 1613 Jul 9 02:45 save
-rwxr-xr-x 1 oneadmin oneadmin 2304 Jul 9 02:45 shutdown
[oneadmin at oned kvm]$ cat kvmrc | egrep -v '^#|^$'
export LANG=C
export LIBVIRT_URI=qemu+ssh:///system
export QEMU_PROTOCOL=qemu+ssh
export SHUTDOWN_TIMEOUT=300
-------------- next part --------------
A non-text attachment was scrubbed...
Name: live_migrate.log
Type: application/octet-stream
Size: 5547 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120811/2f9f4b0a/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: migrate.log
Type: application/octet-stream
Size: 6192 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120811/2f9f4b0a/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oned.conf
Type: application/octet-stream
Size: 1547 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120811/2f9f4b0a/attachment-0008.obj>
More information about the Users
mailing list