Skip to content

Instantly share code, notes, and snippets.

View iiro's full-sized avatar

Iiro Niinikoski iiro

  • Red Bull Media House
  • Salzburg, Austria
View GitHub Profile

Keybase proof

I hereby claim:

  • I am iiro on github.
  • I am iniinikoski (https://keybase.io/iniinikoski) on keybase.
  • I have a public key ASCRLwUkFAdY9xiBY_O9j0Dwei7rOEHV8hW8OwoZxOCFzgo

To claim this, I am signing this object:

@iiro
iiro / gist:18eecedea1d4962b2d5f
Created September 4, 2015 21:33
Hosted Chef connectivity problem - Ireland only?
AWS Ireland, can verify with multiple accounts:
root@ip-10-165-115-99:/etc/chef# openssl s_client -connect api.opscode.com:443
connect: Connection timed out
connect:errno=110
[2015-09-05T00:09:32+03:00] ERROR: Timeout connecting to https://api.opscode.com/organizations/corp/data/groups/ubuntu, retry 1/5
[2015-09-05T00:11:45+03:00] ERROR: Error connecting to https://api.opscode.com/organizations/corp/data/groups/ubuntu, retry 2/5
[2015-09-05T00:13:57+03:00] ERROR: Error connecting to https://api.opscode.com/organizations/corp/data/groups/ubuntu, retry 3/5
[2015-09-05T00:16:09+03:00] ERROR: Error connecting to https://api.opscode.com/organizations/corp/data/groups/ubuntu, retry 4/5
@iiro
iiro / gist:c01ec87b9c7c2f619795
Created January 10, 2015 01:10
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
[201