5 Commits

Author SHA1 Message Date
Flavio Fernandes
b3b6cc06c3 [OVN] Update sample local.conf to mention OVN_BUILD_FROM_SOURCE
Using OVN from packages was introduced in devstack via
https://review.opendev.org/c/openstack/devstack/+/763402

This change updates the sample files to make users aware of it,
especially when specifying the OVN branch to be used.

Change-Id: Ibfbdd712e49d1fb8522bcc39357be0f311ce3f5c
2021-02-08 15:47:38 -05:00
Maciej Józefczyk
31fa9ada75 [OVN] Update sample local.conf to support QoS for OVN
This change updates sample OVN local.conf files in order
to enable q-qos service and compile kernel module.
Some distros, like Ubuntu Bionic, doesn't support ovs meters
with default shipped kernel.

Change-Id: I6c4878c8718e42814f50f8f7eba86cfde49e18d5
2020-04-23 12:18:40 +00:00
Bence Romsics
02a7e96743 Rename devstack service neutron-ovn-metadata-agent
... to q-ovn-metadata-agent.

To the best of my understanding we decided to keep using the
neutron-legacy devstack module since it is the one used in the gate:

http://lists.openstack.org/pipermail/openstack-discuss/2019-December/thread.html#11544

And we merge new features like the ovn migration only working with
neutron-legacy:

https://review.opendev.org/696592

It seems to me we were a bit inconsistent in naming devstack service
'neutron-ovn-metadata-agent' since legacy style devstack service
names start with 'q-'.

For example this sample config is broken:

https://opendev.org/openstack/neutron/src/branch/master/devstack/ovn-compute-local.conf.sample#L31-L35

stack.sh dies with:

lib/neutron: line 368: neutron_plugin_create_nova_conf: command not found

Because not having a single 'q-' service in that enabled service list
we trip up devstack's 'is_neutron_legacy_enabled' check:

e51cbf0ea9/lib/neutron (L127-L135)

This change renames devstack service neutron-ovn-metadata-agent
to q-ovn-metadata-agent.

I'm not proud to propose this change in 2020 (circa 5 years after
the rename from Quantum to Neutron) so let me know if you see a better
way. :-)

Change-Id: I507a3426e2b63bff49891bd5a51fa9d9999a0ffa
2020-03-03 14:43:01 +01:00
Lucas Alvares Gomes
e64bf6be1b [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>
2020-02-10 13:21:36 +00:00
Lucas Alvares Gomes
3284b5f5ac [OVN] Provide local.conf sample file for DevStack
This patch is providing a sample local.conf file for deploying OVN with
DevStack.

Change-Id: Iaba0233ead60cccd2d0fc6691133ec3e56ae07df
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-01-27 11:12:41 +00:00