Add enable-chassis-as-gw option for OVN CMS cluster

After recent neutron change [1] we need to add option
enable-chassis-as-gw so that the chassis acts as gateway.

I am also implementing workaround for known issue on mariadb [2].

[1] https://review.opendev.org/c/openstack/neutron/+/908325
[2] https://issues.redhat.com/browse/RDO-241

Change-Id: Ie6a9a9287f64256999c05f7a3ab273c436f1cf54
This commit is contained in:
Alfredo Moralejo 2024-02-22 15:55:49 +01:00
parent b00b07af7e
commit 08a27a2ef5
2 changed files with 8 additions and 0 deletions

View File

@ -51,5 +51,6 @@ class packstack::neutron::ovn_agent ()
bridge_interface_mappings => $bridge_uplinks,
ovn_encap_ip => force_ip($localip),
hostname => $::fqdn,
ovn_cms_options => 'enable-chassis-as-gw',
}
}

View File

@ -27,3 +27,10 @@
chdir: '{{ ansible_user_dir }}/workspace'
become: true
environment: '{{ zuul }}'
# mariadb-10.11 is broken https://issues.redhat.com/browse/RDO-241
- name: Temporary disable mariadb module
shell: "sudo dnf module disable -y mariadb"
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "9"
become: true
changed_when: False