[ovs-git] [openvswitch/ovs] 712193: ovs-ctl: Allow recording hostname separately.

Frode Nordahl noreply at github.com
Tue Mar 2 10:41:40 UTC 2021


  Branch: refs/heads/branch-2.13
  Home:   https://github.com/openvswitch/ovs
  Commit: 712193ff1c40d41384ef07e9f5b087b6a5d34a9a
      https://github.com/openvswitch/ovs/commit/712193ff1c40d41384ef07e9f5b087b6a5d34a9a
  Author: Frode Nordahl <frode.nordahl at canonical.com>
  Date:   2021-03-02 (Tue, 02 Mar 2021)

  Changed paths:
    M NEWS
    M utilities/ovs-ctl.in

  Log Message:
  -----------
  ovs-ctl: Allow recording hostname separately.

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 if it is not already set.

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 an Open vSwitch controlled
datapath as its only network connection, the current ordering of
events would always record a unreliable hostname.

To tackle this problem this patch adds an optional argument that
allows starting Open vSwitch without recording the hostname in
the database as well as a new ctl command to record the hostname
separately. This command can be called by the system startup
scripts when the system is ready to collect and record this
information.

Reported-At: https://bugs.launchpad.net/bugs/1915829
Signed-off-by: Frode Nordahl <frode.nordahl at canonical.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>




More information about the git mailing list