Commit a104f679 authored by David Johnson's avatar David Johnson

Stop/start the Neutron DHCP, L3, and metadata agents each test.

Sometimes it seems the DHCP agent in particular gets into some kind
of bad state where dnsmasq isn't handing out IPs to VMs, weird.
parent 3904e5d3
Pipeline #1898 passed with stage
in 2 seconds
......@@ -22,6 +22,9 @@ if [ -z "$BRIDGE" ]; then
exit 1
$SSH $NETWORKMANAGER service neutron-l3-agent stop
$SSH $NETWORKMANAGER service neutron-metadata-agent stop
$SSH $NETWORKMANAGER service neutron-dhcp-agent stop
$SSH $NETWORKMANAGER service neutron-plugin-capnet-agent stop
$SSH $NETWORKMANAGER ovs-ofctl del-flows $BRIDGE
$SSH $NETWORKMANAGER sh -c "'rm -fv /var/tmp/*'"
......@@ -44,6 +47,10 @@ sleep 4
service neutron-server restart
sleep 8
$SSH $NETWORKMANAGER service neutron-dhcp-agent start
$SSH $NETWORKMANAGER service neutron-l3-agent start
$SSH $NETWORKMANAGER service neutron-metadata-agent start
sleep 4
$SSH $NETWORKMANAGER service neutron-plugin-capnet-agent start
$PSSH $PHOSTS service neutron-plugin-capnet-agent start
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment