From f6a9487b05b08e5481d0792d825c98548621e5c0 Mon Sep 17 00:00:00 2001 From: Felipe Reyes Date: Tue, 8 Feb 2022 16:50:42 -0300 Subject: [PATCH] Mark ovs-record-hostname as deferable service. Add ovs-record-hostname to the list of deferrable services, this service was SRU'ed into Ubuntu >= Focal, when it's not mark as deferrable on package upgrades will induce a restart of openvswitch-switch. Change-Id: I4fa3256b39e62e9df223ab40f17f1677a621f293 Closes-Bug: #1923636 Related-Bug: #1915829 --- hooks/neutron_ovs_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/neutron_ovs_utils.py b/hooks/neutron_ovs_utils.py index ee0eb5c2..9869e75e 100644 --- a/hooks/neutron_ovs_utils.py +++ b/hooks/neutron_ovs_utils.py @@ -520,7 +520,7 @@ def deferrable_services(): _svcs = services() _svcs.extend(['ovs-vswitchd', 'ovsdb-server', 'ovs-vswitchd-dpdk', - 'openvswitch-switch']) + 'openvswitch-switch', 'ovs-record-hostname']) return list(set(_svcs))