Bug 1369544

Summary: Viewing the Satellite Kickstart Default User Data produces "undefined method `digest' for nil:NilClass"
Product: Red Hat Satellite Reporter: Taft Sanders <tasander>
Component: Provisioning TemplatesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.2.0CC: bbuckingham, jcallaha, kdixon
Target Milestone: UnspecifiedKeywords: Triaged
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: 2017-07-11 23:34:25 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:

Description Taft Sanders 2016-08-23 17:24:32 UTC
Description of problem:
Previewing Satellite Kickstart Default User Data template, as well as others, produces the "undefined method `digest' for nil:NilClass" or "Warning! No host could be found for rendering the template"

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

How reproducible:
Everytime

Steps to Reproduce:
1.Navigate to the Satellite Kickstart Default User Data template
2.Click preview
3.

Actual results:
"undefined method `digest' for nil:NilClass" or "Warning! No host could be found for rendering the template" error messages

Expected results:
a preview of the template

Additional info:
Error also appears when using the Satellite Kickstart Default User Data template but can be by passed by commenting out the "if @host.info['parameters']['realm'] && @host.realm && @host.realm.realm_type == 'Red Hat Identity Management'" line in the template