Bug 1956951

Summary: user mode templates use root_pass.empty? which doesn't work on NilClass
Product: Red Hat Satellite Reporter: Evgeni Golov <egolov>
Component: Provisioning TemplatesAssignee: Evgeni Golov <egolov>
Status: ON_QA --- QA Contact: Ondrej Gajdusek <ogajduse>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: ehelms, mhulan
Target Milestone: 6.10.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Evgeni Golov 2021-05-04 18:11:06 UTC
When deploying a host on Azure and not specifying a root password, I got the following error:

Render user data template for whoa.yatsu.example.com task failed with the following error: undefined method '#empty?' for NilClass::Jail (NilClass)

Comment 1 Evgeni Golov 2021-05-04 18:11:11 UTC
Created from redmine issue https://projects.theforeman.org/issues/32508

Comment 2 Evgeni Golov 2021-05-04 18:11:12 UTC
Upstream bug assigned to egolov@redhat.com