Hi Robert,<div><br></div><div>as far as I can tell it may be happening that in onedsetup you're not leaving enough time to OpenNebula to fully bootstrap, thus failing the next time it starts. Can you increase the sleep at the end of the script?</div>
<div><br></div><div>However, I don't fully understand the purpose of this email, why should we trouble with running OpenNebula once before letting the user?</div><div><br></div><div>Cheers,<br>Jaime</div><div><br><div class="gmail_quote">
On Fri, May 11, 2012 at 8:18 PM, Robert Schweikert <span dir="ltr"><<a href="mailto:rjschwei@suse.com" target="_blank">rjschwei@suse.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Still fighting with 3.4.1 :( . I have now run into initialization trouble that I cannot figure out why it is happening.<br>
<br>
Running onedsetup for the first time produces the following error:<br>
<br>
/usr/sbin/onedsetup: line 105: 7993 Terminated $ONED -f 2>&1<br>
<br>
And the oned.log file looks as follows:<br>
<br>
Fri May 11 14:05:10 2012 [ONE][I]: Starting OpenNebula 3.4.1<br>
------------------------------<u></u>----------<br>
OpenNebula Configuration File<br>
------------------------------<u></u>----------<br>
AUTH_MAD=ARGUMENTS=--authn ssh,x509,ldap,server_cipher,<u></u>server_x509,EXECUTABLE=one_<u></u>auth_mad<br>
DATASTORE_LOCATION=/var/lib/<u></u>one//datastores<br>
DATASTORE_MAD=ARGUMENTS=-t 15 -d fs,vmware,iscsi,EXECUTABLE=<u></u>one_datastore<br>
DB=BACKEND=sqlite<br>
DEBUG_LEVEL=3<br>
DEFAULT_DEVICE_PREFIX=hd<br>
DEFAULT_IMAGE_TYPE=OS<br>
ENABLE_OTHER_PERMISSIONS=YES<br>
HM_MAD=EXECUTABLE=one_hm<br>
HOST_MONITORING_INTERVAL=600<br>
HOST_PER_INTERVAL=15<br>
IMAGE_RESTRICTED_ATTR=SOURCE<br>
IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,<u></u>NAME=im_kvm<br>
MAC_PREFIX=02:00<br>
MANAGER_TIMER=15<br>
NETWORK_SIZE=254<br>
PORT=2633<br>
SCRIPTS_REMOTE_DIR=/var/tmp/<u></u>one<br>
SESSION_EXPIRATION_TIME=900<br>
TM_MAD=ARGUMENTS=-t 15 -d dummy,shared,qcow2,ssh,vmware,<u></u>iscsi,EXECUTABLE=one_tm<br>
VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_exec/vmm_exec_<u></u>kvm.conf,EXECUTABLE=one_vmm_<u></u>exec,NAME=vmm_kvm,TYPE=kvm<br>
VM_PER_INTERVAL=5<br>
VM_POLLING_INTERVAL=600<br>
VM_RESTRICTED_ATTR=CONTEXT/<u></u>FILES<br>
VM_RESTRICTED_ATTR=DISK/SOURCE<br>
VM_RESTRICTED_ATTR=NIC/MAC<br>
VM_RESTRICTED_ATTR=NIC/VLAN_ID<br>
VM_RESTRICTED_ATTR=RANK<br>
VNC_BASE_PORT=5900<br>
------------------------------<u></u>----------<br>
Fri May 11 14:05:10 2012 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=<u></u>DEBUG]<br>
Fri May 11 14:05:10 2012 [ONE][I]: Checking database version.<br>
Fri May 11 14:05:10 2012 [ONE][E]: SQL command was: SELECT version FROM db_versioning WHERE oid=(SELECT MAX(oid) FROM db_versioning), error: no such table: db_versioning<br>
Fri May 11 14:05:10 2012 [ONE][E]: SQL command was: SELECT MAX(oid) FROM user_pool, error: no such table: user_pool<br>
Fri May 11 14:05:10 2012 [ONE][I]: Bootstrapping OpenNebula database.<br>
<br>
<br>
The one.db file is created. If I re-run onedsetup after the initial failure it works and I can then successfully start oned. Any ideas what's going on here?<br>
<br>
Thanks,<br>
Robert<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Robert Schweikert MAY THE SOURCE BE WITH YOU<br>
SUSE-IBM Software Integration Center LINUX<br>
Tech Lead<br>
<a href="mailto:rjschwei@suse.com" target="_blank">rjschwei@suse.com</a><br>
<a href="mailto:rschweik@ca.ibm.com" target="_blank">rschweik@ca.ibm.com</a><br>
<a href="tel:781-464-8147" value="+17814648147" target="_blank">781-464-8147</a><br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</font></span></blockquote></div><br></div><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>