commit c8970b667c984e232fcee7ed9b5de58f1c33fe1d
Author: Michel Nederlof <email address hidden>
Date: Thu Jan 18 14:01:18 2024 +0100
Fix startup if the hostname is not configured in OVS
When deployed with Kolla Ansible, the hostname field is not configured
in the external_ids column, and apparently ovn-controller is not
populating it as well if it is missing.
Since ovn-controller is using the hostname of the machine if it is not set
[1][2], it makes sense to do so here as well.
Reviewed: https:/ /review. opendev. org/c/openstack /ovn-bgp- agent/+ /906043 /opendev. org/openstack/ ovn-bgp- agent/commit/ c8970b667c984e2 32fcee7ed9b5de5 8f1c33fe1d
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit c8970b667c984e2 32fcee7ed9b5de5 8f1c33fe1d
Author: Michel Nederlof <email address hidden>
Date: Thu Jan 18 14:01:18 2024 +0100
Fix startup if the hostname is not configured in OVS
When deployed with Kolla Ansible, the hostname field is not configured
in the external_ids column, and apparently ovn-controller is not
populating it as well if it is missing.
Since ovn-controller is using the hostname of the machine if it is not set
[1][2], it makes sense to do so here as well.
[1] https:/ /github. com/ovn- org/ovn/ blob/v23. 09.1/controller /chassis. c#L99 /github. com/ovn- org/ovn/ blob/v20. 03.0/controller /chassis. c#L126
[2] https:/
Closes-Bug: #2049756 0cf4773dae4e91a f5d11c758c7
Change-Id: Ic602c3fa9928e0