-
Notifications
You must be signed in to change notification settings - Fork 12
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
Not working with chef >=12 #4
Merged
Merged
Conversation
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
Hi, I was having this errors: ``` [2015-03-09T16:15:02+01:00] FATAL: Stacktrace dumped to .../.chef/local-mode-cache/cache/chef-stacktrace.out [2015-03-09T16:15:02+01:00] DEBUG: RuntimeError: machine[front.website.inte] (@recipe_files::.../driver/ssh/front.rb line 4) had an error: RuntimeError: No Keys OR Password, No Can Do Compadre .../gems/chef-provisioning-ssh-0.0.4/lib/chef/provisioning/ssh_driver/driver.rb:342:in `ensure_has_keys_or_password' .../gems/chef-provisioning-ssh-0.0.4/lib/chef/provisioning/ssh_driver/driver.rb:328:in `updated_transport_options_hash' .../gems/chef-provisioning-ssh-0.0.4/lib/chef/provisioning/ssh_driver/driver.rb:260:in `updated_ssh_machine_file_hash' .../gems/chef-provisioning-ssh-0.0.4/lib/chef/provisioning/ssh_driver/driver.rb:95:in `allocate_machine' .../gems/chef-provisioning-0.19/lib/chef/provider/machine.rb:28:in `block in <class:Machine>' .../gems/chef-12.0.3/lib/chef/provider/lwrp_base.rb:60:in `instance_eval' .../gems/chef-12.0.3/lib/chef/provider/lwrp_base.rb:60:in `recipe_eval_with_update_check' .../gems/chef-12.0.3/lib/chef/provider/lwrp_base.rb:45:in `block in action' .../gems/chef-provisioning-0.19/lib/chef/provider/machine.rb:33:in `block in <class:Machine>' .../gems/chef-12.0.3/lib/chef/provider/lwrp_base.rb:60:in `instance_eval' .../gems/chef-12.0.3/lib/chef/provider/lwrp_base.rb:60:in `recipe_eval_with_update_check' .../gems/chef-12.0.3/lib/chef/provider/lwrp_base.rb:45:in `block in action' .../gems/chef-provisioning-0.19/lib/chef/provider/machine.rb:51:in `block in <class:Machine>' .../gems/chef-12.0.3/lib/chef/provider/lwrp_base.rb:60:in `instance_eval' .../gems/chef-12.0.3/lib/chef/provider/lwrp_base.rb:60:in `recipe_eval_with_update_check' .../gems/chef-12.0.3/lib/chef/provider/lwrp_base.rb:45:in `block in action' .../gems/chef-12.0.3/lib/chef/provider.rb:145:in `run_action' .../gems/chef-12.0.3/lib/chef/resource.rb:582:in `run_action' .../gems/chef-12.0.3/lib/chef/runner.rb:49:in `run_action' .../gems/chef-12.0.3/lib/chef/runner.rb:81:in `block (2 levels) in converge' .../gems/chef-12.0.3/lib/chef/runner.rb:81:in `each' .../gems/chef-12.0.3/lib/chef/runner.rb:81:in `block in converge' .../gems/chef-12.0.3/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource' .../gems/chef-12.0.3/lib/chef/resource_collection/stepable_iterator.rb:116:in `call' .../gems/chef-12.0.3/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' .../gems/chef-12.0.3/lib/chef/resource_collection/stepable_iterator.rb:85:in `step' .../gems/chef-12.0.3/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' .../gems/chef-12.0.3/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' .../gems/chef-12.0.3/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource' .../gems/chef-12.0.3/lib/chef/runner.rb:80:in `converge' .../gems/chef-12.0.3/lib/chef/client.rb:315:in `converge' .../gems/chef-12.0.3/lib/chef/client.rb:400:in `block in run' .../gems/chef-12.0.3/lib/chef/client.rb:399:in `catch' .../gems/chef-12.0.3/lib/chef/client.rb:399:in `run' .../gems/chef-12.0.3/lib/chef/application.rb:261:in `block in fork_chef_client' .../gems/chef-12.0.3/lib/chef/application.rb:249:in `fork' .../gems/chef-12.0.3/lib/chef/application.rb:249:in `fork_chef_client' .../gems/chef-12.0.3/lib/chef/application.rb:215:in `block in run_chef_client' .../gems/chef-12.0.3/lib/chef/local_mode.rb:38:in `with_server_connectivity' .../gems/chef-12.0.3/lib/chef/application.rb:201:in `run_chef_client' .../gems/chef-12.0.3/lib/chef/application/client.rb:355:in `block in interval_run_chef_client' .../gems/chef-12.0.3/lib/chef/application/client.rb:345:in `loop' .../gems/chef-12.0.3/lib/chef/application/client.rb:345:in `interval_run_chef_client' .../gems/chef-12.0.3/lib/chef/application/client.rb:335:in `run_application' .../gems/chef-12.0.3/lib/chef/application.rb:58:in `run' .../gems/chef-12.0.3/bin/chef-client:26:in `<top (required)>' /home/prambaud/.rbenv/versions/2.1.5/bin/chef-client:23:in `load' /home/prambaud/.rbenv/versions/2.1.5/bin/chef-client:23:in `<main>' Chef Client failed. 0 resources updated in 1.975345062 seconds [2015-03-09T16:15:02+01:00] DEBUG: Server doesn't support resource history, skipping resource report. [2015-03-09T16:15:02+01:00] ERROR: machine[front.website.inte] (@recipe_files::.../driver/ssh/front.rb line 4) had an error: RuntimeError: No Keys OR Password, No Can Do Compadre [2015-03-09T16:15:02+01:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) ``` Here a soltuion I found on stackoverflow: http://stackoverflow.com/questions/28028643/why-chef-metal-ssh-is-failed Regards
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
I was having this errors:
Here a soltuion I found on stackoverflow: http://stackoverflow.com/questions/28028643/why-chef-metal-ssh-is-failed
Regards