<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">HI all<div><br></div><div>When I do live migration command it doesn't work </div><div><br></div><div>I have this error message on vm log.</div><div><br></div><div><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); ">Mon</span><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); "> Aug 12 20:39:39 2013 [LCM][I]: New VM state is MIGRATE</span><br style="box-sizing: border-box; color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; "><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); ">Mon Aug 12 20:39:39 2013 [VMM][I]: Successfully execute transfer manager driver operation: tm_premigrate.</span><br style="box-sizing: border-box; color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; "><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); ">Mon Aug 12 20:39:39 2013 [VMM][I]: ExitCode: 0</span><br style="box-sizing: border-box; color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; "><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); ">Mon Aug 12 20:39:39 2013 [VMM][I]: Successfully execute network driver operation: pre.</span><br style="box-sizing: border-box; color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; "><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); ">Mon Aug 12 20:39:39 2013 [VMM][I]: Command execution fail: /gcloud/one//var/remotes/vmm/kvm/migrate_local 'one-43' 'gcloud01' 'gcloud03' 43 gcloud03</span><br style="box-sizing: border-box; color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; "><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); ">Mon Aug 12 20:39:39 2013 [VMM][I]: /gcloud/one//var/remotes/vmm/kvm/migrate_local: line 25: virsh: command not found</span><br style="box-sizing: border-box; color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; "><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); ">Mon Aug 12 20:39:39 2013 [VMM][I]: ExitCode: 127</span><br style="box-sizing: border-box; color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; "><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); ">Mon</span><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); "> Aug 12 20:39:39 2013 [VMM][I]: Failed to execute virtualization driver operation: migrate.</span><br style="box-sizing: border-box; color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; "><span class="vm_log_error" style="box-sizing: border-box; color: rgb(255, 141, 129); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; ">Mon Aug 12 20:39:39 2013 [VMM][E]: Error live migrating VM</span><br style="box-sizing: border-box; color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; "><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); ">Mon Aug 12 20:39:40 2013 [LCM][I]: Fail to live migrate VM. Assuming that the VM is still RUNNING (will poll VM).</span></div><div><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); "><br></span></div><div><span style="color: rgb(242, 242, 242); font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 28px; text-align: left; background-color: rgb(111, 111, 111); "><br></span></div><div><br></div><div><br></div><div><br></div><div>I'm using scientific linux for all the host and kvm driver . The OpenNubula version is 4.2.</div><div><br></div><div><br></div><div>basic configuration like below:</div><div><br></div><div>>> front-end machine</div><div>[oneadmin@gcloud-front etc]$ grep -vE '^(#|$)' oned.conf</div><div>LOG = [</div><div> system = "file",</div><div> debug_level = 3</div><div>]</div><div>MONITORING_INTERVAL = 300</div><div>SCRIPTS_REMOTE_DIR=/var/tmp/one</div><div>PORT = 2633</div><div>DB = [ backend = "sqlite" ]</div><div>VNC_BASE_PORT = 5900</div><div>NETWORK_SIZE = 254</div><div>MAC_PREFIX = "02:00"</div><div>DATASTORE_CAPACITY_CHECK = "yes"</div><div>DEFAULT_IMAGE_TYPE = "OS"</div><div>DEFAULT_DEVICE_PREFIX = "hd"</div><div>IM_MAD = [</div><div> name = "kvm",</div><div> executable = "one_im_ssh",</div><div> arguments = "-r 0 -t 15 kvm" ]</div><div>IM_MAD = [</div><div> name = "ec2",</div><div> executable = "one_im_ec2",</div><div> arguments = "im_ec2/im_ec2.conf" ]</div><div>VM_MAD = [</div><div> name = "kvm",</div><div> executable = "one_vmm_exec",</div><div> arguments = "-t 15 -r 0 kvm -l migrate=migrate_local",</div><div> #arguments = "-t 15 -r 0 kvm -l ",</div><div> default = "vmm_exec/vmm_exec_kvm.conf",</div><div> type = "kvm" ]</div><div>VM_MAD = [</div><div> name = "ec2",</div><div> executable = "one_vmm_ec2",</div><div> arguments = "vmm_ec2/vmm_ec2.conf",</div><div> type = "xml" ]</div><div>TM_MAD = [</div><div> executable = "one_tm",</div><div> arguments = "-t 15 -d dummy,lvm,shared,qcow2,ssh,vmfs,iscsi,ceph" ]</div><div>DATASTORE_MAD = [</div><div> executable = "one_datastore",</div><div> arguments = "-t 15 -d dummy,fs,vmfs,iscsi,lvm,ceph"</div><div>]</div><div>HM_MAD = [</div><div> executable = "one_hm" ]</div><div>AUTH_MAD = [</div><div> executable = "one_auth_mad",</div><div> authn = "ssh,x509,ldap,server_cipher,server_x509"</div><div>]</div><div>SESSION_EXPIRATION_TIME = 900</div><div>DEFAULT_UMASK = 177</div><div>VM_RESTRICTED_ATTR = "NIC/MAC"</div><div>VM_RESTRICTED_ATTR = "NIC/VLAN_ID"</div><div>IMAGE_RESTRICTED_ATTR = "SOURCE"</div><div>[oneadmin@gcloud-front etc]$</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>>>> host machines</div><div><br></div><div> [root@gcloud01 ~]# grep -Ev '^(#|$)' /etc/libvirt/qemu.conf</div><div>user = "oneadmin"</div><div>group = "oneadmin"</div><div>dynamic_ownership = 0</div><div>[root@gcloud01 ~]#</div><div><br></div><div><div> [root@gcloud01 ~]# grep -vE '^(#|$)' libvirtd</div><div>LIBVIRTD_ARGS="--listen"</div><div><br></div><div> [root@gcloud01 ~]#grep -vE '^(#|$)' libvirtd.conf</div><div>unix_sock_group = "libvirt"</div><div>unix_sock_ro_perms = "0777"</div><div>unix_sock_rw_perms= "0777"</div><div>auth_unix_ro = "none"</div><div>auth_unix_rw = "none"</div><div><br></div></div><div><br></div><div><br></div><div><br></div><div>Thanks </div><div>Gyeong-Ryoon Kim.</div></body></html>