[ovs-dev] [PATCH v2] ovs-ctl: Allow recording hostname separately
frode.nordahl at canonical.com
Tue Mar 2 05:52:57 UTC 2021
On Mon, Mar 1, 2021 at 9:26 PM Ilya Maximets <i.maximets at ovn.org> wrote:
> On 2/25/21 4:28 PM, Frode Nordahl 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 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 patchs 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>
> > ---
> > utilities/ovs-ctl.in | 41 +++++++++++++++++++++++++++--------------
> > 1 file changed, 27 insertions(+), 14 deletions(-)
> I added a note to the NEWS file and applied to master.
Excellent, thank you for review and merge!
> We may consider backports down to 2.13 LTS. Let me know
> if it's needed.
We will consume this at 2.13 and onwards, so a backport all the way to
2.13 LTS would really be helpful.
> Best regards, Ilya Maximets.
More information about the dev