Dear all,<br><br>I'm new to opennebula. I'm already install OpenNebula in CentOS5.5 (textmode).<br>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:<br>
<br><span style="font-family: courier new,monospace;">DB=BACKEND=mysql,DB_NAME=XXXuser,PASSWD=XXXpasswd,PORT=0,SERVER=localhost,USER=openadmin</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">DEBUG_LEVEL=3</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">DEFAULT_DEVICE_PREFIX=hd </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">DEFAULT_IMAGE_TYPE=OS</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">HM_MAD=EXECUTABLE=one_hm </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">HOST_MONITORING_INTERVAL=600</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">IMAGE_REPOSITORY_PATH=/srv/cloud/one/var//images</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">IM_MAD=ARGUMENTS=kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">MAC_PREFIX=02:00</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">MANAGER_TIMER=15</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">NETWORK_SIZE=254</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">PORT=2633</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">SCRIPTS_REMOTE_DIR=/var/tmp/one</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">VM_DIR=/srv/cloud/one/var</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">VM_MAD=ARGUMENTS=kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">VM_POLLING_INTERVAL=600</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">VNC_BASE_PORT=5900</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [ONE][I]: Bootstraping OpenNebula database.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [VMM][I]: Starting Virtual Machine Manager...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [LCM][I]: Starting Life-cycle Manager...</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [InM][I]: Starting Information Manager...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [VMM][I]: Virtual Machine Manager started.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [LCM][I]: Life-cycle Manager started.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [InM][I]: Information Manager started.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [TrM][I]: Starting Transfer Manager...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [DiM][I]: Starting Dispatch Manager...</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [ReM][I]: Starting Request Manager...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [ReM][I]: Starting XML-RPC server, port 2633 ...</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [HKM][I]: Starting Hook Manager...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [TrM][I]: Transfer Manager started.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [DiM][I]: Dispatch Manager started.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [ReM][I]: Request Manager started.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:29:59 2011 [HKM][I]: Hook Manager started.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:30:01 2011 [VMM][I]: Loading Virtual Machine Manager drivers.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:30:01 2011 [VMM][I]: Loading driver: vmm_kvm (KVM)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:30:01 2011 [VMM][I]: Driver vmm_kvm loaded.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:30:01 2011 [InM][I]: Loading Information Manager drivers.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:30:01 2011 [InM][I]: Loading driver: im_kvm</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:30:01 2011 [InM][I]: Driver im_kvm loaded</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:30:01 2011 [TM][I]: Loading Transfer Manager drivers.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:30:01 2011 [VMM][I]: Loading driver: tm_nfs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:30:01 2011 [TM][I]: Driver tm_nfs loaded.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:30:01 2011 [HKM][I]: Loading Hook Manager driver.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fri Apr 1 10:30:01 2011 [HKM][I]: Hook Manager loaded</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;" clear="all"><b><i><span style="font-family: courier new,monospace;">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'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:35:45 2011 [InM][I]: STDERR follows.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">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</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Fri Apr 1 10:35:45 2011 [InM][I]: error: failed to connect to the hypervisor</span><br></i></b><br><b><span style="font-family: courier new,monospace;">$ onehost list</span></b><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <b>ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT</b></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> 0 node01 default 0 0 0 100 0K 0K err</span><br style="font-family: courier new,monospace;">
<br><b><span style="font-family: courier new,monospace;">$ cat /srv/cloud/one/etc/oned.conf</span></b><br><span style="font-family: courier new,monospace;">HOST_MONITORING_INTERVAL = 600</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">VM_POLLING_INTERVAL = 600</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">VM_DIR=/srv/cloud/one/var</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">SCRIPTS_REMOTE_DIR=/var/tmp/one</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">PORT=2633</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">DB = [ backend = "mysql",</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> server = "localhost",</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> port = 0,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> user = "XXXuser",</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> passwd = "XXXpasswd",</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> db_name = "opennebula" ]</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">VNC_BASE_PORT = 5900</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">DEBUG_LEVEL=3</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">NETWORK_SIZE = 254</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">MAC_PREFIX = "02:00"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">DEFAULT_IMAGE_TYPE = "OS"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">DEFAULT_DEVICE_PREFIX = "hd"</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">IM_MAD = [</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> name = "im_kvm",</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> executable = "one_im_ssh",</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> arguments = "kvm" ]</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">VM_MAD = [</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> name = "vmm_kvm",</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> executable = "one_vmm_ssh",</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> arguments = "kvm",</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> default = "vmm_ssh/vmm_ssh_kvm.conf",</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> type = "kvm" ]</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">TM_MAD = [</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> name = "tm_nfs",</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> executable = "one_tm",</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> arguments = "tm_nfs/tm_nfs.conf" ]</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">HM_MAD = [</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> executable = "one_hm" ]</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">VM_HOOK = [</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> name = "image",</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> on = "DONE",</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> command = "image.rb",</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> arguments = "$VMID" ]</span><br><br>I already install libvirt-bin on Ubuntu Server 10.10(node)<br><br>Thanks<br>-------------------<br>F: Hoang Dinh Phuc<br>
E: <a href="mailto:hdphuc@gmail.com" target="_blank">hdphuc@gmail.com</a><br>M: +84909398700<br><br>