[one-users] live migration error

김 경륜 grkim at kisti.re.kr
Wed Aug 14 01:21:34 PDT 2013


Hi Hyun Woo,

My all hosts(gcloud01~03) have a virsh command 



[root at gcloud03 ~]# which virsh
/usr/bin/virsh
[root at gcloud03 ~]# virsh -c qemu:///system nodeinfo
CPU 모델:          x86_64
CPU:                 6
CPU 주파수:       2660 MHz
CPU 소켓:          1
소켓당 코어:    6
코어당 스레드: 1
NUMA cell:           1
메모리 용량:    24597092 KiB

[root at gcloud03 ~]#



Thanks
Gyeong-Ryoon Kim.


2013. 8. 13., 오후 10:57, Hyun Woo Kim <hyunwoo at fnal.gov> 작성:

> This error seems to say that gcloud03 does not have virsh command installed yet.
> HyunWoo
> 
> From: 김 경륜 <grkim at kisti.re.kr>
> Date: Tuesday, August 13, 2013 3:22 AM
> To: Users OpenNebula <users at lists.opennebula.org>
> Subject: [one-users] live migration error
> 
> HI all
> 
> When I do live migration command  it doesn't work 
> 
> I have this error message on vm log.
> 
> Mon Aug 12 20:39:39 2013 [LCM][I]: New VM state is MIGRATE
> Mon Aug 12 20:39:39 2013 [VMM][I]: Successfully execute transfer manager driver operation: tm_premigrate.
> Mon Aug 12 20:39:39 2013 [VMM][I]: ExitCode: 0
> Mon Aug 12 20:39:39 2013 [VMM][I]: Successfully execute network driver operation: pre.
> 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
> Mon Aug 12 20:39:39 2013 [VMM][I]: /gcloud/one//var/remotes/vmm/kvm/migrate_local: line 25: virsh: command not found
> Mon Aug 12 20:39:39 2013 [VMM][I]: ExitCode: 127
> Mon Aug 12 20:39:39 2013 [VMM][I]: Failed to execute virtualization driver operation: migrate.
> Mon Aug 12 20:39:39 2013 [VMM][E]: Error live migrating VM
> Mon Aug 12 20:39:40 2013 [LCM][I]: Fail to live migrate VM. Assuming that the VM is still RUNNING (will poll VM).
> 
> 
> 
> 
> 
> I'm using scientific linux for all the host and kvm driver . The OpenNubula version is 4.2.
> 
> 
> basic configuration like below:
> 
> >> front-end machine
> [oneadmin at gcloud-front etc]$ grep -vE '^(#|$)' oned.conf
> LOG = [
>   system      = "file",
>   debug_level = 3
> ]
> MONITORING_INTERVAL              = 300
> SCRIPTS_REMOTE_DIR=/var/tmp/one
> PORT = 2633
> DB = [ backend = "sqlite" ]
> VNC_BASE_PORT = 5900
> NETWORK_SIZE = 254
> MAC_PREFIX   = "02:00"
> DATASTORE_CAPACITY_CHECK = "yes"
> DEFAULT_IMAGE_TYPE    = "OS"
> DEFAULT_DEVICE_PREFIX = "hd"
> IM_MAD = [
>       name       = "kvm",
>       executable = "one_im_ssh",
>       arguments  = "-r 0 -t 15 kvm" ]
> IM_MAD = [
>       name       = "ec2",
>       executable = "one_im_ec2",
>       arguments  = "im_ec2/im_ec2.conf" ]
> VM_MAD = [
>     name       = "kvm",
>     executable = "one_vmm_exec",
>     arguments  = "-t 15 -r 0 kvm -l migrate=migrate_local",
>     #arguments  = "-t 15 -r 0 kvm -l ",
>     default    = "vmm_exec/vmm_exec_kvm.conf",
>     type       = "kvm" ]
> VM_MAD = [
>     name       = "ec2",
>     executable = "one_vmm_ec2",
>     arguments  = "vmm_ec2/vmm_ec2.conf",
>     type       = "xml" ]
> TM_MAD = [
>     executable = "one_tm",
>     arguments  = "-t 15 -d dummy,lvm,shared,qcow2,ssh,vmfs,iscsi,ceph" ]
> DATASTORE_MAD = [
>     executable = "one_datastore",
>     arguments  = "-t 15 -d dummy,fs,vmfs,iscsi,lvm,ceph"
> ]
> HM_MAD = [
>     executable = "one_hm" ]
> AUTH_MAD = [
>     executable = "one_auth_mad",
>     authn = "ssh,x509,ldap,server_cipher,server_x509"
> ]
> SESSION_EXPIRATION_TIME = 900
> DEFAULT_UMASK = 177
> VM_RESTRICTED_ATTR = "NIC/MAC"
> VM_RESTRICTED_ATTR = "NIC/VLAN_ID"
> IMAGE_RESTRICTED_ATTR = "SOURCE"
> [oneadmin at gcloud-front etc]$
> 
> 
> 
> 
> 
> 
> >>> host machines
> 
>  [root at gcloud01 ~]# grep  -Ev '^(#|$)' /etc/libvirt/qemu.conf
> user = "oneadmin"
> group = "oneadmin"
> dynamic_ownership = 0
> [root at gcloud01 ~]#
> 
>  [root at gcloud01 ~]# grep -vE '^(#|$)' libvirtd
> LIBVIRTD_ARGS="--listen"
> 
>  [root at gcloud01 ~]#grep -vE '^(#|$)' libvirtd.conf
> unix_sock_group = "libvirt"
> unix_sock_ro_perms = "0777"
> unix_sock_rw_perms= "0777"
> auth_unix_ro = "none"
> auth_unix_rw = "none"
> 
> 
> 
> 
> Thanks 
> Gyeong-Ryoon Kim.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130814/43eb91a9/attachment-0002.htm>


More information about the Users mailing list