ovn: Fix FQDN-based deployments

Since [1] Neutron puts requested-chassis entry with a name taken
from the agent, which results in FQDN-based name on FQDN-based
deployments. It does not match what we set in hostname in OVS.

[1]: I4e3c001dd3bb37b86fda8b9495a3c5178c3e736d

Closes-Bug: #2080552
Change-Id: I3ae03aa2e09bc445f0f5a95a43bf210f06685cc1
This commit is contained in:
Michal Nasiadka 2024-10-08 07:55:30 +02:00
parent 1b55a4c3e6
commit 35e59efabc
2 changed files with 9 additions and 1 deletions

View File

@ -103,5 +103,5 @@ openvswitch_ovs_vsctl_wrapper_enabled: false
#############
openvswitch_system_id: "{{ ansible_facts.hostname }}"
openvswitch_hostname: "{{ ansible_facts.hostname }}"
openvswitch_hostname: "{{ ansible_facts.fqdn }}"
openvswitch_hw_offload: "no"

View File

@ -0,0 +1,8 @@
---
fixes:
- |
Fixes #2080552.
``openvswitch`` role will now set ``external-ids:hostname`` to
``{{ ansible_facts.fqdn }}`` instead of ``{{ ansible_facts.hostname }}``
due to Neutron using FQDN based hostnames in ``requested-chassis`` field.
`LP#2080552 <https://launchpad.net/bugs/2080552>`__