Comment 22 for bug 1611237

Revision history for this message
IWAMOTO Toshihiro (iwamoto) wrote :

The following script, which mimics how devstack and grenade stops q-agt, can reproduce this bug with a few percent of probability.

The ovs agent must be explicitly shut down (see neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ovs_ryuapp.agent_main_wrapper). If the thread dies of an exception, the agent fails to terminate. It can be confirmed by the guru meditation in the #19 log.

sudo pkill -9 -f /usr/local/bin/neutron-rootwrap-daemon
pkill -g $(cat /opt/stack/status/stack/q-agt.pid )
sleep 1
pkill -g $(cat /opt/stack/status/stack/q-agt.pid )