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:
parent
7edf4a79ac
commit
0be1054219
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user