[one-users] Asking about onehost command
Héctor Sanjuán
hsanjuan at opennebula.org
Fri Apr 1 06:04:05 PDT 2011
Hi,
please check this:
http://lists.opennebula.org/pipermail/users-opennebula.org/2011-March/004580.html
and see if it fixes it. Hope it helps,
Héctor
El 01/04/11 05:59, Hoang Dinh Phuc escribió:
> Dear all,
>
> I'm new to opennebula. I'm already install OpenNebula in CentOS5.5
> (textmode).
> When i'm using command onehost to add a node to cluster, it make an
> STATE Err, here is my oned.log. Please tell me the solution:
>
> DB=BACKEND=mysql,DB_NAME=XXXuser,PASSWD=XXXpasswd,PORT=0,SERVER=localhost,USER=openadmin
> DEBUG_LEVEL=3
> DEFAULT_DEVICE_PREFIX=hd
> DEFAULT_IMAGE_TYPE=OS
> HM_MAD=EXECUTABLE=one_hm
> HOST_MONITORING_INTERVAL=600
> IMAGE_REPOSITORY_PATH=/srv/cloud/one/var//images
> IM_MAD=ARGUMENTS=kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
> MAC_PREFIX=02:00
> MANAGER_TIMER=15
> NETWORK_SIZE=254
> PORT=2633
> SCRIPTS_REMOTE_DIR=/var/tmp/one
> TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs
> VM_DIR=/srv/cloud/one/var
> VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
> VM_MAD=ARGUMENTS=kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm
> VM_POLLING_INTERVAL=600
> VNC_BASE_PORT=5900
>
> Fri Apr 1 10:29:59 2011 [ONE][I]: Bootstraping OpenNebula database.
> Fri Apr 1 10:29:59 2011 [VMM][I]: Starting Virtual Machine Manager...
> Fri Apr 1 10:29:59 2011 [LCM][I]: Starting Life-cycle Manager...
> Fri Apr 1 10:29:59 2011 [InM][I]: Starting Information Manager...
> Fri Apr 1 10:29:59 2011 [VMM][I]: Virtual Machine Manager started.
> Fri Apr 1 10:29:59 2011 [LCM][I]: Life-cycle Manager started.
> Fri Apr 1 10:29:59 2011 [InM][I]: Information Manager started.
> Fri Apr 1 10:29:59 2011 [TrM][I]: Starting Transfer Manager...
> Fri Apr 1 10:29:59 2011 [DiM][I]: Starting Dispatch Manager...
> Fri Apr 1 10:29:59 2011 [ReM][I]: Starting Request Manager...
> Fri Apr 1 10:29:59 2011 [ReM][I]: Starting XML-RPC server, port 2633 ...
> Fri Apr 1 10:29:59 2011 [HKM][I]: Starting Hook Manager...
> Fri Apr 1 10:29:59 2011 [TrM][I]: Transfer Manager started.
> Fri Apr 1 10:29:59 2011 [DiM][I]: Dispatch Manager started.
> Fri Apr 1 10:29:59 2011 [ReM][I]: Request Manager started.
> Fri Apr 1 10:29:59 2011 [HKM][I]: Hook Manager started.
> Fri Apr 1 10:30:01 2011 [VMM][I]: Loading Virtual Machine Manager drivers.
> Fri Apr 1 10:30:01 2011 [VMM][I]: Loading driver: vmm_kvm (KVM)
> Fri Apr 1 10:30:01 2011 [VMM][I]: Driver vmm_kvm loaded.
> Fri Apr 1 10:30:01 2011 [InM][I]: Loading Information Manager drivers.
> Fri Apr 1 10:30:01 2011 [InM][I]: Loading driver: im_kvm
> Fri Apr 1 10:30:01 2011 [InM][I]: Driver im_kvm loaded
> Fri Apr 1 10:30:01 2011 [TM][I]: Loading Transfer Manager drivers.
> Fri Apr 1 10:30:01 2011 [VMM][I]: Loading driver: tm_nfs
> Fri Apr 1 10:30:01 2011 [TM][I]: Driver tm_nfs loaded.
> Fri Apr 1 10:30:01 2011 [HKM][I]: Loading Hook Manager driver.
> Fri Apr 1 10:30:01 2011 [HKM][I]: Hook Manager loaded
>
> */Fri Apr 1 10:35:45 2011 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm
> node01; else exit 42; fi'
> Fri Apr 1 10:35:45 2011 [InM][I]: STDERR follows.
> Fri Apr 1 10:35:45 2011 [InM][I]: error: unable to connect to
> '/var/run/libvirt/libvirt-sock', libvirtd may need to be started:
> Permission denied
> Fri Apr 1 10:35:45 2011 [InM][I]: error: failed to connect to the
> hypervisor
> /*
> *$ onehost list*
> *ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM
> FMEM STAT*
> 0 node01 default 0 0 0 100 0K
> 0K err
>
> *$ cat /srv/cloud/one/etc/oned.conf*
> HOST_MONITORING_INTERVAL = 600
> VM_POLLING_INTERVAL = 600
>
> VM_DIR=/srv/cloud/one/var
> SCRIPTS_REMOTE_DIR=/var/tmp/one
> PORT=2633
>
> DB = [ backend = "mysql",
> server = "localhost",
> port = 0,
> user = "XXXuser",
> passwd = "XXXpasswd",
> db_name = "opennebula" ]
>
> VNC_BASE_PORT = 5900
> DEBUG_LEVEL=3
> NETWORK_SIZE = 254
> MAC_PREFIX = "02:00"
> DEFAULT_IMAGE_TYPE = "OS"
> DEFAULT_DEVICE_PREFIX = "hd"
>
> IM_MAD = [
> name = "im_kvm",
> executable = "one_im_ssh",
> arguments = "kvm" ]
>
> VM_MAD = [
> name = "vmm_kvm",
> executable = "one_vmm_ssh",
> arguments = "kvm",
> default = "vmm_ssh/vmm_ssh_kvm.conf",
> type = "kvm" ]
>
> TM_MAD = [
> name = "tm_nfs",
> executable = "one_tm",
> arguments = "tm_nfs/tm_nfs.conf" ]
>
> HM_MAD = [
> executable = "one_hm" ]
>
> VM_HOOK = [
> name = "image",
> on = "DONE",
> command = "image.rb",
> arguments = "$VMID" ]
>
> I already install libvirt-bin on Ubuntu Server 10.10(node)
>
> Thanks
> -------------------
> F: Hoang Dinh Phuc
> E: hdphuc at gmail.com <mailto:hdphuc at gmail.com>
> M: +84909398700
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
Héctor Sanjuan
OpenNebula.org
More information about the Users
mailing list