Miguel Angel Ajo
The migration script "delete-neutron-resources" was being executed on controller-0 instead of the undercloud node regardless of the defer_to:localhost ansible setting. In that controller ~/overcloudrc does not exist, so the cleanup was failing silently. This commit moves the cleanup to a separate role that we tie to localhost (undercloud) from ovn-migration.yml Closes-Bug: #1804194 Change-Id: I05f2411604ba01d170440ac655491a624f98aafc
|4 years ago|
|infrared/tripleo-ovn-migration||5 years ago|
|tripleo_environment||4 years ago|
|README.rst||5 years ago|
|hosts.sample||6 years ago|
|migrate-to-ovn.yml||5 years ago|
Migration from ML2/OVS to ML2/OVN
Proof-of-concept ansible script for migrating an OpenStack deployment that uses ML2/OVS to OVN.
If you have a tripleo ML2/OVS deployment then please see the folder
- Ansible 2.2 or greater.
- ML2/OVS must be using the OVS firewall driver.
Create an ansible inventory with the expected set of groups and variables as indicated by the hosts-sample file.
Run the playbook:
$ ansible-playbook migrate-to-ovn.yml -i hosts
- Tested on an RDO cloud on CentOS 7.3 based on Ocata.
- The cloud had 3 controller nodes and 6 compute nodes.
- Observed network downtime was 10 seconds.
- The "--forks 10" option was used with ansible-playbook to ensure that commands could be run across the entire environment in parallel.
- If migrating an ML2/OVS deployment using VXLAN tenant networks to an OVN deployment using Geneve for tenant networks, we have an unresolved issue around MTU. The VXLAN overhead is 30 bytes. OVN with Geneve has an overhead of 38 bytes. We need the tenant networks MTU adjusted for OVN and then we need all VMs to receive the updated MTU value through DHCP before the migration can take place. For testing purposes, we've just hacked the Neutron code to indicate that the VXLAN overhead was 38 bytes instead of 30, bypassing the issue at migration time.