<div dir="ltr"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Aloboud -</b> <span dir="ltr"><<a href="mailto:ebt.mhmd@gmail.com">ebt.mhmd@gmail.com</a>></span><br>
Date: 6 July 2014 13:06<br>Subject: urgent- VM state does not change from init<br>To: <a href="mailto:dev@lists.opennebula.org">dev@lists.opennebula.org</a>, <a href="mailto:discuss@lists.opennebula.org">discuss@lists.opennebula.org</a>, <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
<br><br><div dir="ltr"><div>We have opennebula ver.4.4, after configuring the opennebula to work KVM hypervisor and dummy network, the host stucked with INIT state and never change to ON state, attached the configuration and log file: <br>
</div><div>
<br></div><div><br></div><div><p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR"> </span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">DATASTORE_BASE_PATH=/storage/cloud/one/datastores</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">DATASTORE_CAPACITY_CHECK=yes</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">DATASTORE_LOCATION=/storage/cloud/one/datastores</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">DATASTORE_MAD=ARGUMENTS=-t
15 -d dummy,fs,vmfs,lvm,ceph,EXECUTABLE=one_datastore</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">DB=BACKEND=sqlite</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">DEFAULT_DEVICE_PREFIX=hd</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">DEFAULT_IMAGE_TYPE=OS</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">DEFAULT_UMASK=177</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">ENABLE_OTHER_PERMISSIONS=YES</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">HM_MAD=EXECUTABLE=one_hm</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">HOST_MONITORING_EXPIRATION_TIME=43200</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">HOST_PER_INTERVAL=15</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">IMAGE_RESTRICTED_ATTR=SOURCE</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">IM_MAD=ARGUMENTS=-p
4124 -f 5 -t 50 -i 20,EXECUTABLE=collectd,NAME=collectd</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">IM_MAD=ARGUMENTS=-r
3 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=kvm</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">IM_MAD=ARGUMENTS=-r
3 -t 15 kvm-probes,EXECUTABLE=one_im_ssh,NAME=kvm</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">INHERIT_DATASTORE_ATTR=CEPH_HOST</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">INHERIT_DATASTORE_ATTR=CEPH_SECRET</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">INHERIT_DATASTORE_ATTR=CEPH_USER</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">INHERIT_VNET_ATTR=VLAN_TAGGED_ID</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">KEEPALIVE_MAX_CONN=30</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">KEEPALIVE_TIMEOUT=15</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">LOG=DEBUG_LEVEL=3,SYSTEM=file</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">MAC_PREFIX=02:00</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">MANAGER_TIMER=15</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">MAX_CONN=15</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">MAX_CONN_BACKLOG=15</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">MONITORING_INTERVAL=60</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">MONITORING_THREADS=50</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">NETWORK_SIZE=254</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">PORT=2633</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">SCRIPTS_REMOTE_DIR=/var/tmp/one</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">SESSION_EXPIRATION_TIME=900</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">TIMEOUT=15</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">TM_MAD=ARGUMENTS=-t
15 -d dummy,lvm,shared,fs_lvm,qcow2,ssh,vmfs,ceph,EXECUTABLE =one_tm</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=NONE,NAME=dummy,SHARED=yes</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">TM_MAD_CONF=CLONE_TARGET=SELF,LN_TARGET=NONE,NAME=lvm,SHARED=yes</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=NONE,NAME=shared,SHARED=yes</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=SYSTEM,NAME=fs_lvm,SHARED=yes</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=NONE,NAME=qcow2,SHARED=yes</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=SYSTEM,NAME=ssh,SHARED=no</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=NONE,NAME=vmfs,SHARED=yes</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">TM_MAD_CONF=CLONE_TARGET=SELF,LN_TARGET=NONE,NAME=ceph,SHARED=yes</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">VM_MAD=ARGUMENTS=-t
15 -r 0 kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=on
e_vmm_exec,NAME=kvm,TYPE=kvm</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">VM_MAD=ARGUMENTS=-t
15 -r 0 kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=on
e_vmm_exec,NAME=qemu,TYPE=qemu</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">VM_MONITORING_EXPIRATION_TIME=14400</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">VM_PER_INTERVAL=5</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">VM_RESTRICTED_ATTR=CONTEXT/FILES</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">VM_RESTRICTED_ATTR=NIC/MAC</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">VM_RESTRICTED_ATTR=NIC/VLAN_ID</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">VM_RESTRICTED_ATTR=NIC/BRIDGE</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">VM_SUBMIT_ON_HOLD=NO</span></p>
<span style="font-size:11pt;line-height:115%;font-family:Calibri,sans-serif">VNC_BASE_PORT=5900</span><br></div><div><span style="font-size:11pt;line-height:115%;font-family:Calibri,sans-serif"><br></span></div><div><span style="font-size:11pt;line-height:115%;font-family:Calibri,sans-serif">=======================================================</span></div>
<div><br></div><div><br></div><div><br></div><div><p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">Sun
Jul 6 12:42:02 2014 [InM][I]: Command
execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then
/var/tmp/one/im/run_probes kvm /storage/cloud/one/datastores 4124 20 6 node3;
else exit
42; fi</span><span dir="RTL"></span><span dir="RTL"></span><span lang="AR-SA" style="font-family:Arial,sans-serif"><span dir="RTL"></span><span dir="RTL"></span>'</span><span dir="LTR"></span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">Sun
Jul 6 12:42:02 2014 [InM][I]: Warning:
Permanently added 'node3,192.168.10.3' (RSA) to the list of known hosts</span><span dir="RTL"></span><span dir="RTL"></span><span lang="AR-SA" style="font-family:Arial,sans-serif"><span dir="RTL"></span><span dir="RTL"></span>.</span><span dir="LTR"></span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">Sun
Jul 6 12:42:02 2014 [InM][I]: Connection
closed by 192.168.10.3</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">Sun
Jul 6 12:42:02 2014 [InM][I]: ExitCode:
255</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">Sun
Jul 6 12:42:07 2014 [InM][I]: Command
execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then
/var/tmp/one/im/run_probes kvm /storage/cloud/one/datastores 4124 20 10 node2;
else exit
42; fi</span><span dir="RTL"></span><span dir="RTL"></span><span lang="AR-SA" style="font-family:Arial,sans-serif"><span dir="RTL"></span><span dir="RTL"></span>'</span><span dir="LTR"></span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">Sun
Jul 6 12:42:07 2014 [InM][I]: Warning:
Permanently added 'node2,192.168.10.2' (RSA) to the list of known hosts</span><span dir="RTL"></span><span dir="RTL"></span><span lang="AR-SA" style="font-family:Arial,sans-serif"><span dir="RTL"></span><span dir="RTL"></span>.</span><span dir="LTR"></span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">Sun
Jul 6 12:42:07 2014 [InM][I]: Connection
closed by 192.168.10.2</span></p>
<p class="MsoNormal" dir="RTL" style="text-align:right"><span dir="LTR">Sun
Jul 6 12:42:07 2014 [InM][I]: ExitCode:
255</span></p>
<p class="MsoNormal" dir="RTL"><span dir="LTR"> </span></p></div></div>
</div><br></div>