Can not init dragonflow in multi-node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DragonFlow |
Fix Released
|
High
|
Yuli |
Bug Description
When running stack in multi-node environment (not the main server) I am getting the following error:
/opt/stack/
Setup external bridge for DNAT
/opt/stack/
ovs-vsctl: cannot create a bridge named br-ex because a bridge named br-ex already exists
/opt/stack/
/opt/stack/
lib/neutron_
lib/neutron_
Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
Traceback (most recent call last):
File "/usr/local/
sys.
File "/opt/stack/
conf()
File "/usr/local/
raise ConfigFilesNotF
I have no q-svc installed on the server and hence no /etc/neutron/
Changed in dragonflow: | |
assignee: | nobody → Yuli (stremovsky) |
this is problematic code:
_neutron_ ovs_base_ setup_bridge $INTEGRATION_BRIDGE
The full code:
function configure_ovs {
check_ dnat=$( echo $DF_APPS_LIST | grep "DNATApp")
if is_service_enabled df-controller ; then
# setup external bridge if necessary
if [[ "$check_dnat" != "" ]]; then
echo "Setup external bridge for DNAT"
sudo ovs-vsctl add-br $PUBLIC_BRIDGE || true
fi
sudo ovs-vsctl --no-wait set bridge $INTEGRATION_BRIDGE fail-mode=secure other-config:
if [ -n "$OVS_INTEGRATI
sudo ovs-vsctl set bridge $INTEGRATION_BRIDGE protocols=
fi
fi
if [ -n "$OVS_MANAGER" ]; then
sudo ovs-vsctl set-manager $OVS_MANAGER
fi
cd $_pwd
}