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 1645054 - After upgrading to Satellite 6.4, Free-IPA snippet is not rendering host kickstart file.
Summary: After upgrading to Satellite 6.4, Free-IPA snippet is not rendering host kick...
Keywords:
Status: CLOSED DUPLICATE of bug 1635680
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning Templates
Version: 6.4
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-01 10:31 UTC by Sagar Lutade
Modified: 2021-12-10 18:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-13 17:15:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sagar Lutade 2018-11-01 10:31:05 UTC
Description of problem:

Satellite is configured to IPA server REALM according to documentation. The satellite can connect to the IPA server and can create host registration with a one-time password. The problem seems to be in variables.

Version-Release number of selected component (if applicable):

Satellite 6.4

How reproducible:
NA


Actual results:

The provisioning template is not getting rendered.

Some changes in the IPA condition.

<% if host_enc['parameters']['realm'] && @host.realm && @host.realm.realm_type == 'FreeIPA' -%>

Expected results:

<% if host_enc['parameters']['realm'] && @host.realm && (@host.realm.realm_type == 'FreeIPA' || @host.realm.realm_type == 'Red Hat Identity Management') -%>

This change fixes the issue as per the upstream link: 

https://github.com/theforeman/community-templates/blob/develop/provisioning_templates/provision/kickstart_default.erb#L203

Satellite kickstart default template.

Comment 1 Brad Buckingham 2018-11-13 17:15:14 UTC
The referenced fix is associated with bug 1635680; therefore, closing this one as a duplicate.

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


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