Bug #32508
user mode templates use root_pass.empty? which doesn't work on NilClass
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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
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
Applied in changeset foreman|5c3d913c14746bae84d90bdfd8c9fb11d3cf4017.
#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
Fixes #32508 - use root_pass.present? to check the root_pass
.empty? doesn't work on NilClass