Bug 1732791

Summary: restarting NM service takes 1 min+ when basic ovs dpdk is set
Product: Red Hat Enterprise Linux 8 Reporter: Vladimir Benes <vbenes>
Component: NetworkManagerAssignee: Beniamino Galvani <bgalvani>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: acardace, atragler, bgalvani, dtardon, fgiudici, lrintel, rkhan, sukulkar, systemd-maint-list, thaller, till
Target Milestone: rcFlags: msekleta: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.26.0-0.1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 01:48:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vladimir Benes 2019-07-24 11:34:28 UTC
Description of problem:
When this is set:
[root@dell-per720-03 ~]# ovs-vsctl show
ff69b73f-1ba4-466d-adb4-2c307125eab3
    Bridge "ovsbridge0"
        Port "port0"
            Interface "iface0"
                type: dpdk
                options: {dpdk-devargs="0000:42:00.1"}
    ovs_version: "2.11.0"
[root@dell-per720-03 ~]# nmcli  connection 
NAME         UUID                                  TYPE           DEVICE     
System em1   1ce245e5-a067-4a09-b51e-8cb698de6845  ethernet       em1        
ovs-bridge0  d3e3a6e9-4a1c-4877-b882-ad5cf41db0c9  ovs-bridge     ovsbridge0 
ovs-iface0   7715b60a-9e23-44c4-92cf-bc5a06ac2bc6  ovs-interface  iface0     
ovs-port0    8b884093-51c4-4a31-b07b-194259f6fcde  ovs-port       port0    


This takes ages:
[root@dell-per720-03 ~]# time systemctl restart NetworkManager

real	0m0.145s
user	0m0.013s
sys	0m0.013s

Version-Release number of selected component (if applicable):
openvswitch2.11-2.11.0-9.el8fdp.x86_64
dpdk-18.11-8.el8.x86_64
NetworkManager-1.19.5-23594.645bb49825.el8.x86_64

Comment 1 Beniamino Galvani 2019-07-30 17:41:21 UTC
From the log attached I see that NM synchronously waits for the activation of NetworkManager-dispatcher service on service stop. The dbus-daemon requests systemd to activate the unit, but the request times out after 25 seconds.

I don't have any idea why this happens so I'm assigning the bug to systemd; perhaps someone more familiar with the unit activation mechanism can understand better what's going on.

This is systemd-239-15.el8.x86_64 on RHEL 8.1 Beta.

Comment 12 errata-xmlrpc 2020-11-04 01:48:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4499