Skip to content

Instantly share code, notes, and snippets.

@iiro
Created January 10, 2015 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iiro/c01ec87b9c7c2f619795 to your computer and use it in GitHub Desktop.
Save iiro/c01ec87b9c7c2f619795 to your computer and use it in GitHub Desktop.
Failed Chef-run for Sensu client installation
[2015-01-09T20:13:50+02:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2015-01-09T20:13:50+02:00] INFO: Sending resource update report (run-id: 7e6a86bd-3705-4fd6-825b-eb6b13478cf2)
[2015-01-09T20:13:51+02:00] ERROR: gem_package[sensu-plugin] (/var/chef/cache/cookbooks/sensu/providers/gem.rb line 2) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
---- Begin output of /opt/sensu/embedded/bin/gem install sensu-plugin -q --no-rdoc --no-ri -v “0.2.1" ----
STDOUT:
STDERR: ERROR: Could not find a valid gem 'sensu-plugin' (= 0.2.1), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/specs.4.8.gz)
---- End output of /opt/sensu/embedded/bin/gem install sensu-plugin -q --no-rdoc --no-ri -v "1.1.0" ----
Ran /opt/sensu/embedded/bin/gem install sensu-plugin -q --no-rdoc --no-ri -v “0.2.1" returned 2
[2015-01-09T20:13:51+02:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment