[one-users] Failing ONE 4.7.80-1 on Debian
Javier Fontan
jfontan at opennebula.org
Sat Jul 19 11:35:26 PDT 2014
What version of debian are you using? We have tried both 7.1 and 7.6
without problems.
On Sat, Jul 19, 2014 at 7:27 PM, Daniel Dehennin
<daniel.dehennin at baby-gnu.org> wrote:
> Hello,
>
> As I'm very interested in the changes to VNET[1][2] in the next ONE 4.8,
> I tried the Debian package I found in the new repos[3].
>
> I don't know if it's in a state for testing but unfortunately, oned
> segfault.
>
> I attach the logs.
>
> Regards.
>
> Footnotes:
> [1] dev.opennebula.org/issues/2858
>
> [2] https://github.com/OpenNebula/docs/blob/master/source/user/virtual_resource_management/vgg.rst
>
> [3] http://downloads.opennebula.org/repo/4.8/
>
> --
> Daniel Dehennin
> Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
> Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF
>
>
> root at test-nebula:~# apt-cache policy opennebula
> opennebula:
> Installed: 4.7.80-1
> Candidate: 4.7.80-1
> Version table:
> *** 4.7.80-1 0
> 500 http://downloads.opennebula.org/repo/4.8/Debian/7/ stable/opennebula amd64 Packages
> 100 /var/lib/dpkg/status
> 3.4.1-3.1 0
> 500 http://ftp.fr.debian.org/debian/ wheezy/main amd64 Packages
>
> # Enable debug
> root at test-nebula:~# sed -e '2a set -x\n' /usr/bin/one
>
> root at test-nebula:~# /bin/sh -x /etc/init.d/opennebula start
> + PATH=/sbin:/usr/sbin:/bin:/usr/bin
> + DESC=OpenNebula cloud
> + NAME=one
> + DAEMON=/usr/bin/one
> + DAEMON_ARGS=
> + PIDFILE=/var/run/one.pid
> + SCRIPTNAME=/etc/init.d/one
> + [ -x /usr/bin/one ]
> + . /lib/init/vars.sh
> + TMPTIME=0
> + SULOGIN=no
> + DELAYLOGIN=no
> + UTC=yes
> + VERBOSE=no
> + FSCKFIX=no
> + [ -f /etc/default/rcS ]
> + . /etc/default/rcS
> + unset EDITMOTD
> + unset RAMRUN
> + unset RAMLOCK
> + [ -r /proc/cmdline ]
> + cat /proc/cmdline
> + [ ]
> + [ ]
> + . /lib/lsb/init-functions
> + run-parts --lsbsysinit --list /lib/lsb/init-functions.d
> + [ -r /lib/lsb/init-functions.d/20-left-info-blocks ]
> + . /lib/lsb/init-functions.d/20-left-info-blocks
> + FANCYTTY=
> + [ -e /etc/lsb-base-logging.sh ]
> + true
> + [ no != no ]
> + do_start
> + mkdir -p /var/run/one /var/lock/one
> + chown oneadmin /var/run/one /var/lock/one
> + su oneadmin -s /bin/sh -c one start
> + '[' -z '' ']'
> + ONE_PID=/var/run/one/oned.pid
> + ONE_SCHEDPID=/var/run/one/sched.pid
> + ONE_CONF=/etc/one/oned.conf
> + ONE_DB=/var/lib/one/one.db
> + ONE_LOG=/var/log/one/oned.log
> + ONE_SCHED_LOG=/var/log/one/sched.log
> + ONE_XMLRPC_LOG=/var/log/one/one_xmlrpc.log
> + ONED=/usr/bin/oned
> + ONE_SCHEDULER=/usr/bin/mm_sched
> + LOCK_FILE=/var/lock/one/one
> + KILL_9_SECONDS=5
> + BACKUP=true
> + '[' start = -f ']'
> + case "$1" in
> + setup
> ++ dirname /var/run/one/oned.pid
> + ONE_PID_DIR=/var/run/one
> + mkdir -p /var/run/one
> + '[' '!' -w /var/run/one ']'
> + '[' -f /var/lock/one/one ']'
> + start
> + '[' '!' -x /usr/bin/oned ']'
> + '[' '!' -x /usr/bin/mm_sched ']'
> + '[' '!' -f /var/lib/one/one.db ']'
> + '[' '!' -f /var/lib/one/.one/one_auth ']'
> + start_oned
> + '[' true = true ']'
> + '[' -f /var/log/one/oned.log ']'
> + '[' -f /var/log/one/one_xmlrpc.log ']'
> + LASTRC=0
> + LASTPID=7652
> + '[' 0 -ne 0 ']'
> + echo 7652
> + start_sched
> + /usr/bin/oned -f
> + '[' true = true ']'
> + '[' -f /var/log/one/sched.log ']'
> + LASTRC=0
> + LASTPID=7653
> + '[' 0 -ne 0 ']'
> + echo 7653
> + sleep 3
> + /usr/bin/mm_sched
> /usr/bin/one: line 130: 7652 Segmentation fault $ONED -f 2>&1
> + STARTED=true
> ++ cat /var/run/one/oned.pid
> + ps 7652
> + '[' 1 -ne 0 ']'
> + echo 'oned failed to start'
> oned failed to start
> + STARTED=false
> ++ cat /var/run/one/sched.pid
> + ps 7653
> + '[' 0 -ne 0 ']'
> + '[' false == false ']'
> + stop
> + stop_oned
> + '[' -f /var/run/one/oned.pid ']'
> ++ cat /var/run/one/oned.pid
> + PID=7652
> + kill 7652
> + counter=0
> + ps 7652
> + rm -f /var/run/one/oned.pid
> + stop_sched
> + '[' -f /var/run/one/sched.pid ']'
> ++ cat /var/run/one/sched.pid
> + kill 7653
> + rm -f /var/run/one/sched.pid
> /usr/bin/one: line 119: 7653 Terminated $ONE_SCHEDULER
> + exit -1
> + :
>
> root at test-nebula:~# cat /var/log/one/oned.log
> Sat Jul 19 19:09:06 2014 [Z0][ONE][I]: Starting OpenNebula 4.7.80
> ----------------------------------------
> OpenNebula Configuration File
> ----------------------------------------
> AUTH_MAD=AUTHN=ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad
> DATASTORE_BASE_PATH=/var/lib/one//datastores
> DATASTORE_CAPACITY_CHECK=yes
> DATASTORE_LOCATION=/var/lib/one//datastores
> DATASTORE_MAD=ARGUMENTS=-t 15 -d dummy,fs,vmfs,lvm,ceph,dev,EXECUTABLE=one_datastore
> DB=BACKEND=sqlite
> DEFAULT_CDROM_DEVICE_PREFIX=hd
> DEFAULT_DEVICE_PREFIX=hd
> DEFAULT_IMAGE_TYPE=OS
> DEFAULT_UMASK=177
> ENABLE_OTHER_PERMISSIONS=YES
> FEDERATION=MASTER_ONED=,MODE=STANDALONE,ZONE_ID=0
> HM_MAD=EXECUTABLE=one_hm
> HOST_MONITORING_EXPIRATION_TIME=43200
> HOST_PER_INTERVAL=15
> IMAGE_RESTRICTED_ATTR=SOURCE
> IM_MAD=ARGUMENTS=-p 4124 -f 5 -t 50 -i 20,EXECUTABLE=collectd,NAME=collectd
> IM_MAD=ARGUMENTS=-r 3 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=kvm
> INHERIT_DATASTORE_ATTR=CEPH_HOST
> INHERIT_DATASTORE_ATTR=CEPH_SECRET
> INHERIT_DATASTORE_ATTR=CEPH_USER
> INHERIT_DATASTORE_ATTR=GLUSTER_HOST
> INHERIT_DATASTORE_ATTR=GLUSTER_VOLUME
> INHERIT_VNET_ATTR=VLAN_TAGGED_ID
> KEEPALIVE_MAX_CONN=30
> KEEPALIVE_TIMEOUT=15
> LOG=DEBUG_LEVEL=3,SYSTEM=file
> MAC_PREFIX=02:00
> MANAGER_TIMER=15
> MAX_CONN=15
> MAX_CONN_BACKLOG=15
> MESSAGE_SIZE=1073741824
> MONITORING_INTERVAL=60
> MONITORING_THREADS=50
> NETWORK_SIZE=254
> PORT=2633
> RPC_LOG=NO
> SCRIPTS_REMOTE_DIR=/var/tmp/one
> SESSION_EXPIRATION_TIME=900
> TIMEOUT=15
> TM_MAD=ARGUMENTS=-t 15 -d dummy,lvm,shared,fs_lvm,qcow2,ssh,vmfs,ceph,dev,EXECUTABLE=one_tm
> TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=NONE,NAME=dummy,SHARED=yes
> TM_MAD_CONF=CLONE_TARGET=SELF,LN_TARGET=NONE,NAME=lvm,SHARED=yes
> TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=NONE,NAME=shared,SHARED=yes
> TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=SYSTEM,NAME=fs_lvm,SHARED=yes
> TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=NONE,NAME=qcow2,SHARED=yes
> TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=SYSTEM,NAME=ssh,SHARED=no
> TM_MAD_CONF=CLONE_TARGET=SYSTEM,LN_TARGET=NONE,NAME=vmfs,SHARED=yes
> TM_MAD_CONF=CLONE_TARGET=SELF,LN_TARGET=NONE,NAME=ceph,SHARED=yes
> TM_MAD_CONF=CLONE_TARGET=NONE,LN_TARGET=NONE,NAME=dev,SHARED=yes
> VM_INDIVIDUAL_MONITORING=no
> VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=kvm,TYPE=kvm
> VM_MONITORING_EXPIRATION_TIME=14400
> VM_PER_INTERVAL=5
> VM_RESTRICTED_ATTR=CONTEXT/FILES
> VM_RESTRICTED_ATTR=NIC/MAC
> VM_RESTRICTED_ATTR=NIC/VLAN_ID
> VM_RESTRICTED_ATTR=NIC/BRIDGE
> VM_RESTRICTED_ATTR=NIC_DEFAULT/MAC
> VM_RESTRICTED_ATTR=NIC_DEFAULT/VLAN_ID
> VM_RESTRICTED_ATTR=NIC_DEFAULT/BRIDGE
> VM_RESTRICTED_ATTR=DISK/TOTAL_BYTES_SEC
> VM_RESTRICTED_ATTR=DISK/READ_BYTES_SEC
> VM_RESTRICTED_ATTR=DISK/WRITE_BYTES_SEC
> VM_RESTRICTED_ATTR=DISK/TOTAL_IOPS_SEC
> VM_RESTRICTED_ATTR=DISK/READ_IOPS_SEC
> VM_RESTRICTED_ATTR=DISK/WRITE_IOPS_SEC
> VM_SUBMIT_ON_HOLD=NO
> VNC_BASE_PORT=5900
> ----------------------------------------
> Sat Jul 19 19:09:06 2014 [Z0][ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
> Sat Jul 19 19:09:06 2014 [Z0][ONE][I]: Support for xmlrpc-c > 1.31: yes
> Sat Jul 19 19:09:06 2014 [Z0][ONE][I]: Checking database version.
> Sat Jul 19 19:09:06 2014 [Z0][ONE][I]: Bootstrapping OpenNebula database, stage 1.
> Sat Jul 19 19:09:06 2014 [Z0][ONE][I]: Bootstrapping OpenNebula database, stage 2.
> Sat Jul 19 19:09:06 2014 [Z0][ACL][I]: Starting ACL Manager...
> Sat Jul 19 19:09:06 2014 [Z0][ACL][I]: ACL Manager started.
>
> root at test-nebula:~# cat /var/log/one/sched.log
> Sat Jul 19 19:09:06 2014 [Z0][SCHED][I]: Init Scheduler Log system
> Sat Jul 19 19:09:06 2014 [Z0][SCHED][I]: Starting Scheduler Daemon
> ----------------------------------------
> Scheduler Configuration File
> ----------------------------------------
> DEFAULT_DS_SCHED=POLICY=1
> DEFAULT_SCHED=POLICY=1
> LIVE_RESCHEDS=0
> LOG=DEBUG_LEVEL=3,SYSTEM=file
> MAX_DISPATCH=30
> MAX_HOST=1
> MAX_VM=5000
> MESSAGE_SIZE=1073741824
> ONED_PORT=2633
> SCHED_INTERVAL=30
> ----------------------------------------
> Sat Jul 19 19:09:06 2014 [Z0][SCHED][I]: XML-RPC client using 1073741824 bytes for response buffer.
>
> Sat Jul 19 19:09:06 2014 [Z0][SCHED][E]: Cannot contact oned, will retry... Error: Unable to transport XML to server and get XML response back. libcurl failed to execute the HTTP POST transaction, explaining: Failed to connect to localhost port 2633: Connection refused
> Sat Jul 19 19:09:08 2014 [Z0][SCHED][E]: Cannot contact oned, will retry... Error: Unable to transport XML to server and get XML response back. libcurl failed to execute the HTTP POST transaction, explaining: Failed to connect to localhost port 2633: Connection refused
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
More information about the Users
mailing list