Bug 1915278

Summary: null error when deleting veth device
Product: Red Hat Enterprise Linux 8 Reporter: Vladimir Benes <vbenes>
Component: NetworkManagerAssignee: Fernando F. Mancera <ferferna>
Status: CLOSED ERRATA QA Contact: Vladimir Benes <vbenes>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: atragler, bgalvani, ferferna, lrintel, rkhan, sukulkar, thaller, till, wenliang
Target Milestone: rcKeywords: Triaged
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.32.0-1.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 19:28:55 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 2021-01-12 11:35:54 UTC
Description of problem:

nmcli con del test11+ test12+
nmcli  connection add type veth con-name test11+ ifname test11 veth.peer test12 ip4 10.42.0.2
nmcli  connection add type veth con-name test12+ ifname test12 veth.peer test11 ip4 10.42.0.1
nmcli con up test12+
while ! nmcli -g GENERAL.STATE con show test11+ |grep activated; do :;sleep 1;done 
nmcli dev del test11

Error: Device '(null)' (/org/freedesktop/NetworkManager/Devices/16) deletion failed: Message recipient disconnected from message bus without replying
Error: not all devices deleted.

deleting a device should bring all affected connections down being it veth.peer or veth device directly.

Version-Release number of selected component (if applicable):
NetworkManager-1.30.0-0.5.el8.x86_64

Comment 1 Vladimir Benes 2021-06-15 14:05:26 UTC
NMCI test case added:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/merge_requests/779

Comment 8 errata-xmlrpc 2021-11-09 19:28:55 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 (Moderate: NetworkManager security, 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/RHSA-2021:4361