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 - [rhel-7.9]Incorrect ds-identify check in cloud-init-generator
Summary: [rhel-7.9]Incorrect ds-identify check in cloud-init-generator
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cloud-init
Version: 7.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Eduardo Otubo
QA Contact: Huijuan Zhao
Jiri Herrmann
URL:
Whiteboard:
Depends On:
Blocks: 1834173 1844366
TreeView+ depends on / blocked
 
Reported: 2020-03-17 09:30 UTC by Miroslav Rezanina
Modified: 2021-09-03 16:51 UTC (History)
10 users (show)

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.
Clone Of:
: 1834173 (view as bug list)
Environment:
Last Closed: 2020-06-24 19:14:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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