Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2182330

Summary: Reapply on external managed interface got ignored
Product: Red Hat Enterprise Linux 8 Reporter: Gris Ge <fge>
Component: NetworkManagerAssignee: NetworkManager Development Team <nm-team>
Status: CLOSED MIGRATED QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.8CC: bgalvani, lrintel, rkhan, sfaye, sukulkar, till
Target Milestone: rcKeywords: MigratedToJIRA, Regression, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-17 09:54:22 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:
Description Flags
NetworkManager trace log none

Description Gris Ge 2023-03-28 09:09:15 UTC
Description of problem:

Give a dummy interface created by ip command with two ip addresses
When user modified the in-memory dummy connection of NetworkManager and run reapply
Then user are expecting IP address of dummy interface been preserved in NetworkManager as persistent configuration.

In nmstate state CI we noticed the IP address might(10% chance) got purged after the reapply action.

Version-Release number of selected component (if applicable):
NetworkManager-1.43.4-32057.copr.0a02995175.el8.x86_64

How reproducible:
10%

Steps to Reproduce:
1. git clone https://github.com/nmstate/nmstate.git
2. sudo dnf install python3-pytest nmstate -y
3. git checkout nmstate-1.4
4. sudo dnf install `./packaging/make_rpm.sh` -y
5. cd nmstate/tests/integration; 
6. sudo pytest-3 -vvv -k test_perserve_ip_order_of_external_managed_nic
7. Retry above command till it fail manually or using a `for` look.

Actual results:

Test case fail complaining about index error

Expected results:

No failure

Additional info:

I tried 100 times on NetworkManager-1.40.16-1.el8.x86_64 , no failure.

I tried 100 times the same version on RHEL 9.2, no failure(but nmstate is different there).

Comment 1 Gris Ge 2023-03-28 09:35:20 UTC
Created attachment 1954120 [details]
NetworkManager trace log

Comment 2 Gris Ge 2023-03-28 09:36:49 UTC
Tried to convert above nmstate CI test case into script using nmcli. Not reproduce-able