Skip to content

Instantly share code, notes, and snippets.

@lorenjohnson
Created June 4, 2012 22:01
Show Gist options
  • Save lorenjohnson/2871085 to your computer and use it in GitHub Desktop.
Save lorenjohnson/2871085 to your computer and use it in GitHub Desktop.
Beginning deployment of refs/tags/rails_3012_release_1 (ce1a3b2030fcc65874ffbdcc595b561460774145) without migration.
(/usr/local/ey_resin/ruby/bin/gem list engineyard-serverside | grep 'engineyard-serverside ' | egrep -q '1\.6\.4[,)]') || (sudo sh -c 'cd `mktemp -d` && /usr/local/ey_resin/ruby/bin/gem install engineyard-serverside --no-rdoc --no-ri -v 1.6.4')
Warning: Permanently added '23.21.153.147' (RSA) to the list of known hosts.
/usr/local/ey_resin/ruby/bin/engineyard-serverside _1.6.4_ deploy --app analytics_production --config '{"deployed_by":"Loren Johnson"}' --framework-env staging --instance-roles ec2-23-20-181-244.compute-1.amazonaws.com:app ec2-23-21-153-147.compute-1.amazonaws.com:app_master --instances ec2-23-20-181-244.compute-1.amazonaws.com ec2-23-21-153-147.compute-1.amazonaws.com --ref ce1a3b2030fcc65874ffbdcc595b561460774145 --repo git@brandinformatics.unfuddle.com:brandinformatics/analytics.git --stack nginx_unicorn --verbose
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''/usr/local/ey_resin/ruby/bin/gem list engineyard-serverside | grep "engineyard-serverside" | egrep -q '\''\'\'\''1\.6\.4[,)]'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''/usr/local/ey_resin/ruby/bin/gem list engineyard-serverside | grep "engineyard-serverside" | egrep -q '\''\'\'\''1\.6\.4[,)]'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''[[ -x /data/analytics_production/shared/config/analytics_production-ssh-wrapper ]] || cat > /data/analytics_production/shared/config/analytics_production-ssh-wrapper <<'\''\'\'\''\'\''\'\''\'\'\''SSH'\''\'\'\''\'\''\'\''\'\'\''
#!/bin/sh
unset SSH_AUTH_SOCK
ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no -o LogLevel=DEBUG -o IdentityFile=~/.ssh/analytics_production-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/analytics_production/shared/config/analytics_production-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''[[ -x /data/analytics_production/shared/config/analytics_production-ssh-wrapper ]] || cat > /data/analytics_production/shared/config/analytics_production-ssh-wrapper <<'\''\'\'\''\'\''\'\''\'\'\''SSH'\''\'\'\''\'\''\'\''\'\'\''
#!/bin/sh
unset SSH_AUTH_SOCK
ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no -o LogLevel=DEBUG -o IdentityFile=~/.ssh/analytics_production-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/analytics_production/shared/config/analytics_production-ssh-wrapper
'\''\'\'
:: running sh -l -c 'git --git-dir /data/analytics_production/shared/cached-copy/.git --work-tree /data/analytics_production/shared/cached-copy fetch -q origin 2>&1'
debug1: Reading configuration data /home/deploy/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to brandinformatics.unfuddle.com [50.17.230.37] port 22.
debug1: Connection established.
debug1: identity file /home/deploy/.ssh/analytics_production-deploy-key type -1
debug1: identity file /home/deploy/.ssh/internal type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8
debug1: match: OpenSSH_5.8 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'brandinformatics.unfuddle.com' is known and matches the RSA host key.
debug1: Found key in /home/deploy/.ssh/known_hosts:2
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/deploy/.ssh/analytics_production-deploy-key
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Remote: Forced command.
debug1: Remote: Port forwarding disabled.
debug1: Remote: X11 forwarding disabled.
debug1: Remote: Agent forwarding disabled.
debug1: Remote: Pty allocation disabled.
debug1: Sending command: git-upload-pack 'brandinformatics/analytics.git'
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug1: fd 2 clearing O_NONBLOCK
Transferred: sent 11632, received 44624 bytes, in 0.5 seconds
Bytes per second: sent 21488.9, received 82438.3
debug1: Exit status 0
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''[[ -x /data/analytics_production/shared/config/analytics_production-ssh-wrapper ]] || cat > /data/analytics_production/shared/config/analytics_production-ssh-wrapper <<'\''\'\'\''\'\''\'\''\'\'\''SSH'\''\'\'\''\'\''\'\''\'\'\''
#!/bin/sh
unset SSH_AUTH_SOCK
ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no -o LogLevel=DEBUG -o IdentityFile=~/.ssh/analytics_production-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/analytics_production/shared/config/analytics_production-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''[[ -x /data/analytics_production/shared/config/analytics_production-ssh-wrapper ]] || cat > /data/analytics_production/shared/config/analytics_production-ssh-wrapper <<'\''\'\'\''\'\''\'\''\'\'\''SSH'\''\'\'\''\'\''\'\''\'\'\''
#!/bin/sh
unset SSH_AUTH_SOCK
ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no -o LogLevel=DEBUG -o IdentityFile=~/.ssh/analytics_production-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/analytics_production/shared/config/analytics_production-ssh-wrapper
'\''\'\'
~> Deploying revision ce1a3b2 Farbtastic color selector / chart customization working again
:: running sh -l -c 'git checkout -q '\''ce1a3b2030fcc65874ffbdcc595b561460774145'\'
:: running sh -l -c 'git submodule sync'
:: running sh -l -c 'git submodule update --init'
:: running sh -l -c 'git clean -dfq'
+ 0m 03s ~> Pushing code to all servers
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''mkdir -p /data/analytics_production/shared/cached-copy'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''mkdir -p /data/analytics_production/shared/cached-copy'\'
:: running sh -l -c 'rsync --delete -aq -e "ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no" /data/analytics_production/shared/cached-copy/ deploy@ec2-23-20-181-244.compute-1.amazonaws.com:/data/analytics_production/shared/cached-copy'
:: running sh -l -c 'rsync --delete -aq -e "ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no" /data/analytics_production/shared/cached-copy/ deploy@ec2-23-21-153-147.compute-1.amazonaws.com:/data/analytics_production/shared/cached-copy'
+ 0m 03s ~> Starting full deploy
+ 0m 03s ~> Copying to /data/analytics_production/releases/20120604214341
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''mkdir -p /data/analytics_production/releases/20120604214341 /data/analytics_production/releases_failed && rsync -aq /data/analytics_production/shared/cached-copy/ /data/analytics_production/releases/20120604214341'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''mkdir -p /data/analytics_production/releases/20120604214341 /data/analytics_production/releases_failed && rsync -aq /data/analytics_production/shared/cached-copy/ /data/analytics_production/releases/20120604214341'\''\'\'
+ 0m 06s ~> Ensuring proper ownership.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''chown -R deploy:deploy /data/analytics_production'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''chown -R deploy:deploy /data/analytics_production'\''\'\'
+ 0m 07s ~> Gemfile found.
+ 0m 07s ~> Gemfile.lock found.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''[[ -x /data/analytics_production/shared/config/analytics_production-ssh-wrapper ]] || cat > /data/analytics_production/shared/config/analytics_production-ssh-wrapper <<'\''\'\'\''\'\''\'\''\'\'\''SSH'\''\'\'\''\'\''\'\''\'\'\''
#!/bin/sh
unset SSH_AUTH_SOCK
ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no -o LogLevel=DEBUG -o IdentityFile=~/.ssh/analytics_production-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/analytics_production/shared/config/analytics_production-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''[[ -x /data/analytics_production/shared/config/analytics_production-ssh-wrapper ]] || cat > /data/analytics_production/shared/config/analytics_production-ssh-wrapper <<'\''\'\'\''\'\''\'\''\'\'\''SSH'\''\'\'\''\'\''\'\''\'\'\''
#!/bin/sh
unset SSH_AUTH_SOCK
ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no -o LogLevel=DEBUG -o IdentityFile=~/.ssh/analytics_production-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/analytics_production/shared/config/analytics_production-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''git --git-dir /data/analytics_production/shared/cached-copy/.git --work-tree /data/analytics_production/shared/cached-copy show --pretty=format:"%H" | head -1 > "/data/analytics_production/releases/20120604214341/REVISION"'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''git --git-dir /data/analytics_production/shared/cached-copy/.git --work-tree /data/analytics_production/shared/cached-copy show --pretty=format:"%H" | head -1 > "/data/analytics_production/releases/20120604214341/REVISION"'\''\'\'
+ 0m 08s ~> Bundling gems...
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ruby -v | diff - /data/analytics_production/shared/bundled_gems/RUBY_VERSION >/dev/null 2>&1 && uname -m | diff - /data/analytics_production/shared/bundled_gems/SYSTEM_VERSION >/dev/null 2>&1 || (echo '\''\'\'\''\'\''\'\''\'\'\''New deploy or system version change detected, cleaning bundled gems.'\''\'\'\''\'\''\'\''\'\'\'' && rm -Rf /data/analytics_production/shared/bundled_gems)'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ruby -v | diff - /data/analytics_production/shared/bundled_gems/RUBY_VERSION >/dev/null 2>&1 && uname -m | diff - /data/analytics_production/shared/bundled_gems/SYSTEM_VERSION >/dev/null 2>&1 || (echo '\''\'\'\''\'\''\'\''\'\'\''New deploy or system version change detected, cleaning bundled gems.'\''\'\'\''\'\''\'\''\'\'\'' && rm -Rf /data/analytics_production/shared/bundled_gems)'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''[[ -x /data/analytics_production/shared/config/analytics_production-ssh-wrapper ]] || cat > /data/analytics_production/shared/config/analytics_production-ssh-wrapper <<'\''\'\'\''\'\''\'\''\'\'\''SSH'\''\'\'\''\'\''\'\''\'\'\''
#!/bin/sh
unset SSH_AUTH_SOCK
ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no -o LogLevel=DEBUG -o IdentityFile=~/.ssh/analytics_production-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/analytics_production/shared/config/analytics_production-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''[[ -x /data/analytics_production/shared/config/analytics_production-ssh-wrapper ]] || cat > /data/analytics_production/shared/config/analytics_production-ssh-wrapper <<'\''\'\'\''\'\''\'\''\'\'\''SSH'\''\'\'\''\'\''\'\''\'\'\''
#!/bin/sh
unset SSH_AUTH_SOCK
ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no -o LogLevel=DEBUG -o IdentityFile=~/.ssh/analytics_production-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/analytics_production/shared/config/analytics_production-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''export GIT_SSH="/data/analytics_production/shared/config/analytics_production-ssh-wrapper" && export LANG="en_US.UTF-8" && unset RUBYOPT BUNDLE_PATH BUNDLE_FROZEN BUNDLE_WITHOUT BUNDLE_BIN BUNDLE_GEMFILE && /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/bin/engineyard-serverside install_bundler 1.0.21'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''export GIT_SSH="/data/analytics_production/shared/config/analytics_production-ssh-wrapper" && export LANG="en_US.UTF-8" && unset RUBYOPT BUNDLE_PATH BUNDLE_FROZEN BUNDLE_WITHOUT BUNDLE_BIN BUNDLE_GEMFILE && /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/bin/engineyard-serverside install_bundler 1.0.21'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''[[ -x /data/analytics_production/shared/config/analytics_production-ssh-wrapper ]] || cat > /data/analytics_production/shared/config/analytics_production-ssh-wrapper <<'\''\'\'\''\'\''\'\''\'\'\''SSH'\''\'\'\''\'\''\'\''\'\'\''
#!/bin/sh
unset SSH_AUTH_SOCK
ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no -o LogLevel=DEBUG -o IdentityFile=~/.ssh/analytics_production-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/analytics_production/shared/config/analytics_production-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''[[ -x /data/analytics_production/shared/config/analytics_production-ssh-wrapper ]] || cat > /data/analytics_production/shared/config/analytics_production-ssh-wrapper <<'\''\'\'\''\'\''\'\''\'\'\''SSH'\''\'\'\''\'\''\'\''\'\'\''
#!/bin/sh
unset SSH_AUTH_SOCK
ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no -o LogLevel=DEBUG -o IdentityFile=~/.ssh/analytics_production-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/analytics_production/shared/config/analytics_production-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''export GIT_SSH="/data/analytics_production/shared/config/analytics_production-ssh-wrapper" && export LANG="en_US.UTF-8" && unset RUBYOPT BUNDLE_PATH BUNDLE_FROZEN BUNDLE_WITHOUT BUNDLE_BIN BUNDLE_GEMFILE && cd /data/analytics_production/releases/20120604214341 && ruby -S bundle _1.0.21_ install --deployment --gemfile /data/analytics_production/releases/20120604214341/Gemfile --path /data/analytics_production/shared/bundled_gems --binstubs /data/analytics_production/releases/20120604214341/ey_bundler_binstubs --without test development'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''export GIT_SSH="/data/analytics_production/shared/config/analytics_production-ssh-wrapper" && export LANG="en_US.UTF-8" && unset RUBYOPT BUNDLE_PATH BUNDLE_FROZEN BUNDLE_WITHOUT BUNDLE_BIN BUNDLE_GEMFILE && cd /data/analytics_production/releases/20120604214341 && ruby -S bundle _1.0.21_ install --deployment --gemfile /data/analytics_production/releases/20120604214341/Gemfile --path /data/analytics_production/shared/bundled_gems --binstubs /data/analytics_production/releases/20120604214341/ey_bundler_binstubs --without test development'\''\'\'
Using rake (0.9.2.2)
Using activesupport (3.0.12)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.12)
Using arel (2.0.10)
Using tzinfo (0.3.33)
Using activerecord (3.0.12)
Using aasm (3.0.5)
Using abstract (1.0.0)
Using erubis (2.6.6)
Using rack (1.2.5)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using actionpack (3.0.12)
Using mime-types (1.18)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.12)
Using activerecord-import (0.2.9)
Using activeresource (3.0.12)
Using airbrake (3.0.9)
Using authlogic (2.1.6)
Using awesome_nested_set (1.5.0) from git://github.com/galetahub/awesome_nested_set.git (at master)
Using xml-simple (1.1.1)
Using aws-s3 (0.6.2)
Using bartt-ssl_requirement (1.4.2)
Using daemons (1.1.8)
Using delayed_job (2.0.6)
Using dynamic_form (1.1.4)
Using httpclient (2.2.5)
Using eat (0.1.8)
Using nap (0.5.1)
Using engineyard-metadata (0.2.3)
Using fastercsv (1.5.4)
Using json (1.7.3)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.0.12)
Using jquery-rails (1.0.19)
Using jrails (0.6.0)
Using memcache-client (1.8.5)
Using mysql2 (0.2.18)
Using nokogiri (1.5.2)
Using paperclip (2.3.1.1)
Using rack-bug (0.2.1)
Using bundler (1.0.21)
Using rails (3.0.12)
Using rmagick (2.12.2)
Using statistics2 (0.54)
Using tiny_mce (0.1.7)
Using unicorn (1.1.5)
Using will_paginate (3.0.3)
Your bundle is complete! It was installed into /data/analytics_production/shared/bundled_gems
Using rake (0.9.2.2)
Using activesupport (3.0.12)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.12)
Using arel (2.0.10)
Using tzinfo (0.3.33)
Using activerecord (3.0.12)
Using aasm (3.0.5)
Using abstract (1.0.0)
Using erubis (2.6.6)
Using rack (1.2.5)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using actionpack (3.0.12)
Using mime-types (1.18)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.12)
Using activerecord-import (0.2.9)
Using activeresource (3.0.12)
Using airbrake (3.0.9)
Using authlogic (2.1.6)
Using awesome_nested_set (1.5.0) from git://github.com/galetahub/awesome_nested_set.git (at master)
Using xml-simple (1.1.1)
Using aws-s3 (0.6.2)
Using bartt-ssl_requirement (1.4.2)
Using daemons (1.1.8)
Using delayed_job (2.0.6)
Using dynamic_form (1.1.4)
Using httpclient (2.2.5)
Using eat (0.1.8)
Using nap (0.5.1)
Using engineyard-metadata (0.2.3)
Using fastercsv (1.5.4)
Using json (1.7.3)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.0.12)
Using jquery-rails (1.0.19)
Using jrails (0.6.0)
Using memcache-client (1.8.5)
Using mysql2 (0.2.18)
Using nokogiri (1.5.2)
Using paperclip (2.3.1.1)
Using rack-bug (0.2.1)
Using bundler (1.0.21)
Using rails (3.0.12)
Using rmagick (2.12.2)
Using statistics2 (0.54)
Using tiny_mce (0.1.7)
Using unicorn (1.1.5)
Using will_paginate (3.0.3)
Your bundle is complete! It was installed into /data/analytics_production/shared/bundled_gems
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''mkdir -p /data/analytics_production/shared/bundled_gems && ruby -v > /data/analytics_production/shared/bundled_gems/RUBY_VERSION && uname -m > /data/analytics_production/shared/bundled_gems/SYSTEM_VERSION'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''mkdir -p /data/analytics_production/shared/bundled_gems && ruby -v > /data/analytics_production/shared/bundled_gems/RUBY_VERSION && uname -m > /data/analytics_production/shared/bundled_gems/SYSTEM_VERSION'\''\'\'
+ 0m 22s ~> Setting up external services.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''which /usr/local/ey_resin/ruby/bin/ey-services-setup'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''which /usr/local/ey_resin/ruby/bin/ey-services-setup'\''\'\'
/usr/local/ey_resin/ruby/bin/ey-services-setup
/usr/local/ey_resin/ruby/bin/ey-services-setup
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''/usr/local/ey_resin/ruby/bin/ey-services-setup analytics_production'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''/usr/local/ey_resin/ruby/bin/ey-services-setup analytics_production'\''\'\'
+ 0m 23s ~> Preparing shared resources for release.
+ 0m 23s ~> Set group write permissions
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''chmod -R g+w /data/analytics_production/releases/20120604214341'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''chmod -R g+w /data/analytics_production/releases/20120604214341'\''\'\'
+ 0m 24s ~> Remove revision-tracked shared directories from deployment
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''rm -rf /data/analytics_production/releases/20120604214341/log /data/analytics_production/releases/20120604214341/public/system /data/analytics_production/releases/20120604214341/tmp/pids'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''rm -rf /data/analytics_production/releases/20120604214341/log /data/analytics_production/releases/20120604214341/public/system /data/analytics_production/releases/20120604214341/tmp/pids'\''\'\'
+ 0m 24s ~> Create tmp directory
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''mkdir -p /data/analytics_production/releases/20120604214341/tmp'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''mkdir -p /data/analytics_production/releases/20120604214341/tmp'\''\'\'
+ 0m 25s ~> Symlink shared log directory
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ln -nfs /data/analytics_production/shared/log /data/analytics_production/releases/20120604214341/log'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ln -nfs /data/analytics_production/shared/log /data/analytics_production/releases/20120604214341/log'\''\'\'
+ 0m 25s ~> Create public directory if needed
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''mkdir -p /data/analytics_production/releases/20120604214341/public'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''mkdir -p /data/analytics_production/releases/20120604214341/public'\''\'\'
+ 0m 25s ~> Create config directory if needed
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''mkdir -p /data/analytics_production/releases/20120604214341/config'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''mkdir -p /data/analytics_production/releases/20120604214341/config'\''\'\'
+ 0m 26s ~> Create system directory if needed
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ln -nfs /data/analytics_production/shared/system /data/analytics_production/releases/20120604214341/public/system'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ln -nfs /data/analytics_production/shared/system /data/analytics_production/releases/20120604214341/public/system'\''\'\'
+ 0m 26s ~> Symlink shared pids directory
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ln -nfs /data/analytics_production/shared/pids /data/analytics_production/releases/20120604214341/tmp/pids'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ln -nfs /data/analytics_production/shared/pids /data/analytics_production/releases/20120604214341/tmp/pids'\''\'\'
+ 0m 26s ~> Symlink other shared config files
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''find /data/analytics_production/shared/config -type f -not -name '\''\'\'\''\'\''\'\''\'\'\''database.yml'\''\'\'\''\'\''\'\''\'\'\'' -exec ln -s {} /data/analytics_production/releases/20120604214341/config \;'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''find /data/analytics_production/shared/config -type f -not -name '\''\'\'\''\'\''\'\''\'\'\''database.yml'\''\'\'\''\'\''\'\''\'\'\'' -exec ln -s {} /data/analytics_production/releases/20120604214341/config \;'\''\'\'
+ 0m 27s ~> Symlink mongrel_cluster.yml
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ln -nfs /data/analytics_production/shared/config/mongrel_cluster.yml /data/analytics_production/releases/20120604214341/config/mongrel_cluster.yml'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ln -nfs /data/analytics_production/shared/config/mongrel_cluster.yml /data/analytics_production/releases/20120604214341/config/mongrel_cluster.yml'\''\'\'
+ 0m 27s ~> Symlink database.yml
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ln -nfs /data/analytics_production/shared/config/database.yml /data/analytics_production/releases/20120604214341/config/database.yml'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''ln -nfs /data/analytics_production/shared/config/database.yml /data/analytics_production/releases/20120604214341/config/database.yml'\''\'\'
+ 0m 28s ~> Symlink newrelic.yml if needed
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''if [ -f "/data/analytics_production/shared/config/newrelic.yml" ]; then ln -nfs /data/analytics_production/shared/config/newrelic.yml /data/analytics_production/releases/20120604214341/config/newrelic.yml; fi'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''if [ -f "/data/analytics_production/shared/config/newrelic.yml" ]; then ln -nfs /data/analytics_production/shared/config/newrelic.yml /data/analytics_production/releases/20120604214341/config/newrelic.yml; fi'\''\'\'
+ 0m 28s ~> Setting ownership to deploy:deploy
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''chown -R deploy:deploy /data/analytics_production/releases/20120604214341'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''chown -R deploy:deploy /data/analytics_production/releases/20120604214341'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/bin/engineyard-serverside hook before_migrate --app analytics_production --release-path /data/analytics_production/releases/20120604214341 --framework-env staging --current-roles app --config '\''\'\'\''\'\''\'\''\'\'\''{"repo":"git@brandinformatics.unfuddle.com:brandinformatics/analytics.git","bundle_without":"test development","instance_roles":{"ec2-23-20-181-244.compute-1.amazonaws.com":"app","ec2-23-21-153-147.compute-1.amazonaws.com":"app_master"},"instance_names":{},"app":"analytics_production","framework_env":"staging","instances":["ec2-23-20-181-244.compute-1.amazonaws.com","ec2-23-21-153-147.compute-1.amazonaws.com"],"stack":"nginx_unicorn","verbose":true,"branch":"ce1a3b2030fcc65874ffbdcc595b561460774145","strategy":"Git","deployed_by":"Loren Johnson"}'\''\'\'\''\'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/bin/engineyard-serverside hook before_migrate --app analytics_production --release-path /data/analytics_production/releases/20120604214341 --framework-env staging --current-roles app_master --config '\''\'\'\''\'\''\'\''\'\'\''{"repo":"git@brandinformatics.unfuddle.com:brandinformatics/analytics.git","bundle_without":"test development","instance_roles":{"ec2-23-20-181-244.compute-1.amazonaws.com":"app","ec2-23-21-153-147.compute-1.amazonaws.com":"app_master"},"instance_names":{},"app":"analytics_production","framework_env":"staging","instances":["ec2-23-20-181-244.compute-1.amazonaws.com","ec2-23-21-153-147.compute-1.amazonaws.com"],"stack":"nginx_unicorn","verbose":true,"branch":"ce1a3b2030fcc65874ffbdcc595b561460774145","strategy":"Git","deployed_by":"Loren Johnson"}'\''\'\'\''\'\''\'\'
~> running deploy hook: deploy/before_migrate.rb
~> running deploy hook: deploy/before_migrate.rb
+ 0m 29s ~> Symlinking code.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''rm -f /data/analytics_production/current && ln -nfs /data/analytics_production/releases/20120604214341 /data/analytics_production/current && chown -R deploy:deploy /data/analytics_production/current'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''rm -f /data/analytics_production/current && ln -nfs /data/analytics_production/releases/20120604214341 /data/analytics_production/current && chown -R deploy:deploy /data/analytics_production/current'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/bin/engineyard-serverside hook before_restart --app analytics_production --release-path /data/analytics_production/releases/20120604214341 --framework-env staging --current-roles app --config '\''\'\'\''\'\''\'\''\'\'\''{"repo":"git@brandinformatics.unfuddle.com:brandinformatics/analytics.git","bundle_without":"test development","instance_roles":{"ec2-23-20-181-244.compute-1.amazonaws.com":"app","ec2-23-21-153-147.compute-1.amazonaws.com":"app_master"},"instance_names":{},"app":"analytics_production","framework_env":"staging","instances":["ec2-23-20-181-244.compute-1.amazonaws.com","ec2-23-21-153-147.compute-1.amazonaws.com"],"stack":"nginx_unicorn","verbose":true,"branch":"ce1a3b2030fcc65874ffbdcc595b561460774145","strategy":"Git","deployed_by":"Loren Johnson"}'\''\'\'\''\'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/bin/engineyard-serverside hook before_restart --app analytics_production --release-path /data/analytics_production/releases/20120604214341 --framework-env staging --current-roles app_master --config '\''\'\'\''\'\''\'\''\'\'\''{"repo":"git@brandinformatics.unfuddle.com:brandinformatics/analytics.git","bundle_without":"test development","instance_roles":{"ec2-23-20-181-244.compute-1.amazonaws.com":"app","ec2-23-21-153-147.compute-1.amazonaws.com":"app_master"},"instance_names":{},"app":"analytics_production","framework_env":"staging","instances":["ec2-23-20-181-244.compute-1.amazonaws.com","ec2-23-21-153-147.compute-1.amazonaws.com"],"stack":"nginx_unicorn","verbose":true,"branch":"ce1a3b2030fcc65874ffbdcc595b561460774145","strategy":"Git","deployed_by":"Loren Johnson"}'\''\'\'\''\'\''\'\'
~> running deploy hook: deploy/before_restart.rb
(in /data/analytics_production/releases/20120604214341)
(in /data/analytics_production/releases/20120604214341)
(in /data/analytics_production/releases/20120604214341)
~> running deploy hook: deploy/before_restart.rb
(in /data/analytics_production/releases/20120604214341)
(in /data/analytics_production/releases/20120604214341)
(in /data/analytics_production/releases/20120604214341)
+ 0m 31s ~> Restarting app servers
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''LANG="en_US.UTF-8" /engineyard/bin/app_analytics_production deploy'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''LANG="en_US.UTF-8" /engineyard/bin/app_analytics_production deploy'\''\'\'
Signaling Unicorn master (3904) an hot restart.
..................................Completed!
Signaling Unicorn master (5979) an hot restart.
...................................Completed!
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/bin/engineyard-serverside hook after_restart --app analytics_production --release-path /data/analytics_production/releases/20120604214341 --framework-env staging --current-roles app --config '\''\'\'\''\'\''\'\''\'\'\''{"repo":"git@brandinformatics.unfuddle.com:brandinformatics/analytics.git","bundle_without":"test development","instance_roles":{"ec2-23-20-181-244.compute-1.amazonaws.com":"app","ec2-23-21-153-147.compute-1.amazonaws.com":"app_master"},"instance_names":{},"app":"analytics_production","framework_env":"staging","instances":["ec2-23-20-181-244.compute-1.amazonaws.com","ec2-23-21-153-147.compute-1.amazonaws.com"],"stack":"nginx_unicorn","verbose":true,"branch":"ce1a3b2030fcc65874ffbdcc595b561460774145","strategy":"Git","deployed_by":"Loren Johnson"}'\''\'\'\''\'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/bin/engineyard-serverside hook after_restart --app analytics_production --release-path /data/analytics_production/releases/20120604214341 --framework-env staging --current-roles app_master --config '\''\'\'\''\'\''\'\''\'\'\''{"repo":"git@brandinformatics.unfuddle.com:brandinformatics/analytics.git","bundle_without":"test development","instance_roles":{"ec2-23-20-181-244.compute-1.amazonaws.com":"app","ec2-23-21-153-147.compute-1.amazonaws.com":"app_master"},"instance_names":{},"app":"analytics_production","framework_env":"staging","instances":["ec2-23-20-181-244.compute-1.amazonaws.com","ec2-23-21-153-147.compute-1.amazonaws.com"],"stack":"nginx_unicorn","verbose":true,"branch":"ce1a3b2030fcc65874ffbdcc595b561460774145","strategy":"Git","deployed_by":"Loren Johnson"}'\''\'\'\''\'\''\'\'
~> running deploy hook: deploy/after_restart.rb
ERROR: there is already one or more instance(s) of the program running
~> running deploy hook: deploy/after_restart.rb
ERROR: there is already one or more instance(s) of the program running
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''rm -f /data/analytics_production/shared/system/maintenance.html'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sh -l -c '\''\'\'\''rm -f /data/analytics_production/shared/system/maintenance.html'\''\'\'
+ 1m 03s ~> Cleaning release directory: /data/analytics_production/releases
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''ls -r /data/analytics_production/releases | tail -n +4 | xargs -I@ rm -rf /data/analytics_production/releases/@'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''ls -r /data/analytics_production/releases | tail -n +4 | xargs -I@ rm -rf /data/analytics_production/releases/@'\''\'\'
+ 1m 04s ~> Cleaning release directory: /data/analytics_production/releases_failed
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-20-181-244.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''ls -r /data/analytics_production/releases_failed | tail -n +4 | xargs -I@ rm -rf /data/analytics_production/releases_failed/@'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no deploy@ec2-23-21-153-147.compute-1.amazonaws.com '\''sudo sh -l -c '\''\'\'\''ls -r /data/analytics_production/releases_failed | tail -n +4 | xargs -I@ rm -rf /data/analytics_production/releases_failed/@'\''\'\'
Warning: Permanently added '23.21.153.147' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/vendor/thor/lib/thor/shell.rb:10: Use RbConfig instead of obsolete and deprecated Config.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/vendor/thor/lib/thor/shell.rb:10: Use RbConfig instead of obsolete and deprecated Config.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
ln: creating symbolic link `/data/analytics_production/releases/20120604214341/config/memcached.yml': File exists
ln: creating symbolic link `/data/analytics_production/releases/20120604214341/config/newrelic.yml': File exists
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
ln: creating symbolic link `/data/analytics_production/releases/20120604214341/config/memcached.yml': File exists
ln: creating symbolic link `/data/analytics_production/releases/20120604214341/config/newrelic.yml': File exists
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/vendor/thor/lib/thor/shell.rb:10: Use RbConfig instead of obsolete and deprecated Config.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/vendor/thor/lib/thor/shell.rb:10: Use RbConfig instead of obsolete and deprecated Config.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/vendor/thor/lib/thor/shell.rb:10: Use RbConfig instead of obsolete and deprecated Config.
rake aborted!
no such file to load -- bundler/setup
/data/analytics_production/releases/20120604214341/Rakefile:4
(See full trace by running task with --trace)
rake aborted!
no such file to load -- bundler/setup
/data/analytics_production/releases/20120604214341/Rakefile:4
(See full trace by running task with --trace)
rake aborted!
no such file to load -- bundler/setup
/data/analytics_production/releases/20120604214341/Rakefile:4
(See full trace by running task with --trace)
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/vendor/thor/lib/thor/shell.rb:10: Use RbConfig instead of obsolete and deprecated Config.
rake aborted!
no such file to load -- bundler/setup
/data/analytics_production/releases/20120604214341/Rakefile:4
(See full trace by running task with --trace)
rake aborted!
no such file to load -- bundler/setup
/data/analytics_production/releases/20120604214341/Rakefile:4
(See full trace by running task with --trace)
rake aborted!
no such file to load -- bundler/setup
/data/analytics_production/releases/20120604214341/Rakefile:4
(See full trace by running task with --trace)
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/vendor/thor/lib/thor/shell.rb:10: Use RbConfig instead of obsolete and deprecated Config.
DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from require at /usr/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:68)
DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from require at /usr/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:68)
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/vendor/thor/lib/thor/shell.rb:10: Use RbConfig instead of obsolete and deprecated Config.
DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from require at /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime.rb:68)
DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from require at /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime.rb:68)
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-20-181-244.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-23-21-153-147.compute-1.amazonaws.com' (RSA) to the list of known hosts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment