Bug 1645054

Summary: After upgrading to Satellite 6.4, Free-IPA snippet is not rendering host kickstart file.
Product: Red Hat Satellite Reporter: Sagar Lutade <slutade>
Component: Provisioning TemplatesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4CC: ahumbe, gapatil, jbittner, mhulan
Target Milestone: UnspecifiedKeywords: PrioBumpGSS, Upgrades
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-13 17:15:14 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 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 ***