Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate install-runner process foiled by leftover validation.pem #197

Open
sean-horn opened this issue Aug 16, 2017 · 0 comments
Open

Automate install-runner process foiled by leftover validation.pem #197

sean-horn opened this issue Aug 16, 2017 · 0 comments
Labels
Type: Bug Does not work as expected.

Comments

@sean-horn
Copy link

Cookbook version

[Any]

Chef-client version

[12.x]

Platform Details

[Any supported]

Scenario:

Stray /etc/chef/validation.pem files break Automate install-runner

Steps to Reproduce:

  1. Leave an /etc/chef/validation.pem hanging around on a system that will be bootstrapped with automate-ctl install-runner with any current Automate version
  2. Attempt the automate-ctl install-runner
  3. The bootstrap step of the automate-ctl install-runner will fail
  4. Remove the validation.pem
  5. Try another automate-ctl install-runner and it should succeed with no other changes

Expected Result:

runner can be bootstrapped

Actual Result:

Runner automate-ctl install-runner bootstrap step fails, because the chef-client running as a part of the command is inadvertently using the /etc/chef/validation.pem that it finds as part of its regular search pattern, rather than a validatorless bootstrap as it is currently designed.

@iennae iennae added the Type: Bug Does not work as expected. label Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

2 participants