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 1881318 - VLAN of bond does not automatically activated after bond profile reactivated
Summary: VLAN of bond does not automatically activated after bond profile reactivated
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 8.4
Assignee: Thomas Haller
QA Contact: Vladimir Benes
URL:
Whiteboard:
Depends On:
Blocks: nmstate-nm 1923958
TreeView+ depends on / blocked
 
Reported: 2020-09-22 07:43 UTC by Gris Ge
Modified: 2021-03-22 05:08 UTC (History)
9 users (show)

Fixed In Version: NetworkManager-1.30.0-0.7.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1923958 (view as bug list)
Environment:
Last Closed: 2021-02-02 10:01:49 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Reproduce script (1.52 KB, application/x-shellscript)
2020-09-22 07:43 UTC, Gris Ge
no flags Details
System logs with NM trace enabled (631.68 KB, text/plain)
2020-09-22 07:48 UTC, Gris Ge
no flags Details

Description Gris Ge 2020-09-22 07:43:50 UTC
Created attachment 1715649 [details]
Reproduce script

Description of problem:

The bond0 has VLAN bond0.20.
When deactivating bond0 profile, and activate it again, the VLAN profile is not
automatically reactivated.


Version-Release number of selected component (if applicable):
NetworkManager-1.26.0-7.el8.x86_64
nmstate-0.3.4-12.el8

How reproducible:
100%

Steps to Reproduce:
1. sudo bash ./nm_bug.sh
2.
3.

Actual results:

The `ip link` show no `bond0.20` interface.

Expected results:

The `ip link` show no `bond0.20` interface.

Additional info:

Run `nmstatectl set net.json` twice is the key reproducer.
Change it to run it one time does not trigger this problem.

So I think there is some race problem here.

Comment 1 Gris Ge 2020-09-22 07:48:19 UTC
Created attachment 1715650 [details]
System logs with NM trace enabled

Comment 5 Gris Ge 2021-01-26 14:41:21 UTC
Issue has been fixed by NetworkManager-tui-1.30.0-0.7.el8.x86_64.rpm

Comment 6 Gris Ge 2021-01-26 14:54:12 UTC
I(Gris) will do the root cause investigation.

Comment 7 Thomas Haller 2021-01-26 14:58:52 UTC
I reopen the issue to understand why it is/seems fixed now.

We should still understand the original problem before closing.

Comment 9 Antonio Cardace 2021-02-02 10:01:49 UTC
Closing as it is fixed, we can investigate how it's been fixed after the dev freeze for RHEL 8.4 as we simply do not have the capacity now.

Comment 10 Thomas Haller 2021-02-02 12:03:03 UTC
(In reply to Gris Ge from comment #1)
> Created attachment 1715650 [details]
> System logs with NM trace enabled

we see:

<trace> [1600760863.0641] settings-connection[7d9a2ee357f05c84,a38470de-f0a4-42ca-afac-0b21af6f2d64]: autoconnect: blocked reason: user-request
...
<info>  [1600760863.0648] audit: op="connection-update" uuid="a38470de-f0a4-42ca-afac-0b21af6f2d64" name="bond0.20" args="ipv4.dhcp-client-id,ipv6.addr-gen-mode,ipv6.dhcp-duid,ipv6.dhcp-iaid,connection.lldp" pid=1412 uid=0 result="success"


and afterwards there is on D-Bus command to unblock the autoactivation (or explicit activation of the profile, which would automatically unblock autoconnect).


To me it seems NetworkManager is behaving as expected.


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