RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1786934 - Unmanaged bridge ports are implicitly managed when editing the bridge
Summary: Unmanaged bridge ports are implicitly managed when editing the bridge
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: nmstate
Version: 8.2
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 8.1
Assignee: Edward Haas
QA Contact: Mingyu Shi
URL:
Whiteboard:
Depends On:
Blocks: 1788797
TreeView+ depends on / blocked
 
Reported: 2019-12-29 15:54 UTC by Edward Haas
Modified: 2020-12-20 06:27 UTC (History)
9 users (show)

Fixed In Version: nmstate-0.1.2-2.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1788797 (view as bug list)
Environment:
Last Closed: 2020-02-04 12:27:08 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:0350 0 None None None 2020-02-04 12:27:26 UTC

Description Edward Haas 2019-12-29 15:54:51 UTC
Description of problem:
When touching an existing bridge, any existing attached port, even if unmanaged, is implicitly taken over by nmstate/NM and a relevant profile in NM is created for it.
This behavior is not working well in a virtualized environment: vNIC/s from VM/s are attached and detached from the bridge by the hypervisor (e.g. libvirt) and such interfaces are not intended to be managed by nmstate (or NM). However, with the current behavior, any editation through nmstate to the bridge will cause the existing tap devices to be managed by NM.

Currently, state=DOWN is associated with an unmanaged device (something which should probably be fixed as well), therefore, for bridges, interfaces which are reported as `DOWN` should not be implicitly managed by nmstate/NM.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Define a linux-bridge using nmstate.
2. Create a dummy or tap device and attach it to the bridge using the `ip` tool.
3. Create a 2nd dummy device and attach it to the bridge using nmstate.

Actual results:

The 1st device has now a profile and is fully managed by NM/nmstate.

Expected results:

The first device should not be managed by NM/nmstate and should appear as `DOWN`.

Additional info:

Comment 4 Till Maas 2020-01-07 20:40:24 UTC
Released in 0.1.3 upstream.

Comment 10 errata-xmlrpc 2020-02-04 12:27:08 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, 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:0350


Note You need to log in before you can comment on or make changes to this bug.