Skip to content

Instantly share code, notes, and snippets.

@lightcap
Created August 10, 2010 19:25
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 lightcap/517819 to your computer and use it in GitHub Desktop.
Save lightcap/517819 to your computer and use it in GitHub Desktop.
chinook:portal mattkern(master)$ cap migration_prod deploy:long
* executing `migration_prod'
* executing `deploy:long'
triggering before callbacks for `deploy:long'
* executing `deploy:notify:start'
* executing "curl -X POST -d \"application=portal\" http://weather.engineyard.com/`hostname`/deploy_start -fs"
servers: ["72.46.233.21", "72.46.233.21", "72.46.233.21"]
[72.46.233.21:7001] executing command
[72.46.233.21:7002] executing command
[72.46.233.21:7003] executing command
command finished
Warning: We couldn't notify EY of your deploy, but don't worry, everything is fine
** transaction: start
* executing `deploy:update_code'
executing locally: "git ls-remote git@github.com:pvpowered/portal.git master"
* executing "git clone -q git@github.com:pvpowered/portal.git /data/portal/releases/20100810184825 && cd /data/portal/releases/20100810184825 && git checkout -q -b deploy 0b85dba065b44fda31d84db0e1380e9ec629bac5 && (echo 0b85dba065b44fda31d84db0e1380e9ec629bac5 > /data/portal/releases/20100810184825/REVISION)"
servers: ["72.46.233.21", "72.46.233.21", "72.46.233.21", "72.46.233.21"]
Password:
*** [deploy:update_code] rolling back
* executing "rm -rf /data/portal/releases/20100810184825; true"
servers: ["72.46.233.21", "72.46.233.21", "72.46.233.21", "72.46.233.21"]
** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: 72.46.233.21:7008 (Net::SSH::AuthenticationFailed: pvpower)
connection failed for: 72.46.233.21:7008 (Net::SSH::AuthenticationFailed: pvpower)
Please wait while the log file is processed
Executing Post Processing Hooks
* executing `ey_logger:upload_log_to_slice'
* executing "mkdir -p /data/portal/shared/deploy_logs"
servers: ["72.46.233.21", "72.46.233.21", "72.46.233.21", "72.46.233.21"]
/Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:114:in `establish_connections_to': connection failed for: 72.46.233.21:7008 (Net::SSH::AuthenticationFailed: pvpower) (Capistrano::ConnectionError)
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:162:in `execute_on_servers'
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:79:in `each_slice'
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:160:in `each'
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:160:in `each_slice'
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:160:in `execute_on_servers'
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/capistrano-2.5.19/lib/capistrano/configuration/actions/invocation.rb:173:in `run_tree'
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/capistrano-2.5.19/lib/capistrano/configuration/actions/invocation.rb:145:in `run'
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/capistrano-2.5.19/lib/capistrano/configuration/namespaces.rb:186:in `send'
... 10 levels...
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/eycap-0.5.5/lib/eycap/recipes/../lib/ey_logger.rb:68:in `each'
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/eycap-0.5.5/lib/eycap/recipes/../lib/ey_logger.rb:68:in `post_process'
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/gems/eycap-0.5.5/lib/eycap/recipes/deploy.rb:9
from /Users/mattkern/.rvm/gems/ruby-1.8.6-p399@global/bin/cap:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment