Skip to content

Instantly share code, notes, and snippets.

@christianhager
Created June 1, 2010 22:40
Show Gist options
  • Save christianhager/421633 to your computer and use it in GitHub Desktop.
Save christianhager/421633 to your computer and use it in GitHub Desktop.
[Tue, 01 Jun 2010 15:37:13 -0700] INFO: Starting Chef Solo Run
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: {"MANPATH"=>
"/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man:/etc/java-config/system-vm/man/:/usr/share/postgresql-8.3/man:/usr/lib64/erlang/man",
"SHELL"=>"/bin/bash",
"SSH_CLIENT"=>"10.208.30.159 53672 22",
"USER"=>"root",
"CONFIG_PROTECT_MASK"=>
"/etc/env.d/java/ /etc/udev/rules.d /etc/fonts/fonts.conf /etc/terminfo /etc/eselect/postgresql /etc/ca-certificates.conf /etc/revdep-rebuild",
"PAGER"=>"/usr/bin/less",
"RACK_ENV"=>"production",
"MAIL"=>"/var/mail/root",
"PATH"=>
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/usr/lib/subversion/bin:/usr/local/ey_resin/bin",
"_"=>"/usr/local/ey_resin/bin/chef-solo",
"PWD"=>"/root",
"JAVA_HOME"=>"/etc/java-config-2/current-system-vm",
"EDITOR"=>"/bin/nano",
"JAVAC"=>"/etc/java-config-2/current-system-vm/bin/javac",
"MERB_ENV"=>"production",
"SHLVL"=>"3",
"HOME"=>"/root",
"JDK_HOME"=>"/etc/java-config-2/current-system-vm",
"RAILS_ENV"=>"production",
"LOGNAME"=>"root",
"LESS"=>"-R -M --shift 5",
"CVS_RSH"=>"ssh",
"GCC_SPECS"=>"",
"SSH_CONNECTION"=>"10.208.30.159 53672 10.211.115.160 22",
"CLASSPATH"=>".",
"LESSOPEN"=>"|lesspipe.sh %s",
"INFOPATH"=>
"/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info",
"RUBYOPT"=>""}
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: rails:2.3.5 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: treetop:1.4.2 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: memcache-client:1.8.0 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: god:0.8.0 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: system_timer:1.0 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: SystemTimer:1.2 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: starling:0.10.1 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: daemons:1.0.10 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: eventmachine:0.12.10 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: rb-kqueue:0.1.0 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: google-spreadsheet-ruby:0.1.1 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: rubyzip:0.9.4 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: ruby-ole:1.2.10.1 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: tlsmail:0.0.1 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: nokogiri:1.4.1 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: hpricot:0.8.2 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Gem: roo:1.9.3 already installed, skipping
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Applying Recipe: nginx
[Tue, 01 Jun 2010 15:37:14 -0700] INFO: Making monitrc for: memcached
[Tue, 01 Jun 2010 15:37:15 -0700] INFO: Ran execute[reporting for ruby install] successfully
[Tue, 01 Jun 2010 15:37:17 -0700] INFO: Ran execute[reporting for rubygems update] successfully
[Tue, 01 Jun 2010 15:37:18 -0700] INFO: Ran execute[ensure-user-switching-works] successfully
[Tue, 01 Jun 2010 15:37:18 -0700] INFO: Ran execute[disassociate-time-from-hardware-clock] successfully
[Tue, 01 Jun 2010 15:37:19 -0700] INFO: remote_file[/etc/conf.d/ntpd] sending run action to execute[ensure-ntpd-is-running] (immediate)
[Tue, 01 Jun 2010 15:37:19 -0700] INFO: Ran execute[ensure-ntpd-is-running] successfully
[Tue, 01 Jun 2010 15:37:20 -0700] INFO: Ran execute[reporting for users] successfully
[Tue, 01 Jun 2010 15:37:20 -0700] INFO: Ran execute[update-username] successfully
[Tue, 01 Jun 2010 15:37:20 -0700] INFO: Ran execute[chown homedir to user] successfully
[Tue, 01 Jun 2010 15:37:20 -0700] INFO: Ran execute[add framework env to /etc/profile] successfully
[Tue, 01 Jun 2010 15:37:21 -0700] INFO: Ran execute[emerge-sync] successfully
[Tue, 01 Jun 2010 15:37:21 -0700] INFO: Ran execute[restart-sshd-with-good-ulimits] successfully
[Tue, 01 Jun 2010 15:37:21 -0700] INFO: Deleting directory[/root/.gem] recursively at /root/.gem
[Tue, 01 Jun 2010 15:37:29 -0700] INFO: Ran execute[reporting for backups] successfully
[Tue, 01 Jun 2010 15:37:30 -0700] INFO: Updating remote_file[/etc/chef-custom/solo.rb] at /etc/chef-custom/solo.rb
[Tue, 01 Jun 2010 15:37:30 -0700] INFO: Backing up remote_file[/etc/chef-custom/solo.rb] to /etc/chef-custom/solo.rb.chef-20100601153730
[Tue, 01 Jun 2010 15:37:31 -0700] INFO: Ran execute[reporting for ssh keys] successfully
[Tue, 01 Jun 2010 15:37:31 -0700] INFO: Setting mode to 755 for directory[/home/christph/.ssh]
[Tue, 01 Jun 2010 15:37:33 -0700] INFO: Ran execute[reporting for monit] successfully
[Tue, 01 Jun 2010 15:37:34 -0700] INFO: Ran execute[fix the permissions] successfully
[Tue, 01 Jun 2010 15:37:35 -0700] INFO: Ran execute[reporting for packages] successfully
[Tue, 01 Jun 2010 15:37:36 -0700] INFO: Ran execute[reporting for rubygems] successfully
[Tue, 01 Jun 2010 15:37:36 -0700] INFO: Ran bash[remove-mirror-from-etc-hosts] successfully
[Tue, 01 Jun 2010 15:37:38 -0700] INFO: Ran execute[reporting for nginx] successfully
[Tue, 01 Jun 2010 15:37:40 -0700] INFO: Ran execute[reporting for nginx-passenger] successfully
[Tue, 01 Jun 2010 15:37:41 -0700] INFO: Ran execute[remove /etc/nginx] successfully
[Tue, 01 Jun 2010 15:37:41 -0700] INFO: Creating a symbolic link from /data/nginx -> /etc/nginx for link[/etc/nginx]
[Tue, 01 Jun 2010 15:37:42 -0700] INFO: Ran execute[ensure-no-old-ssl-vhosts-for-arcticelvis] successfully
[Tue, 01 Jun 2010 15:37:43 -0700] INFO: Ran execute[reporting for deploy keys] successfully
[Tue, 01 Jun 2010 15:37:43 -0700] INFO: Setting mode to 700 for directory[/home/christph/.ssh]
[Tue, 01 Jun 2010 15:37:43 -0700] INFO: Ran execute[add-deploy-key-for-arcticelvis] successfully
[Tue, 01 Jun 2010 15:37:43 -0700] INFO: Ran execute[clearing old crons] successfully
[Tue, 01 Jun 2010 15:37:43 -0700] INFO: Ran execute[add resin PATH to cron] successfully
[Tue, 01 Jun 2010 15:37:43 -0700] INFO: Added cron 'ey-snapshots'
[Tue, 01 Jun 2010 15:37:43 -0700] INFO: Ran execute[reporting for mysql] successfully
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Ran execute[set-root-mysql-pass] successfully
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Creating template[/tmp/mysql-cleanup.sql] at /tmp/mysql-cleanup.sql
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Setting owner to 0 for template[/tmp/mysql-cleanup.sql]
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Setting group to 0 for template[/tmp/mysql-cleanup.sql]
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Setting mode to 644 for template[/tmp/mysql-cleanup.sql]
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Ran execute[create-database-for-mysql-cleanup] successfully
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Creating template[/tmp/create.arcticelvis.sql] at /tmp/create.arcticelvis.sql
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Setting owner to 0 for template[/tmp/create.arcticelvis.sql]
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Setting group to 0 for template[/tmp/create.arcticelvis.sql]
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Setting mode to 644 for template[/tmp/create.arcticelvis.sql]
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Ran execute[create-database-for-arcticelvis] successfully
[Tue, 01 Jun 2010 15:37:44 -0700] INFO: Added cron 'mysql'
[Tue, 01 Jun 2010 15:37:46 -0700] INFO: Ran execute[reporting for collectd] successfully
[Tue, 01 Jun 2010 15:37:46 -0700] INFO: Ran execute[start-mini-httpd] successfully
[Tue, 01 Jun 2010 15:37:46 -0700] INFO: Ran execute[ensure-collectd-has-fresh-config] successfully
[Tue, 01 Jun 2010 15:37:47 -0700] INFO: Ran execute[reporting for memcached] successfully
[Tue, 01 Jun 2010 15:37:49 -0700] INFO: Ran execute[reporting for passenger] successfully
[Tue, 01 Jun 2010 15:37:51 -0700] INFO: Added cron 'passenger_monitor_arcticelvis'
[Tue, 01 Jun 2010 15:37:51 -0700] INFO: Ran execute[reporting for deploying: arcticelvis] successfully
[Tue, 01 Jun 2010 15:37:51 -0700] INFO: Running a new deploy
to: /data/arcticelvis
repo: git@github.com:christph/arcticelvis.git
[Tue, 01 Jun 2010 15:37:52 -0700] ERROR: deploy[/data/arcticelvis] (/etc/chef/recipes/cookbooks/deploy/recipes/default.rb line 57) had an error:
********************************************************************************
********************************************************************************
Could not access the remote Git repository. If this is a private repository, please verify that the deploy key for your application has been added to your remote Git account.
********************************************************************************
********************************************************************************
ERROR: Permission to christph/arcticelvis denied to christph/arcticelvis.
fatal: The remote end hung up unexpectedly
********************************************************************************
********************************************************************************
/etc/chef/recipes/cookbooks/deploy/libraries/chef-deploy/git.rb:113:in `query_revision'/etc/chef/recipes/cookbooks/deploy/libraries/chef-deploy/cached_deploy.rb:12:in `deploy'/etc/chef/recipes/cookbooks/deploy/libraries/chef-deploy.rb:216:in `action_deploy'/etc/chef/recipes/cookbooks/deploy/libraries/chef-deploy.rb:213:in `chdir'/etc/chef/recipes/cookbooks/deploy/libraries/chef-deploy.rb:213:in `action_deploy'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:87:in `send'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:87:in `converge'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:85:in `each'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:85:in `converge'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/resource_collection.rb:58:in `each'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/resource_collection.rb:57:in `each'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:63:in `converge'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/client.rb:348:in `converge'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/client.rb:96:in `run_solo'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/bin/chef-solo:94/usr/local/ey_resin/ruby/bin/chef-solo:19:in `load'/usr/local/ey_resin/ruby/bin/chef-solo:19
/etc/chef/recipes/cookbooks/deploy/libraries/chef-deploy/git.rb:113:in `query_revision': (RuntimeError)
********************************************************************************
********************************************************************************
Could not access the remote Git repository. If this is a private repository, please verify that the deploy key for your application has been added to your remote Git account.
********************************************************************************
********************************************************************************
ERROR: Permission to christph/arcticelvis denied to christph/arcticelvis.
fatal: The remote end hung up unexpectedly
********************************************************************************
********************************************************************************
from /etc/chef/recipes/cookbooks/deploy/libraries/chef-deploy/cached_deploy.rb:12:in `deploy'
from /etc/chef/recipes/cookbooks/deploy/libraries/chef-deploy.rb:216:in `action_deploy'
from /etc/chef/recipes/cookbooks/deploy/libraries/chef-deploy.rb:213:in `chdir'
from /etc/chef/recipes/cookbooks/deploy/libraries/chef-deploy.rb:213:in `action_deploy'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:87:in `send'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:87:in `converge'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:85:in `each'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:85:in `converge'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/resource_collection.rb:58:in `each'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/resource_collection.rb:57:in `each'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:63:in `converge'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/client.rb:348:in `converge'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/client.rb:96:in `run_solo'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/bin/chef-solo:94
from /usr/local/ey_resin/ruby/bin/chef-solo:19:in `load'
from /usr/local/ey_resin/ruby/bin/chef-solo:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment