Comment 4 for bug 2049756

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ovn-bgp-agent (master)

Reviewed: https://review.opendev.org/c/openstack/ovn-bgp-agent/+/906043
Committed: https://opendev.org/openstack/ovn-bgp-agent/commit/c8970b667c984e232fcee7ed9b5de58f1c33fe1d
Submitter: "Zuul (22348)"
Branch: master

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.

    [1] https://github.com/ovn-org/ovn/blob/v23.09.1/controller/chassis.c#L99
    [2] https://github.com/ovn-org/ovn/blob/v20.03.0/controller/chassis.c#L126

    Closes-Bug: #2049756
    Change-Id: Ic602c3fa9928e00cf4773dae4e91af5d11c758c7