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:
I have tested with the patch, it seems to resolve the issue on RHEL-8.9.