[OVN] Devstack: Fix adding another compute node

In order to add another compute node to an existing DevStack setup
(multi-node) we need to set a few extra variables to the local.conf to
enable the OVN driver in neutron.

The patch is also adding a new neutron_plugin_create_nova_conf function
to the ovn_agent module (no-op) otherwise the DevStack setup will fail.

Change-Id: I4d53f7206f151dc7ffa51b4c8bd601279aa88a46
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
This commit is contained in:
Lucas Alvares Gomes 2020-02-10 13:21:36 +00:00
parent 6709cfcdfa
commit e64bf6be1b
2 changed files with 10 additions and 0 deletions

View File

@ -777,3 +777,7 @@ function cleanup_ovn {
sudo rm -f $OVN_RUNDIR
}
function neutron_plugin_create_nova_conf {
:
}

View File

@ -17,6 +17,12 @@ SERVICE_PASSWORD=password
SERVICE_TOKEN=password
ADMIN_PASSWORD=password
Q_AGENT=ovn
NEUTRON_AGENT=$Q_AGENT
Q_ML2_PLUGIN_MECHANISM_DRIVERS=ovn,logger
Q_ML2_PLUGIN_TYPE_DRIVERS=local,flat,vlan,geneve
Q_ML2_TENANT_NETWORK_TYPE="geneve"
# Enable devstack spawn logging
LOGFILE=$DEST/logs/stack.sh.log