This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2182330 - Reapply on external managed interface got ignored
Summary: Reapply on external managed interface got ignored
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: NetworkManager Development Team
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-28 09:09 UTC by Gris Ge
Modified: 2023-08-17 09:54 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-17 09:54:22 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
NetworkManager trace log (341.81 KB, text/plain)
2023-03-28 09:35 UTC, Gris Ge
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NMT-446 0 None None None 2023-03-28 09:12:25 UTC
Red Hat Issue Tracker   RHEL-1412 0 None None None 2023-08-17 09:54:21 UTC
Red Hat Issue Tracker RHEL-1413 0 None None None 2023-08-17 08:22:01 UTC
Red Hat Issue Tracker RHELPLAN-153235 0 None None None 2023-03-28 09:12:32 UTC

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


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