Skip to content

Instantly share code, notes, and snippets.

@acaiafa
Created January 21, 2014 06:50
Show Gist options
  • Save acaiafa/9b56b57011a5c247fe03 to your computer and use it in GitHub Desktop.
Save acaiafa/9b56b57011a5c247fe03 to your computer and use it in GitHub Desktop.
11.8.2
vagrant@default-do-ubuntu-1204:/opt/chef/embedded/bin$ sudo -E chef-client -z --config /tmp/kitchen/client.rb --json-attributes /tmp/kitchen/dna.json --log_level info
/opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find chef-zero (>= 1.6.2, ~> 1.6) amongst [activesupport-3.2.16, bigdecimal-1.1.0, builder-3.2.2, bundler-1.1.5, chef-11.8.2, chef-zero-2.0.2, coderay-1.1.0, diff-lcs-1.2.5, docile-1.1.1, erubis-2.7.0, hashie-2.0.5, highline-1.6.20, i18n-0.6.8, io-console-0.3, ipaddress-0.8.0, json-1.7.7, json-1.5.5, method_source-0.8.2, mime-types-1.25.1, minitest-2.5.1, mixlib-authentication-1.3.0, mixlib-cli-1.3.0, mixlib-config-2.0.0, mixlib-log-1.6.0, mixlib-shellout-1.2.0, moneta-0.6.0, multi_json-1.8.2, net-ssh-2.7.0, net-ssh-gateway-1.2.0, net-ssh-multi-1.2.0, net-ssh-multi-1.1, ohai-6.20.0, pry-0.9.12.4, puma-1.6.3, rack-1.5.2, rake-10.1.0, rake-0.9.2.2, rdoc-3.12.2, rdoc-3.9.5, rest-client-1.6.7, rspec-2.13.0, rspec-core-2.13.1, rspec-expectations-2.13.0, rspec-mocks-2.13.1, rspec_junit_formatter-0.1.6, ruby-shadow-2.3.1, sdoc-0.3.20, simplecov-0.8.2, simplecov-html-0.8.0, slop-3.4.7, systemu-2.5.2, yajl-ruby-1.1.0] (Gem::LoadError)
from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:777:in `block in activate_dependencies'
from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:766:in `each'
from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:766:in `activate_dependencies'
from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:750:in `activate'
from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems.rb:1232:in `gem'
from /usr/bin/chef-client:22:in `<main>'
11.6.2
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/mixlib-cli-1.3.0/lib/mixlib/cli.rb:226:in `parse_options': invalid option: -z (OptionParser::InvalidOption)
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.2/lib/chef/application.rb:71:in `configure_chef'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.2/lib/chef/application.rb:58:in `reconfigure'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.2/lib/chef/application/client.rb:218:in `reconfigure'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.2/lib/chef/application.rb:64:in `run'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.2/bin/chef-client:26:in `<top (required)>'
from /usr/bin/chef-client:23:in `load'
from /usr/bin/chef-client:23:in `<main>'
>>>>>> Converge failed on instance <default-do-ubuntu-1204-1162>.
>>>>>> Please see .kitchen/logs/default-do-ubuntu-1204-1162.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sudo -E chef-client -z --config /tmp/kitchen/client.rb --json-attributes /tmp/kitchen/dna.json --log_level info]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment