labs: fix ovs-vsctl error

By the time we try to create the internal bridge on compute and network
nodes, they have already been created, resulting in an error message.

This patch informs ovs-vsctl that the bridge may already exist.

Change-Id: Ib1b951f639d208b98769f28a66d0edff27ae6224
This commit is contained in:
Roger Luethi 2014-08-28 11:03:20 +02:00
parent 7edf4a79ac
commit 0be1054219
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ echo "Restarting the Open vSwitch (OVS) service."
sudo service openvswitch-switch restart
echo "Adding the integration bridge."
sudo ovs-vsctl add-br br-int
sudo ovs-vsctl --may-exist add-br br-int
echo "Configuring Compute to use Networking."
conf=/etc/nova/nova.conf

View File

@ -77,7 +77,7 @@ echo "Restarting the Open vSwitch (OVS) service."
sudo service openvswitch-switch restart
echo "Adding the integration bridge."
sudo ovs-vsctl add-br br-int
sudo ovs-vsctl --may-exist add-br br-int
echo "Adding the external bridge"
sudo ovs-vsctl add-br br-ex