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.