stack.sh ends with error about openvswitch-switch

asked 2018-12-21 16:21:46 -0500

sebelk gravatar image

I'm trying devstack on a ubuntu container, but stack.sh ends with error, the is the worldump:

File System Summary
===================

Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/fedora-root   49G   32G   15G  68% /
none                     492K     0  492K   0% /dev
devtmpfs                 7.8G     0  7.8G   0% /dev/kvm
tmpfs                    7.8G     0  7.8G   0% /dev/shm
tmpfs                    7.8G  8.2M  7.8G   1% /run
tmpfs                    5.0M     0  5.0M   0% /run/lock
tmpfs                    7.8G     0  7.8G   0% /sys/fs/cgroup


Process Listing
===============

ps axo user,ppid,pid,pcpu,pmem,vsz,rss,tty,stat,start,time,args
---------------------------------------------------------------

USER      PPID   PID %CPU %MEM    VSZ   RSS TT       STAT  STARTED     TIME COMMAND
root         0     1  0.0  0.0  37480  5608 ?        Ss   20:18:21 00:00:04 /sbin/init
syslog       1    58  0.0  0.0 256392  3116 ?        Ssl  20:18:21 00:00:00 /usr/sbin/rsyslogd -n
root         1    59  0.0  0.0  30200  2832 ?        Ss   20:18:21 00:00:00 /usr/sbin/cron -f
root         1   123  0.0  0.0  16120  2956 ?        Ss   20:18:24 00:00:00 /sbin/dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0
root         1   148  0.0  0.0  16972  2220 pts/1    Ss+  20:18:24 00:00:00 /sbin/agetty --noclear --keep-baud pts/1 115200 38400 9600 vt220
root         1   149  0.0  0.0  16972  2308 pts/2    Ss+  20:18:24 00:00:00 /sbin/agetty --noclear --keep-baud pts/2 115200 38400 9600 vt220
root         1   150  0.0  0.0  16972  2244 pts/4    Ss+  20:18:24 00:00:00 /sbin/agetty --noclear --keep-baud console 115200 38400 9600 vt220
root         1   151  0.0  0.0  16972  2236 pts/0    Ss+  20:18:24 00:00:00 /sbin/agetty --noclear --keep-baud pts/0 115200 38400 9600 vt220
root         1   152  0.0  0.0  16972  2172 pts/3    Ss+  20:18:24 00:00:00 /sbin/agetty --noclear --keep-baud pts/3 115200 38400 9600 vt220
root         1   153  0.0  0.0  65512  5348 ?        Ss   20:18:24 00:00:00 /usr/sbin/sshd -D
uuidd        1  1092  0.0  0.0  29376  1412 ?        Ss   20:54:03 00:00:00 /usr/sbin/uuidd --socket-activation
root         1  1703  0.0  0.0   5220   116 ?        Ss   20:54:11 00:00:00 /sbin/iscsid
root         1  1704  0.0  0.0   5720  3536 ?        S<Ls 20:54:11 00:00:00 /sbin/iscsid
root         1  2025  0.0  0.0  36168  2844 ?        Ss   20:54:23 00:00:00 /usr/sbin/conntrackd -C /etc/conntrackd/conntrackd.conf
root         1  2284  0.0  0.0   4224   640 ?        Ss   20:54:26 00:00:00 /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid
haproxy   2284  2285  0.0  0.0  37692  5400 ?        S    20:54:26 00:00:00 /usr/sbin ...
(more)
edit retag flag offensive close merge delete

Comments

None of the OpenStack services is running. If they have logs, they may contain clues; if not, use the stack.sh log, if you configured one.

In newer versions of devstack, services’ logs are in the systemd journal.

I don’t know how all this works in a container, if at all.

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-21 17:16:11 -0500 )edit

I just saw that there are instructions how to run devstack in a container. Did you follow them?

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-21 17:17:48 -0500 )edit

Yes, I've followed, because of that, I've posted the question.

sebelk gravatar imagesebelk ( 2018-12-21 22:57:35 -0500 )edit

If you used Devstack's minimal config, you have no log of the stack.sh run. Can you do it again, but this time include this in the local.conf:

LOG_COLOR=False
LOGFILE=$DEST/logs/stack.sh.log

It's best to start from a fresh container.

DISCLAIMER: I have never run devstack in a container.

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-21 23:16:20 -0500 )edit