Project

General

Profile

Bug #32508

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

Added by Evgeni Golov about 1 month ago. Updated 10 days ago.

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

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 about 1 month 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 about 1 month ago

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

#2 Updated by Evgeni Golov about 1 month ago

  • Bugzilla link set to 1956951

#3 Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases 2.6.0 added

#4 Updated by Tomer Brisker about 1 month ago

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

#5 Updated by Evgeni Golov about 1 month ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Tomer Brisker 10 days ago

  • Target version set to 2.4.1

#7 Updated by Tomer Brisker 10 days ago

  • Fixed in Releases 2.4.1 added

Also available in: Atom PDF