-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do a better check for hosts in build
There is a corner case in which if the foreman templates have a line such as: sshpw --username=root my_kickstart_password and the host is marked for build (and may be in the middle of provisioning) quads validate_env.py mistakes the kickstart as complete because validate_env.py only uses Netcat() to determine that the host is reachable. A more comprehensive check is needed to know if the host is reachable using a well known password, and a better determination can be made to know that the host may be mid-kickstart. Also makes sure that sshhelper doesn't use keys when checking to see if the host is accessible via ssh (in case host is foreman built and has ssh keys and yet it's still marked for build) Fixes: #445 Change-Id: Ib8e7c36d34c3d224f1fce405fe10101e5bf2de34
- Loading branch information
1 parent
0c89eeb
commit e78c7b9
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters