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 2012934 - [NMCI] ovs_cloned_mac_set_on_iface test fail
Summary: [NMCI] ovs_cloned_mac_set_on_iface test fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: NetworkManager
Version: 9.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Lubomir Rintel
QA Contact: Matej Berezny
URL:
Whiteboard:
: 2029482 (view as bug list)
Depends On:
Blocks: 2092212
TreeView+ depends on / blocked
 
Reported: 2021-10-11 16:29 UTC by Vladimir Benes
Modified: 2022-06-01 06:07 UTC (History)
9 users (show)

Fixed In Version: NetworkManager-1.36.0-0.4.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2092212 (view as bug list)
Environment:
Last Closed: 2022-05-17 15:48:15 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-99448 0 None None None 2021-10-11 16:32:37 UTC
Red Hat Product Errata RHBA-2022:3915 0 None None None 2022-05-17 15:48:28 UTC
freedesktop.org Gitlab NetworkManager NetworkManager merge_requests 1044 0 None opened nm-device: avoid starting ac6 if l3cfg is not there 2022-01-11 09:10:08 UTC

Description Vladimir Benes 2021-10-11 16:29:22 UTC
Description of problem:
probably a race visible once in 10 or so runs.

Backtrace attached.

Version-Release number of selected component (if applicable):
openvswitch-2.15.0-7.el9.x86_64
NetworkManager-1.33.3-29331.copr.0718c5209b.fc34.x86_64
glib2-2.68.4-1.el9.x86_64

How reproducible:
1/10

Steps to Reproduce:
1. git clone https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci
2. cd NetworkManager-ci
3. test=ovs_cloned_mac_set_on_iface; a=0; while ./test_run.sh $test; do :;((a++)); echo "ATTEMPT $a"; if [ $a -eq 100 ]; then break; fi ; done

Actual results:
crash in a while

Expected results:
robustness

Additional info:

Comment 2 Lubomir Rintel 2021-11-30 12:21:33 UTC
The crash occurred becquse a NDP packet (perhaps a RA) was received on a physical interface while the platform didn't yet see the OVS interface appear.

This has been reworked in NetworkManager/main and _dev_ipac6_ndisc_config_changed() no longer seems to assume we've got an ifindex since this commit:

commit 58287cbcc0c8a4964309e6d528aa65ea508b70d2
Author: Thomas Haller <thaller>
Date:   Fri Aug 6 15:17:05 2021 +0200

    core: rework IP configuration in NetworkManager using layer 3 configuration
    
    Completely rework IP configuration in the daemon. Use NML3Cfg as layer 3
    manager for the IP configuration of an interface. Use NML3ConfigData as
    pieces of configuration that the various components collect and
    configure. NMDevice is managing most of the IP configuration at a higher
    level, that is, it starts DHCP and other IP methods. Rework the state
    handling there.
    
    This is a huge rework of how NetworkManager daemon handles IP
    configuration. Some fallout is to be expected.
    
    It appears the patch deletes many lines of code. That is not accurate, because
    you also have to count the files `src/core/nm-l3*`, which were unused previously.
    
    Co-authored-by: Beniamino Galvani <bgalvani>

The test now seems to work reliably.

Comment 3 Vladimir Benes 2021-12-02 12:07:43 UTC
(In reply to Lubomir Rintel from comment #2)
> The crash occurred becquse a NDP packet (perhaps a RA) was received on a
> physical interface while the platform didn't yet see the OVS interface
> appear.
> 
> This has been reworked in NetworkManager/main and
> _dev_ipac6_ndisc_config_changed() no longer seems to assume we've got an
> ifindex since this commit:
> 
<snip>
closing as current release

Comment 6 Vladimir Benes 2021-12-09 10:51:02 UTC
and I am even able to reproduce with the latest copr now manually:
NetworkManager-1.35.2-29464.copr.42307a6a67.el8.x86_64

Comment 9 Thomas Haller 2022-01-18 08:49:41 UTC
*** Bug 2029482 has been marked as a duplicate of this bug. ***

Comment 10 Matej Berezny 2022-01-27 11:21:24 UTC
I tested it again with the newest build and test is acting stable, so the issue seems to be resolved.

Comment 13 errata-xmlrpc 2022-05-17 15:48:15 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 (new packages: NetworkManager), 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-2022:3915


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