b27940c205
This patch is migrating the OVN migration scripts. At the moment, only migration from ML2/OVS to ML2/OVN in a TripleO environment is supported. Co-Authored-By: Miguel Angel Ajo <majopela@redhat.com> Co-Authored-By: Jakub Libosvar <libosvar@redhat.com> Co-Authored-By: Daniel Alvarez <dalvarez@redhat.com> Co-Authored-By: Maciej Józefczyk <mjozefcz@redhat.com> Co-Authored-By: Numan Siddique <nusiddiq@redhat.com> Co-Authored-By: Roman Safronov <rsafrono@redhat.com> Co-Authored-By: Terry Wilson <twilson@redhat.com> Related-Blueprint: neutron-ovn-merge Change-Id: I925f4b650209b8807290d6a69440c31fd72a1762 Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
34 lines
1.4 KiB
ReStructuredText
34 lines
1.4 KiB
ReStructuredText
Infrared plugin to carry out migration from ML2/OVS to OVN
|
|
==========================================================
|
|
|
|
This is an infrared plugin which can be used to carry out the migration
|
|
from ML2/OVS to OVN if the tripleo was deployed using infrared.
|
|
See http://infrared.readthedocs.io/en/stable/index.html for more information.
|
|
|
|
Before using this plugin, first deploy an ML2/OVS overcloud and then:
|
|
|
|
1. On your undercloud, install python-neutron-ovn-migration-tool package (https://trunk.rdoproject.org/centos7-master/current/)
|
|
You also need to install python-neutron and python3-openvswitch packages.
|
|
|
|
2. Run ::
|
|
$infrared plugin add "https://github.com/openstack/neutron.git"
|
|
|
|
3. Start migration by running::
|
|
|
|
$infrared tripleo-ovn-migration --version 13|14 \
|
|
--registry-namespace <REGISTRY_NAMESPACE> \
|
|
--registry-tag <TAG> \
|
|
--registry-prefix <PREFIX>
|
|
|
|
Using this as a standalone playbook for tripleo deployments
|
|
===========================================================
|
|
It is also possible to use the playbook main.yml with tripleo deployments.
|
|
In order to use this:
|
|
|
|
1. Create hosts inventory file like below
|
|
[undercloud]
|
|
undercloud_ip ansible_ssh_user=stack
|
|
|
|
2. Run the playbook as:
|
|
ansible-playbook main.yml -i hosts -e install_from_package=True -e registry_prefix=centos-binary -e registry_namespace=docker.io/tripleomaster -e registry_localnamespace=192.168.24.1:8787/tripleomaster -e registry_tag=current-tripleo-rdo
|