Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1814175

Summary: [rhel-7.9]Incorrect ds-identify check in cloud-init-generator
Product: Red Hat Enterprise Linux 7 Reporter: Miroslav Rezanina <mrezanin>
Component: cloud-initAssignee: Eduardo Otubo <eterrell>
Status: CLOSED WONTFIX QA Contact: Huijuan Zhao <huzhao>
Severity: unspecified Docs Contact: Jiri Herrmann <jherrman>
Priority: unspecified    
Version: 7.9CC: eterrell, huzhao, jgreguske, jmaloy, leiwang, ribarry, xiachen, xiliang, yacao, yuxisun
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cloud-init-19.4-8.el7 Doc Type: Known Issue
Doc Text:
Cause: Downstream we support a different path for ds-identify script. Consequence: There's no specific bug related to that. Having in compatible with upstream would make it easier to backport patches in the future. Workaround (if any): Result: The patches have been dropped since we're not likely to backport more huge fixes for RHEL-7 family.
Story Points: ---
Clone Of:
: 1834173 (view as bug list) Environment:
Last Closed: 2020-06-24 19:14:19 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:
Bug Depends On:    
Bug Blocks: 1834173, 1844366    

Description Miroslav Rezanina 2020-03-17 09:30:11 UTC
ds-identify path in cloud-init-generator depends on used system. Upstraem uses /usr/libexec for redhat, centos and fedora. However, in redhat we use /usr/lib path. This change was introduced in commit e1795a5c (in 19.4).

We hacked this problem during rebase by removing redhat from check. However, we should examine whether the upstream check is incorrect (and we need to fix it) or we should move ds-identify to /usr/libexec.

Comment 14 Huijuan Zhao 2020-06-10 07:51:11 UTC
Tested with cloud-init-19.4-8.el7, the issue is fixed.
The ds-identify path is changed from /usr/lib/cloud-init/ to /usr/libexec/cloud-init/, cloud-init basic functions work well.

Test version:
$ uname -a
Linux huzhao-79-test-bug 3.10.0-1149.el7.x86_64 #1 SMP Thu Jun 4 17:13:53 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

$ rpm -qa | grep cloud-init
cloud-init-19.4-8.el7.x86_64

Change the status to VERIFIED.