Comment 1 for bug 1567052

Revision history for this message
Ian Wienand (iwienand) wrote : Re: stack.sh exiting with 2, with no obvious error, does not trigger if VERBOSE=False

Well this is an odd one

In [1] you can see

---
exit_trap: cleaning up child processes
./stack.sh: line 480: kill: (23227) - Operation not permitted+ unset GREP_OPTIONS
---

which is trying to kill from [2]

---
root 1 23227 0.0 0.0 40852 1752 ? S 17:33:22 00:00:00 sudo bagpipe-bgp start --no-daemon --log-file=/etc/bagpipe-bgp/log.conf
---

which is started at [3]

This kill only happens when we are running in VERBOSE mode [4]

Have to think about this ... generally we do not run things with sudo like this because they don't need it, they use tools like rootwrap to do privileged things

[1] http://logs.openstack.org/60/297260/29/experimental/gate-install-dsvm-networking-bgpvpn-bagpipe/ca736ac/logs/devstack-early.txt.gz
[2] http://logs.openstack.org/60/297260/29/experimental/gate-install-dsvm-networking-bgpvpn-bagpipe/ca736ac/logs/worlddump-2016-04-06-173325.txt.gz
[3] https://github.com/Orange-OpenSource/bagpipe-bgp/blob/master/devstack/plugin.sh#L116
[4] https://git.openstack.org/cgit/openstack-dev/devstack/tree/stack.sh#n476