[one-users] Initialization trouble

Jaime Melis jmelis at opennebula.org
Mon May 14 04:24:13 PDT 2012


Hi Robert,

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?

However, I don't fully understand the purpose of this email, why should we
trouble with running OpenNebula once before letting the user?

Cheers,
Jaime

On Fri, May 11, 2012 at 8:18 PM, Robert Schweikert <rjschwei at suse.com>wrote:

> Hi,
>
> Still fighting with 3.4.1 :( . I have now run into initialization trouble
> that I cannot figure out why it is happening.
>
> Running onedsetup for the first time produces the following error:
>
> /usr/sbin/onedsetup: line 105:  7993 Terminated           $ONED -f 2>&1
>
> And the oned.log file looks as follows:
>
> Fri May 11 14:05:10 2012 [ONE][I]: Starting OpenNebula 3.4.1
> ------------------------------**----------
>     OpenNebula Configuration File
> ------------------------------**----------
> AUTH_MAD=ARGUMENTS=--authn ssh,x509,ldap,server_cipher,**
> server_x509,EXECUTABLE=one_**auth_mad
> DATASTORE_LOCATION=/var/lib/**one//datastores
> DATASTORE_MAD=ARGUMENTS=-t 15 -d fs,vmware,iscsi,EXECUTABLE=**
> one_datastore
> DB=BACKEND=sqlite
> DEBUG_LEVEL=3
> DEFAULT_DEVICE_PREFIX=hd
> DEFAULT_IMAGE_TYPE=OS
> ENABLE_OTHER_PERMISSIONS=YES
> HM_MAD=EXECUTABLE=one_hm
> HOST_MONITORING_INTERVAL=600
> HOST_PER_INTERVAL=15
> IMAGE_RESTRICTED_ATTR=SOURCE
> IM_MAD=ARGUMENTS=-r 0 -t 15 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
> SESSION_EXPIRATION_TIME=900
> TM_MAD=ARGUMENTS=-t 15 -d dummy,shared,qcow2,ssh,vmware,**
> iscsi,EXECUTABLE=one_tm
> VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_exec/vmm_exec_**
> kvm.conf,EXECUTABLE=one_vmm_**exec,NAME=vmm_kvm,TYPE=kvm
> VM_PER_INTERVAL=5
> VM_POLLING_INTERVAL=600
> VM_RESTRICTED_ATTR=CONTEXT/**FILES
> VM_RESTRICTED_ATTR=DISK/SOURCE
> VM_RESTRICTED_ATTR=NIC/MAC
> VM_RESTRICTED_ATTR=NIC/VLAN_ID
> VM_RESTRICTED_ATTR=RANK
> VNC_BASE_PORT=5900
> ------------------------------**----------
> Fri May 11 14:05:10 2012 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=
> **DEBUG]
> Fri May 11 14:05:10 2012 [ONE][I]: Checking database version.
> 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
> Fri May 11 14:05:10 2012 [ONE][E]: SQL command was: SELECT MAX(oid) FROM
> user_pool, error: no such table: user_pool
> Fri May 11 14:05:10 2012 [ONE][I]: Bootstrapping OpenNebula database.
>
>
> 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?
>
> Thanks,
> Robert
>
> --
> Robert Schweikert                           MAY THE SOURCE BE WITH YOU
> SUSE-IBM Software Integration Center                   LINUX
> Tech Lead
> rjschwei at suse.com
> rschweik at ca.ibm.com
> 781-464-8147
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>



-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120514/206889fd/attachment-0003.htm>


More information about the Users mailing list