Project

General

Profile

Actions

Bug #1488

closed

blank root_password in host group breaks automated provisioning

Added by Adrian Bridgett about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
trivial
Triaged:
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 1 (0 open1 closed)

Is duplicate of Foreman - Bug #1586: Root password inheritance doesn't seem to work properlyClosedOhad Levy04/25/2012Actions
Actions #1

Updated by Ohad Levy about 12 years ago

  • Target version set to 1.0
Actions #2

Updated by Ohad Levy almost 12 years ago

  • Difficulty set to trivial
Actions #3

Updated by Ohad Levy almost 12 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?

Actions #4

Updated by Ohad Levy almost 12 years ago

  • Status changed from Need more information to Closed
Actions

Also available in: Atom PDF