Skip to content

Instantly share code, notes, and snippets.

[2014-07-15T12:24:28-04:00] INFO: github_asset[berkshelf-api.tar.gz] downloading asset
================================================================================
Error executing action `download` on resource 'github_asset[berkshelf-api.tar.gz]'
================================================================================
GithubCB::ReleaseNotFound
-------------------------
release not found
================================================================================
Error executing action `upload` on resource 'machine_file[/tmp/spike1.txt]'
================================================================================
Net::HTTPServerException
------------------------
404 "Not Found "
provider "foo" do
something { "foo" => "bar }
end
@eklein
eklein / gist:8108632
Created December 24, 2013 03:58
Simultaneous test-kitchen runs as the same user on the same box results in tk runs affecting each other
First job was started at 20:46:43, second at .. All is well until the first job runs a kitchen destroy:
These are both excerpts from job #1:
20:50:45 Finished verifying <default-centos-64-x86-64> (0m2.06s).
20:50:45 -----> Destroying <default-centos-64-x86-64>...
20:50:47 [default] Forcing shutdown of VM...
20:50:48 [default] Destroying VM and associated drives...
20:50:48 Vagrant instance <default-centos-64-x86-64> destroyed.
20:50:48 Finished destroying <default-centos-64-x86-64> (0m3.04s).
@eklein
eklein / gist:5823219
Created June 20, 2013 14:30
berks install JSON::ParserError
/Users/eklein/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/json-1.8.0/lib/json/common.rb:155:in `initialize': A JSON text must at least contain two octets! (JSON::ParserError)
from /Users/eklein/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/json-1.8.0/lib/json/common.rb:155:in `new'
from /Users/eklein/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/json-1.8.0/lib/json/common.rb:155:in `parse'
from /Users/eklein/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/berkshelf-2.0.4/lib/berkshelf/lockfile.rb:39:in `load!'
from /Users/eklein/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/berkshelf-2.0.4/lib/berkshelf/lockfile.rb:31:in `initialize'
from /Users/eklein/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/berkshelf-2.0.4/lib/berkshelf/berksfile.rb:694:in `new'
from /Users/eklein/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/berkshelf-2.0.4/lib/berkshelf/berksfile.rb:694:in `lockfile'
from /Users/eklein/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/berkshelf-2.0.4
Total Accesses: 2061
Total kBytes: 13165
CPULoad: .0401932
Uptime: 5175
ReqPerSec: .398261
BytesPerSec: 2605.02
BytesPerReq: 6540.98
BusyWorkers: 1
IdleWorkers: 18
Scoreboard: ______________W____.............................................................................................................................................................................................................................................................................................................................................................................................
Trying to run chef-solo to bootstrap chef-server on OEL 6.2.. I installed chef-client via the omnibus installer.
I went through and modified all the recipes to include support for the oracle platform type, but now i'm getting a ruby error:
[2012-09-08T10:51:32-06:00] INFO: *** Chef 10.14.0 ***
[2012-09-08T10:51:33-06:00] INFO: Setting the run_list to ["recipe[chef-server::rubygems-install]"] from JSON
[2012-09-08T10:51:33-06:00] INFO: Run List is [recipe[chef-server::rubygems-install]]
[2012-09-08T10:51:33-06:00] INFO: Run List expands to [chef-server::rubygems-install]
[2012-09-08T10:51:33-06:00] INFO: Starting Chef Run for bld-chefserver-01.f4tech.com
[2012-09-08T10:51:33-06:00] INFO: Running start handlers
[Mon Aug 13 11:35:44 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Aug 13 11:35:45 2012] [error] Unable to configure X.509 CRL storage for certificate revocation
[Mon Aug 13 11:35:45 2012] [error] SSL Library Error: 218570907 error:0D07209B:asn1 encoding routines:ASN1_get_object:too long
[Mon Aug 13 11:35:45 2012] [error] SSL Library Error: 218529894 error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object header
[Mon Aug 13 11:35:45 2012] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Mon Aug 13 11:35:45 2012] [error] SSL Library Error: 151470093 error:0907400D:PEM routines:PEM_X509_INFO_read_bio:ASN1 lib
[Mon Aug 13 11:35:45 2012] [error] SSL Library Error: 185090057 error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib
[buildslave-2@bld-engbld-06 ~]$ find ${HOME}/.rvm/user
/home/buildslave-2/.rvm/user
/home/buildslave-2/.rvm/user/installs