ovn: Change order of deployment

ovn-controller should be deployed first according to OVN upgrade guide.
Since we are getting newer OVN/OVS versions from RDO/Ubuntu in a cycle,
let's apply that to deployment.

Closes-Bug: #1979329

Change-Id: I017aec611a057db1634cfc2634164b21cb210193
This commit is contained in:
Michal Nasiadka 2022-12-09 12:43:56 +01:00
parent ae3de342e4
commit 3a94996b41
2 changed files with 15 additions and 10 deletions

View File

@ -602,6 +602,16 @@
tags: ovs-dpdk,
when: "(enable_openvswitch | bool) and (enable_ovs_dpdk | bool)"}
- name: Apply role ovn-controller
gather_facts: false
hosts:
- ovn-controller
- '&enable_ovn_True'
serial: '{{ kolla_serial|default("0") }}'
roles:
- { role: ovn-controller,
tags: [ovn, ovn-controller] }
- name: Apply role ovn-db
gather_facts: false
hosts:
@ -614,16 +624,6 @@
- { role: ovn-db,
tags: [ovn, ovn-db] }
- name: Apply role ovn-controller
gather_facts: false
hosts:
- ovn-controller
- '&enable_ovn_True'
serial: '{{ kolla_serial|default("0") }}'
roles:
- { role: ovn-controller,
tags: [ovn, ovn-controller] }
- name: Apply role neutron
gather_facts: false
hosts:

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes OVN deployment order - as recommended in OVN docs.
`LP#1979329 <https://launchpad.net/bugs/1979329>`__