[one-users] Failing ONE 4.7.80-1 on Debian
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@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@test-nebula:~# sed -e '2a set -x\n' /usr/bin/one root@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 21 + 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@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
Re: [one-users] Failing ONE 4.7.80-1 on Debian
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.dehen...@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@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@test-nebula:~# sed -e '2a set -x\n' /usr/bin/one root@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 21 + 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@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
Re: [one-users] Failing ONE 4.7.80-1 on Debian
Javier Fontan jfon...@opennebula.org writes: What version of debian are you using? We have tried both 7.1 and 7.6 without problems. Ok, I tried on testing, I'll give a try on Wheezy. Thanks. -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF signature.asc Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Failing ONE 4.7.80-1 on Debian
Daniel Dehennin daniel.dehen...@baby-gnu.org writes: Ok, I tried on testing, I'll give a try on Wheezy. Hello, After your answer on IRC, I tried to strace the oned process to see what could be wrong, I modifies the /usr/bin/one on line 187 with: strace -f -o /tmp/oned.strace.log $ONED -f 21 Here is the output: 3933 open(/var/lib/one, O_RDONLY|O_CLOEXEC) = 5 3933 fsync(5) = 0 3933 close(5) = 0 3933 lseek(4, 0, SEEK_SET) = 0 3933 write(4, \331\325\5\371 \241c\327\0\0\0\3, 12) = 12 3933 fsync(4) = 0 3933 lseek(3, 0, SEEK_SET) = 0 3933 write(3, SQLite format 3\0\4\0\1\1\0@ \0\0\0\37\0\0\0+..., 1024) = 1024 3933 lseek(3, 39936, SEEK_SET) = 39936 3933 write(3, \r\0\0\0\1\3k\0\3k\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 1024) = 1024 3933 lseek(3, 40960, SEEK_SET) = 40960 3933 write(3, \n\0\0\0\1\3\362\0\3\362\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 1024) = 1024 3933 fsync(3) = 0 3933 close(4) = 0 3933 unlink(/var/lib/one/one.db-journal) = 0 3933 fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}) = 0 3933 fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=2}) = 0 3933 fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 3933 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 3933 +++ killed by SIGSEGV +++ I don't know if this help, it's on Debian wheezy AMD64, uname -a: Linux test-nebula 3.14-1-amd64 #1 SMP Debian 3.14.12-1 (2014-07-11) x86_64 GNU/Linux Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF signature.asc Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org