Bug 1879003

Summary: VLAN over bridge in initramfs not getting IPv4 addres via DHCP
Product: Red Hat Enterprise Linux 8 Reporter: Filip Pokryvka <fpokryvk>
Component: NetworkManagerAssignee: NetworkManager Development Team <nm-team>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.3CC: acardace, atragler, bgalvani, lrintel, rkhan, sukulkar, till
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.28.0-0.1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-08 12:10:56 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:

Description Filip Pokryvka 2020-09-15 07:51:41 UTC
Description of problem:
When booting with "bridge=br0:ens2,ens3 vlan=vlan5:br0", interface vlan5 does not receive IPv4 address via DHCP.

Version-Release number of selected component (if applicable):
NetworkManager-1.26.0-7.el8
dracut-049-95.git20200804.el8.x86_64

How reproducible:
always

Steps to Reproduce:
1. boot with "bridge=br0:ens2,ens3 vlan=vlan5:br0"

Actual results:
DHCP request is visible on the server, but for different MAC address (MAC of vlan5 happens to be the same as MAC of br0, DHCP request is for some random MAC, which even changes, when trying for longer time), vlan5 does not receive the IPv4 address.

Expected results:
There is no MAC mismatch, and vlan5 receives IPv4 address.

Additional info:
This bug is reproducible within NetworkManager-ci, it was discovered during implementation of initramfs (dracut) tests for NetworkManager.

Comment 2 Antonio Cardace 2020-10-08 06:39:34 UTC
Hi Filip,

this sounds like https://bugzilla.redhat.com/show_bug.cgi?id=1818697 which has been fixed in NetworkManager-1.28.0-0.1.el8, can you try to reproduce it against that version?

Thanks,
Antonio

Comment 3 Filip Pokryvka 2020-10-08 10:42:37 UTC
Hi Antonio,

in NetworkManager-1.28.0-0.1.el8 problem seems to be gone, the MAC address of the first device in bridge is seen by DHCP server, and so lease is renewed correctly. Will this be backported to 1-26 branch?

I will update NetworkManager-ci, when we make the test stable enough.

Thanks,
Filip

Comment 4 Antonio Cardace 2020-10-08 12:10:56 UTC
Hi Filip,

glad that it's been fixed already ;)

I'm closing this, anyone can open a zstream request if this needs backporting.

Thanks,
Antonio

*** This bug has been marked as a duplicate of bug 1818697 ***