Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2251473

Summary: Red Hat Satellite Image based provisioning of RHEL9 using cloud-init and userdata still creates deprecated ifcfg files
Product: Red Hat Satellite Reporter: soham <smajumda>
Component: ProvisioningAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.12.5CC: lstejska, s.heijmans, sshtein
Target Milestone: Unspecified   
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: 2023-11-28 12:07:21 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 soham 2023-11-25 13:44:23 UTC
Description of problem:
Red Hat Satellite 6 Image based provisioning of RHEL9 using cloud-init and userdata still creates deprecated ifcfg files


How reproducible: Always


Steps to Reproduce:
1. Create an image for RHEL9.3 with the steps mentioned in https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html/provisioning_hosts/provisioning_virtual_machines_in_vmware_vmware-provisioning#Using_VMware_Cloud_Init_and_Userdata_Templates_for_Provisioning_vmware-provisioning


2. Use this image to provision a RHEL9.3 host on satellite.


Actual results:

[root@byron-voorhees ~]# ll /etc/sysconfig/network-scripts/
total 8
-rw-r--r--. 1 root root  338 Nov 25 12:24 ifcfg-ens32
-rw-r--r--. 1 root root 1244 Aug 31 08:08 readme-ifcfg-rh.txt


# nmcli conn show
NAME   UUID                                  TYPE      DEVICE 
ens32  152beb06-47c5-c5e8-95a9-385590654382  ethernet  ens32  
lo     3e2c212c-76c5-4927-bd92-9858b7fcd580  loopback  lo    



Expected results:
ifcfg files are deprecated and should not be used.

Additional info:
We have bz https://bugzilla.redhat.com/show_bug.cgi?id=2135787 for satellite but this bz is raised mainly for cloud-init & userdata.

Comment 3 Leos Stejskal 2023-11-28 12:07:21 UTC

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

Comment 4 Leos Stejskal 2023-11-28 12:10:24 UTC
Marked as duplicate, customer case have been copied to https://bugzilla.redhat.com/show_bug.cgi?id=2135787