[ovs-dev] [PATCH] ovs-ctl: Allow recording hostname separately

Ilya Maximets i.maximets at ovn.org
Wed Feb 24 16:36:16 UTC 2021


On 2/19/21 9:10 AM, Christian Ehrhardt wrote:
> On Tue, Feb 16, 2021 at 5:32 PM Frode Nordahl
> <frode.nordahl at canonical.com> wrote:
>>
>> ovs-ctl determines the system FQDN or hostname and records it in
>> the `external-ids:hostname` field of the `Open-vSwitch` table on
>> system startup.
>>
>> This value may be consumed by downstream software and having it
>> unset or set to a incorrect value could lead to erratic behavior
>> of a system.
>>
>> When a system is configured to use a Open vSwitch controlled
>> datapath as its only network connection, the current ordering of
>> events would always produce a unreliable hostname
>>
>> Reported-At: https://bugs.launchpad.net/bugs/1915829
>> Signed-off-by: Frode Nordahl <frode.nordahl at canonical.com>
> 
> I've looked at this for the Ubuntu problem that started Frodes work,
> and while I can't give any authoritative Ack I can at least say
> 
> Reviewed-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
> 

Hi.  Reading the description and the bug on launchpad it seems that
the issue is that hostname in database changes in unexpected way and
this is somewhat similar to what the following patch tried to fix:
  http://patchwork.ozlabs.org/project/openvswitch/patch/20200525152821.19838-1-dalvarez@redhat.com/

Is it still a problem with above patch applied?

Best regards, Ilya Maximets.


More information about the dev mailing list