Bug 2239549

Summary: fdi.vlan.primary is not working because of misconfigured NetworkManager
Product: Red Hat Satellite Reporter: Alexey Masolov <amasolov>
Component: Discovery ImageAssignee: Frank DiPrete <fdiprete>
Status: CLOSED ERRATA QA Contact: Shweta Singh <shwsingh>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.13.3CC: addubey, fdiprete, gtalreja, lstejska, rlavi, shwsingh, zhunting
Target Milestone: 6.15.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-23 17:14:33 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 Alexey Masolov 2023-09-19 01:37:21 UTC
Description of problem:
Using fdi.vlan.primary parameter creates a broken NetworkManager configuration:

In the section VLAN, a new line expression is not evaluated properly: 

/etc/NetworkManager/system-connections/primary
[connection]
id=primary
type=vlan
autoconnect=true
autoconnect-priority=1
[802-3-ethernet]
mac-address=00:a0:10:01:d5:ab
[ipv4]
method=auto
dhcp-send-hostname=false
dhcp-timeout=300
[ipv6]
method=auto
[vlan]\nid=10 <===

Comment 3 Brad Buckingham 2023-10-30 11:29:29 UTC
Bulk setting Target Milestone = 6.15.0 where sat-6.15.0+ is set.

Comment 4 Leos Stejskal 2023-11-14 10:10:59 UTC
Upstream fix has been merged to the develop branch,

fdiprete we need to CP it to the downstream and release a new version.

Comment 6 Shweta Singh 2024-01-23 09:08:10 UTC
Verified 

Tested on: Satellite 6.15.0 snap 6

Steps followed:

1. Setup discovery on Satellite
2. Boot up a host to discovery and provision the host
3. Check newline in vlan section is evaluated properly in /etc/NetworkManager/system-connections/primary

Result: 
Newline in vlan section is properly evaluated.

Comment 9 errata-xmlrpc 2024-04-23 17:14:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.15.0 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2024:2010