Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement OVN inventory changes and deploy by default
This patch updates the OSA inventory to include a new group, network-gateway_hosts, which operators can define to dictate which nodes can be considered OVN gateway nodes. In addition, the default mechanism driver is no longer ML2/LXB and must be specified by the operator. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/865961 Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/866249 Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/866159 Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/865973/4 Change-Id: I7be6520b338b5578b04631cfa04a9122c735959c
- Loading branch information
1 parent
031ae9f
commit 79fc2a6
Showing
21 changed files
with
208 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
--- | ||
|
||
# neutron-server, neutron-agents | ||
network_hosts: | ||
aio1: | ||
ip: 172.29.236.100 | ||
|
||
{% if _neutron_plugin_driver == 'ml2.ovn' %} | ||
network-gateway_hosts: | ||
aio1: | ||
ip: 172.29.236.100 | ||
|
||
network-northd_hosts: | ||
aio1: | ||
ip: 172.29.236.100 | ||
{% endif %} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
releasenotes/notes/ovn-default-mechanism-driver-6225641f64f721d4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
prelude: > | ||
Default neutron plugin has been switched from LinuxBridge to OVN. | ||
This is effective for all new deployments. At the same time | ||
OpenStack-Ansible does not provide any in-house tooling for completing | ||
upgrade from ml2.lxb to ml2.ovn. Please, reffer to upgrade section for more | ||
details on how to upgrade OpenStack-Ansible. | ||
upgrade: | ||
- | | ||
With marking ML2/LinuxBridge driver as 'Experimental' in the upstream | ||
Neutron project OpenStack-Ansible has switched a default mechanism driver | ||
to ML2/OVN. | ||
In order to upgrade any existing deployment that was relying on defaults | ||
to the new OpenStack-Ansible version you must ensure that following | ||
variables are defined explicitly to ensure parity with existing | ||
functionality: | ||
.. code-block:: yaml | ||
neutron_plugin_type: ml2.lxb | ||
neutron_ml2_drivers_type: "flat,vlan,vxlan,local" | ||
neutron_plugin_base: | ||
- router | ||
- metering | ||
Failure to define any of these variables will result in playbook failures | ||
and neutron misconfiguration. | ||
We have covered this step with upgrade script that will create a | ||
``user_neutron_migration.yml`` file with assumed defaults. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.