Bug 2137459
Summary: | Removing vrf and bond got org.freedesktop.NetworkManager.DependencyFailed | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Mingyu Shi <mshi> | ||||
Component: | nmstate | Assignee: | Gris Ge <fge> | ||||
Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 9.2 | CC: | ferferna, jiji, jishi, network-qe, sfaye, till | ||||
Target Milestone: | rc | Keywords: | Triaged | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | nmstate-2.2.3-2.el9 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2023-05-09 07:31:50 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: | |||||||
Attachments: |
|
*** Bug 2137458 has been marked as a duplicate of this bug. *** Patch sent to upstream: https://github.com/nmstate/nmstate/pull/2169 Nice catch! Verified with: nmstate-2.2.5-1.el9.x86_64 nispor-1.2.9-1.el9.x86_64 NetworkManager-1.41.90-1.el9.x86_64 DISTRO=RHEL-9.2.0-20230127.12 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 (nmstate 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-2023:2190 |
Created attachment 1920094 [details] NM_trace.log Description of problem: When vlan over bond and bond itself both attahced to a vrf, cannot remove vrf and bond directly. Version-Release number of selected component (if applicable): nmstate-2.2.0-0.alpha.20221014.el9.x86_64 NetworkManager-1.40.0-1.el9.x86_64 How reproducible: 100% Steps to Reproduce: echo "interfaces: - name: bond0 state: up type: bond link-aggregation: mode: 802.3ad - name: bond0.4000 type: vlan state: up vlan: base-iface: bond0 id: 4000 - name: vrf0 state: up type: vrf vrf: route-table-id: 100 port: - bond0 - bond0.4000 " | nmstatectl apply echo "interfaces: - name: bond0 type: bond state: absent - name: vrf0 type: vrf state: absent" | nmstatectl apply # Got error while all interfaces were removed, but NM connection of bond0.4000 remained ip link show nmcli con Actual results: NmstateError: Bug: DbusConnectionError: org.freedesktop.NetworkManager.DependencyFailed: parent device '4339ad3a-0c1e-45da-9b9c-55d12a9ef786' not found Expected results: No error, bond0, vrf0 and bond0.4000 with their NM connections are all removed Additional info: This wokrs in nmstate python version