Skip to content

Instantly share code, notes, and snippets.

View trinitronx's full-sized avatar
⛩️
Zazen

James Cuzella trinitronx

⛩️
Zazen
View GitHub Profile
/opt/chefdk/bin/berks install
Resolving cookbook dependencies...
Fetching 'postgresql-gloo' from source at .
Fetching 'postgresql-test-kitchen' from source at test/fixtures/cookbooks/postgresql-test-kitchen
Press ENTER or type command to continue
Fetching cookbook index from https://127.0.0.1:26200...
Fetching cookbook index from https://api.berkshelf.com...
/opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect': SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (Faraday::SSLError)
from /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'
from /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'
Resolving cookbook dependencies...
Fetching 'postgresql-gloo' from source at .
Fetching 'postgresql-test-kitchen' from source at test/fixtures/cookbooks/postgresql-test-kitchen
Fetching cookbook index from http://127.0.0.1:26200...
Fetching cookbook index from https://api.berkshelf.com...
Error retrieving universe from source: http://127.0.0.1:26200
* [Berkshelf::APIClient::ServiceUnavaiable] service unavailable at: http://127.0.0.1:26200
Unable to satisfy constraints on package analytics-api, which does not exist, due to solution constraint (postgresql-gloo = 0.2.9). Solution constraints that may result in a constraint on analytics-api: [(postgresql-gloo = 0.2.9) -> (analytics-api >= 0.0.0)], [(postgresql-test-kitchen = 0.1.0) -> (postgresql-gloo = 0.2.9) -> (analytics-api >= 0.0.0)]
Missing artifacts: analytics-api
Demand that cannot be met: (postgresql-gloo = 0.2.9)
/opt/chefdk/bin/berks install
Resolving cookbook dependencies...
Fetching 'postgresql-gloo' from source at .
Fetching 'postgresql-test-kitchen' from source at test/fixtures/cookbooks/postgresql-test-kitchen
Fetching cookbook index from https://awo-chef-01.gloostate.com...
Fetching cookbook index from https://api.berkshelf.com...
/opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (Faraday::SSLError)
from /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'
from /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'
from /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:101:in `call'
@trinitronx
trinitronx / chefspec-rubocop-results.log
Last active August 29, 2015 14:02
RuboCop results for chefspec using HoundCI rubocop.yml file (source: https://gist.github.com/skisulli/10758684)
Inspecting 921 files
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWWCCCCCCCCCCCCCCCCCCCCCCWCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Offences:
examples/apt_package/recipes/install.rb:1:1: C: Missing utf-8 encodin
@trinitronx
trinitronx / start_x11vnc.sh
Created June 10, 2014 06:30
A script to start x11vnc server and retry with magic cookie if a desktop session is not created. This allows one to SSH into a box with only a gdm or login screen but no existing desktop session and start x11vnc to login the first time.
#!/bin/bash
if [ -x /usr/bin/x11vnc ]; then
[ "$1" == '-nocache' ] && CACHE_FLAG='-noncache' || CACHE_FLAG='-noncache'
[ "$2" == '-guess' ] && GUESS_FLAG='-auth guess' || GUESS_FLAG=''
[ -f /root/.vnc/passwd ] && PASSWORD="/root/.vnc/passwd"
[ -f $HOME/.vnc/passwd ] && PASSWORD="$HOME/.vnc/passwd"
[ ! -z "$PASSWORD" ] && x11vnc -display :0 -xkb -rfbauth $PASSWORD -rfbport 5900 -shared -forever -nowf -norc -notruecolor -bg $GUESS_FLAG $CACHE_FLAG -noxdamage
EXIT_CODE=$?
if [ $EXIT_CODE -ne 0 ]; then
--- /Applications/Vagrant/embedded/gems/specifications/vagrant-1.6.3.gemspec.old 2014-08-20 15:05:50.000000000 -0600
+++ /Applications/Vagrant/embedded/gems/specifications/vagrant-1.6.3.gemspec 2014-08-18 15:03:52.000000000 -0600
@@ -38,6 +38,7 @@
s.add_development_dependency(%q<minitest>, ["~> 2.5.1"])
s.add_development_dependency(%q<mocha>, [">= 0"])
s.add_development_dependency(%q<rspec>, ["~> 2.14.0"])
+ s.add_dependency(%q<nokogiri>, ["= 1.6.2.1"]) ## Added to fix nokogiri install bug [tracked here](https://github.com/mitchellh/vagrant/issues/3769#issuecomment-50667941)
else
s.add_dependency(%q<bundler>, ["< 1.7.0", ">= 1.5.2"])
s.add_dependency(%q<childprocess>, ["~> 0.5.0"])
@trinitronx
trinitronx / apt-term.log
Created September 30, 2014 02:36
apt-term.log: Failed do-release-upgrade due to mono (BLEGH!!) See here for solution: http://askubuntu.com/a/530212/19264
Installing new version of config file /etc/console-setup/compose.ISO-8859-7.inc ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-2.inc ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-9.inc ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-14.inc ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-15.inc ...
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
Setting up bluez-cups (4.101-0ubuntu13) ...
Setting up colord (1.0.6-1) ...
@trinitronx
trinitronx / kitchen-default-centos-64.log
Created November 19, 2014 05:33
yum-epel failure on CentOS 6.4 (due to httpS / SSL verify failure / old CA cert bundle)
---- Begin output of yum -q makecache --disablerepo=* --enablerepo=epel ----
STDOUT:
STDERR: Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
---- End output of yum -q makecache --disablerepo=* --enablerepo=epel ----
Ran yum -q makecache --disablerepo=* --enablerepo=epel returned 1
Resource Declaration:
---------------------
# In /tmp/kitchen/cookbooks/yum-epel/recipes/default.rb

Docker Registry Log:

172.17.0.19 - - [10/Apr/2015:16:39:38 +0000] "GET /v1/search HTTP/1.1" 200 1435 "-" "-"
172.17.0.19 - - [10/Apr/2015:16:39:38 +0000] "GET /v1/repositories/brosephus/app_prototype/tags HTTP/1.1" 200 78 "-" "-"
172.17.0.19 - - [10/Apr/2015:16:40:39 +0000] "GET /v1/repositories/brosephus/sweet_web_app/tags HTTP/1.1" 200 157 "-" "-"
172.17.0.19 - - [10/Apr/2015:16:40:41 +0000] "GET /v1/repositories/example/web_container/tags HTTP/1.1" 200 27959 "-" "-"
[2015-04-10 16:41:42 +0000] [127] [ERROR] Error handling request
Traceback (most recent call last):

docker pull Output:

Running on docker daemon/client host with IP 12.34.56.78

2015/04/15 17:01:01 Get https://registry.example.com:443/v1/repositories/library/ansible-base/images: read tcp 33.33.33.33:443: i/o timeout

docker daemon Logs (/var/log/docker):