Project

General

Profile

Bug #1488

blank root_password in host group breaks automated provisioning

Added by Adrian Bridgett over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

I have a default root password hash set (in Settings) however if I leave the host group root password blank then the host seems to be given a different root password.

In fact the password it is given is:
$1$foreman$6pLrR7U(rest cut for security)

This is on v0.4.1


Related issues

Is duplicate of Foreman - Bug #1586: Root password inheritance doesn't seem to work properlyClosed2012-04-25

History

#1 Updated by Ohad Levy over 7 years ago

  • Target version set to 1.0

#2 Updated by Ohad Levy over 7 years ago

  • Difficulty set to trivial

#3 Updated by Ohad Levy about 7 years ago

  • Status changed from New to Need more information

I was not able to reproduce the issue.

looking at the code, foreman copies the hostgroup password when creating the host (if none already defined).
then, the hostgroup PW is defined that either it exists, or it uses the global PW.

any chance this relates to nesting?

also, any chance you can see if you can reproduce it on 0.5?

#4 Updated by Ohad Levy about 7 years ago

  • Status changed from Need more information to Closed

Also available in: Atom PDF