Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2239549 - fdi.vlan.primary is not working because of misconfigured NetworkManager
Summary: fdi.vlan.primary is not working because of misconfigured NetworkManager
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Discovery Image
Version: 6.13.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.15.0
Assignee: Frank DiPrete
QA Contact: Shweta Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-19 01:37 UTC by Alexey Masolov
Modified: 2024-07-12 16:16 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-23 17:14:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github theforeman foreman-discovery-image pull 160 0 None open Fixes #36757 - fix vlan id new line handling in nm-configure 2023-09-19 03:30:34 UTC
Red Hat Issue Tracker SAT-20183 0 None None None 2023-09-19 01:37:44 UTC
Red Hat Product Errata RHSA-2024:2010 0 None None None 2024-04-23 17:14:35 UTC

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


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