Project

General

Profile

Bug #32508

user mode templates use root_pass.empty? which doesn't work on NilClass

Added by Evgeni Golov almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

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)

Associated revisions

Revision 5c3d913c (diff)
Added by Evgeni Golov almost 2 years ago

Fixes #32508 - use root_pass.present? to check the root_pass

.empty? doesn't work on NilClass

History

#1 Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8497 added

#2 Updated by Evgeni Golov almost 2 years ago

  • Bugzilla link set to 1956951

#3 Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases 3.0.0 added

#4 Updated by Tomer Brisker almost 2 years ago

  • Fixed in Releases 2.5.0 added
  • Fixed in Releases deleted (3.0.0)

#5 Updated by Evgeni Golov almost 2 years ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Tomer Brisker almost 2 years ago

  • Target version set to 2.4.1

#7 Updated by Tomer Brisker almost 2 years ago

  • Fixed in Releases 2.4.1 added

Also available in: Atom PDF