Bug 2221903 - [AWS]Adding an eni to an EC2 instance sometimes breaks network because ip rules/tables get ruined
Summary: [AWS]Adding an eni to an EC2 instance sometimes breaks network because ip rul...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.9
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Beniamino Galvani
QA Contact: Filip Pokryvka
URL:
Whiteboard:
Depends On: 2207812
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-11 08:34 UTC by libhe
Modified: 2023-08-15 11:55 UTC (History)
11 users (show)

Fixed In Version: NetworkManager-1.40.16-9.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/rpms NetworkManager merge_requests 80 0 None merged cloud-setup: fix terminating in the middle of reconfiguration (rh #2221903) 2023-07-25 07:01:36 UTC
Red Hat Issue Tracker NMT-661 0 None None None 2023-07-11 08:37:01 UTC
Red Hat Issue Tracker RHELPLAN-161998 0 None None None 2023-07-11 08:37:08 UTC
freedesktop.org Gitlab NetworkManager NetworkManager-ci merge_requests 1476 0 None opened cloud: update ec2 race test to run on el8 2023-08-15 11:55:36 UTC

Description libhe 2023-07-11 08:34:39 UTC
Description of problem:

This is a same bug with 2207812, it is also observed in RHEL-8.9.  

Sometimes when adding a 3rd interface to an EC2 instance, the 2nd interface ends up using the same rule and route table as the new interface.

Version-Release number of selected component (if applicable):
RHEL-8.9

How reproducible:
Frequently by building new RHEL8.9 instance.  Once issue is reproduced, instance becomes inaccessible, then detaching the interface and rebooting returns instance to ready-to-be-reproduced state, then adding the same 3rd interface frequently reproduces the problem again.

Steps to Reproduce:
1.Launch a r5a.24xlarge instance using ami-0a558068fc4385358 (us-west-2) from  RHEL-8.9.0 image.

2. Once it's running, attach a secondary ENI to the instance.

3. Try and attach another ENI to the instance.

Actual results:
instance hangs when 2nd instance ip rule/route table conflict occurs.

Expected results:
ip rules/route tables do not conflict.

Additional info:

Comment 3 libhe 2023-07-18 14:13:15 UTC
I have tested with the patch, it seems to resolve the issue on RHEL-8.9.


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