-
Bug
-
Resolution: Won't Do
-
Normal
-
rhel-8.8.0
-
Yes
-
Moderate
-
rhel-net-mgmt
-
ssg_networking
-
26
-
3
-
False
-
False
-
-
No
-
None
-
None
-
None
-
-
x86_64
-
None
-
0
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).
Acceptance criteria:
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.
Definition of done:
- The implementation meets the acceptance criteria
- The code is part of a build attached to an errata