[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>
changes/24/706824/1
Lucas Alvares Gomes 3 years ago
parent 6709cfcdfa
commit e64bf6be1b
  1. 4
      devstack/lib/ovn_agent
  2. 6
      devstack/ovn-compute-local.conf.sample

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

@ -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

Loading…
Cancel
Save