Skip to content

Instantly share code, notes, and snippets.

@jeffdeville
Created July 23, 2012 18:44
Show Gist options
  • Select an option

  • Save jeffdeville/3165347 to your computer and use it in GitHub Desktop.

Select an option

Save jeffdeville/3165347 to your computer and use it in GitHub Desktop.
deploy failure - prod
➜ deploy_prod 1 ↵
Loading application data from EY Cloud...
Beginning deploy of ref 'master' for 'admin' in 'production' on server...
Running command on [email protected].
Command: bash -lc '(/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'\'')'
Running command on [email protected].
Command: bash -lc '/usr/local/ey_resin/ruby/bin/engineyard-serverside _1.6.4_ deploy --app admin --config '\''{"bundle_without":"development test test_rspec","migration_command":"rake db:migrate --trace","copy_exclude":[".git"],"deployed_by":"Jeff Deville"}'\'' --framework-env production --instance-names ec2-184-72-138-11.compute-1.amazonaws.com:utility_1 ec2-184-73-11-176.compute-1.amazonaws.com:utility_3 --instance-roles ec2-184-72-138-11.compute-1.amazonaws.com:util ec2-184-73-11-176.compute-1.amazonaws.com:util localhost:app_master --instances ec2-184-72-138-11.compute-1.amazonaws.com ec2-184-73-11-176.compute-1.amazonaws.com localhost --migrate '\''rake db:migrate --trace'\'' --ref 2069ea4f6e99c2a85221d1701bdd36189e2acdf4 --repo [email protected]:admin.console --stack nginx_passenger3 --verbose'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''/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 [email protected] '\''/usr/local/ey_resin/ruby/bin/gem list engineyard-serverside | grep "engineyard-serverside" | egrep -q '\''\'\'\''1\.6\.4[,)]'\''\'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\''\'\'
:: running sh -l -c 'sh -l -c '\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
:: running sh -l -c 'git --git-dir /data/admin/shared/cached-copy/.git --work-tree /data/admin/shared/cached-copy fetch -q origin 2>&1'
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 174.143.207.35 [174.143.207.35] port 22.
debug1: Connection established.
debug1: identity file /home/deploy/.ssh/admin-deploy-key type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p1 Debian-1ubuntu3
debug1: match: OpenSSH_5.8p1 Debian-1ubuntu3 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
Warning: Permanently added '174.143.207.35' (RSA) to the list of known hosts.
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/admin-deploy-key
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Requesting [email protected]
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 'admin.console'
debug1: client_input_channel_req: channel 0 rtype exit-status 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 1904, received 7296 bytes, in 0.3 seconds
Bytes per second: sent 5964.2, received 22854.4
debug1: Exit status 0
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\''\'\'
:: running sh -l -c 'sh -l -c '\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
~> Deploying revision 2069ea4 removing even the whisper of FFI
:: running sh -l -c 'git checkout -q '\''2069ea4f6e99c2a85221d1701bdd36189e2acdf4'\'
:: running sh -l -c 'git submodule sync'
:: running sh -l -c 'git submodule update --init'
:: running sh -l -c 'git clean -dfq'
~> Loading deployment task overrides from /data/admin/shared/cached-copy/config/eydeploy.rb
+ 0m 04s ~> 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 [email protected] '\''mkdir -p /data/admin/shared/cached-copy'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''mkdir -p /data/admin/shared/cached-copy'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
:: 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/admin/shared/cached-copy/ [email protected]:/data/admin/shared/cached-copy'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
:: 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/admin/shared/cached-copy/ [email protected]:/data/admin/shared/cached-copy'
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
+ 0m 07s ~> Starting full deploy
+ 0m 07s ~> Copying to /data/admin/releases/20120723183833
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''mkdir -p /data/admin/releases/20120723183833 /data/admin/releases_failed && rsync -aq --exclude=".git" /data/admin/shared/cached-copy/ /data/admin/releases/20120723183833'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''mkdir -p /data/admin/releases/20120723183833 /data/admin/releases_failed && rsync -aq --exclude=".git" /data/admin/shared/cached-copy/ /data/admin/releases/20120723183833'\''\'\'
:: running sh -l -c 'sh -l -c '\''mkdir -p /data/admin/releases/20120723183833 /data/admin/releases_failed && rsync -aq --exclude=".git" /data/admin/shared/cached-copy/ /data/admin/releases/20120723183833'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
+ 0m 52s ~> Ensuring proper ownership.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sudo sh -l -c '\''\'\'\''chown -R deploy:deploy /data/admin'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sudo sh -l -c '\''\'\'\''chown -R deploy:deploy /data/admin'\''\'\'
:: running sh -l -c 'sudo sh -l -c '\''chown -R deploy:deploy /data/admin'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
+ 1m 04s ~> Gemfile found.
+ 1m 04s ~> Gemfile.lock found.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\''\'\'
:: running sh -l -c 'sh -l -c '\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''git --git-dir /data/admin/shared/cached-copy/.git --work-tree /data/admin/shared/cached-copy show --pretty=format:"%H" | head -1 > "/data/admin/releases/20120723183833/REVISION"'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''git --git-dir /data/admin/shared/cached-copy/.git --work-tree /data/admin/shared/cached-copy show --pretty=format:"%H" | head -1 > "/data/admin/releases/20120723183833/REVISION"'\''\'\'
:: running sh -l -c 'sh -l -c '\''git --git-dir /data/admin/shared/cached-copy/.git --work-tree /data/admin/shared/cached-copy show --pretty=format:"%H" | head -1 > "/data/admin/releases/20120723183833/REVISION"'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
+ 1m 06s ~> Bundling gems...
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''ruby -v | diff - /data/admin/shared/bundled_gems/RUBY_VERSION >/dev/null 2>&1 && uname -m | diff - /data/admin/shared/bundled_gems/SYSTEM_VERSION >/dev/null 2>&1 || (echo '\''\'\'\''\'\''\'\''\'\'\''New deploy or system version change detected, cleaning bundled gems.'\''\'\'\''\'\''\'\''\'\'\'' && rm -Rf /data/admin/shared/bundled_gems)'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''ruby -v | diff - /data/admin/shared/bundled_gems/RUBY_VERSION >/dev/null 2>&1 && uname -m | diff - /data/admin/shared/bundled_gems/SYSTEM_VERSION >/dev/null 2>&1 || (echo '\''\'\'\''\'\''\'\''\'\'\''New deploy or system version change detected, cleaning bundled gems.'\''\'\'\''\'\''\'\''\'\'\'' && rm -Rf /data/admin/shared/bundled_gems)'\''\'\'
:: running sh -l -c 'sh -l -c '\''ruby -v | diff - /data/admin/shared/bundled_gems/RUBY_VERSION >/dev/null 2>&1 && uname -m | diff - /data/admin/shared/bundled_gems/SYSTEM_VERSION >/dev/null 2>&1 || (echo '\''\'\'\''New deploy or system version change detected, cleaning bundled gems.'\''\'\'\'' && rm -Rf /data/admin/shared/bundled_gems)'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\''\'\'
:: running sh -l -c 'sh -l -c '\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sudo sh -l -c '\''\'\'\''export GIT_SSH="/data/admin/shared/config/admin-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.1.4'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sudo sh -l -c '\''\'\'\''export GIT_SSH="/data/admin/shared/config/admin-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.1.4'\''\'\'
:: running sh -l -c 'sudo sh -l -c '\''export GIT_SSH="/data/admin/shared/config/admin-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.1.4'\'
Successfully installed bundler-1.1.4
1 gem installed
Successfully installed bundler-1.1.4
1 gem installed
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
^@Successfully installed bundler-1.1.4
1 gem installed
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\''\'\'
:: running sh -l -c 'sh -l -c '\''[[ -x /data/admin/shared/config/admin-ssh-wrapper ]] || cat > /data/admin/shared/config/admin-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/admin-deploy-key -o IdentitiesOnly=yes $*
SSH
chmod 0700 /data/admin/shared/config/admin-ssh-wrapper
'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''export GIT_SSH="/data/admin/shared/config/admin-ssh-wrapper" && export LANG="en_US.UTF-8" && unset RUBYOPT BUNDLE_PATH BUNDLE_FROZEN BUNDLE_WITHOUT BUNDLE_BIN BUNDLE_GEMFILE && cd /data/admin/releases/20120723183833 && ruby -S bundle _1.1.4_ install --deployment --gemfile /data/admin/releases/20120723183833/Gemfile --path /data/admin/shared/bundled_gems --binstubs /data/admin/releases/20120723183833/ey_bundler_binstubs --without development test test_rspec'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sh -l -c '\''\'\'\''export GIT_SSH="/data/admin/shared/config/admin-ssh-wrapper" && export LANG="en_US.UTF-8" && unset RUBYOPT BUNDLE_PATH BUNDLE_FROZEN BUNDLE_WITHOUT BUNDLE_BIN BUNDLE_GEMFILE && cd /data/admin/releases/20120723183833 && ruby -S bundle _1.1.4_ install --deployment --gemfile /data/admin/releases/20120723183833/Gemfile --path /data/admin/shared/bundled_gems --binstubs /data/admin/releases/20120723183833/ey_bundler_binstubs --without development test test_rspec'\''\'\'
:: running sh -l -c 'sh -l -c '\''export GIT_SSH="/data/admin/shared/config/admin-ssh-wrapper" && export LANG="en_US.UTF-8" && unset RUBYOPT BUNDLE_PATH BUNDLE_FROZEN BUNDLE_WITHOUT BUNDLE_BIN BUNDLE_GEMFILE && cd /data/admin/releases/20120723183833 && ruby -S bundle _1.1.4_ install --deployment --gemfile /data/admin/releases/20120723183833/Gemfile --path /data/admin/shared/bundled_gems --binstubs /data/admin/releases/20120723183833/ey_bundler_binstubs --without development test test_rspec'\'
Using rake (0.8.7)
Using json_pure (1.6.5)
Using rubyforge (2.0.4)
Using hoe (2.7.0)
Using SyslogLogger (1.4.0)
Using SystemTimer (1.2.3)
Using aasm (2.2.0)
Using abstract (1.0.0)
Using acl9 (0.12.0)
Using activesupport (3.0.12)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.12)
Using erubis (2.6.6)
Using rack (1.2.5)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.33)
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 active_utils (1.0.1)
Using braintree (2.13.2)
Using json (1.7.1)
Using money (4.0.1)
Using activemerchant (1.18.1)
Using arel (2.0.10)
Using activerecord (3.0.12)
Using activeresource (3.0.12)
Using libxml-ruby (2.2.2)
Using happymapper (0.4.0)
Using graticule (2.2.0)
Using acts_as_geocodable (2.0.3)
Using addressable (2.2.7)
Using airbrake (3.0.9)
Using statsd-ruby (0.3.0)
Using airbrake-statsd (0.2.1)
Using gyoku (0.4.4)
Using akami (1.0.0)
Using cssmin (1.0.2)
Using jsmin (1.0.1)
Using asset_hat (0.4.2)
Using authlogic (3.1.0)
Using awesome_nested_set (2.0.2)
Using awesome_print (1.0.2)
Using xml-simple (1.1.1)
Using aws-s3 (0.6.2)
Using bartt-ssl_requirement (1.4.1)
Using bundler (1.1.4)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.0.12)
Using rails (3.0.12)
Using cache_fu (0.2.0.pre3)
Using carmen (0.2.13)
Using chronic (0.6.7)
Using closure_tree (3.0.3)
Using coderay (1.0.5)
Using daemons (1.0.10)
Using dalli (1.1.4)
Using delayed_job (2.1.4)
Using diffy (2.0.5)
Using unf_ext (0.0.4)
Using unf (0.0.4)
Using domain_name (0.5.1)
Using donncha-validates_as_email (0.6.1)
Using draper (0.11.0)
Using multipart-post (1.1.4)
Using faraday (0.7.5)
Using fastercsv (1.5.4)
Using geocoder (1.2.2) from git://github.com/jeffdeville/geocoder.git (at master)
Using nokogiri (1.5.3)
Using oauth (0.4.4)
Using multi_json (1.2.0)
Using oauth2 (0.5.2)
Using google_drive (0.3.0)
Using haml (3.1.6)
Using htmlentities (4.3.1)
Using multi_xml (0.4.1)
Using httparty (0.8.1)
Using httpi (0.9.7)
Using net-http-digest_auth (1.2)
Using net-http-persistent (2.3.3)
Using ntlm-http (0.1.1)
Using webrobots (0.0.12)
Using mechanize (2.1)
Using method_source (0.7.0)
Using mysql2 (0.2.18)
Using net_http_exception_fix (1.0.1)
Using newrelic_rpm (3.3.4.1)
Using redis (2.2.2)
Using newrelic-redis (1.2.0)
Using nori (1.1.2)
Using packlate_pms_integration (1.4.5)
Using wasabi (2.1.0)
Using savon (0.9.9)
Using packlate_barefoot_integration (1.3.1)
Using packlate_ciirus_integration (1.1.0)
Using packlate_interhome_integration (2.1.1)
Using packlate_isi (1.0.2)
Using packlate_rdp_integration (2.0.0)
Using packlate_smartapartments_integration (2.0.2)
Using permalink_fu (1.0.0)
Using slop (2.4.4)
Using pry (0.9.8.2)
Using pry-nav (0.1.0)
Using pry_debug (0.0.1)
Using redis-lock (0.1.0)
Using redis-namespace (1.0.3)
Using tilt (1.3.3)
Using sinatra (1.2.8)
Using vegas (0.1.11)
Using resque (1.20.0)
Using resque-unique-job (0.0.1)
Using rmagick (2.12.2)
Using robdimarco_authlogic_oauth2 (1.1.4)
Using rpm_contrib (2.1.8)
Using rsolr (1.0.7)
Using ruby-ole (1.2.11.2)
Using s3sync (1.2.5)
Using sass (3.1.15)
Using sneaky-save (0.0.2)
Using spreadsheet (0.6.5.9)
Using statsd-instrument (1.2.0)
Using twilio (3.1.0)
Using will_paginate (3.0.2)
Your bundle is complete! It was installed into /data/admin/shared/bundled_gems
Using rake (0.8.7)
Using json_pure (1.6.5)
Using rubyforge (2.0.4)
Using hoe (2.7.0)
Using SyslogLogger (1.4.0)
Using SystemTimer (1.2.3)
Using aasm (2.2.0)
Using abstract (1.0.0)
Using acl9 (0.12.0)
Using activesupport (3.0.12)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.12)
Using erubis (2.6.6)
Using rack (1.2.5)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.33)
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 active_utils (1.0.1)
Using braintree (2.13.2)
Using json (1.7.1)
Using money (4.0.1)
Using activemerchant (1.18.1)
Using arel (2.0.10)
Using activerecord (3.0.12)
Using activeresource (3.0.12)
Using libxml-ruby (2.2.2)
Using happymapper (0.4.0)
Using graticule (2.2.0)
Using acts_as_geocodable (2.0.3)
Using addressable (2.2.7)
Using airbrake (3.0.9)
Using statsd-ruby (0.3.0)
Using airbrake-statsd (0.2.1)
Using gyoku (0.4.4)
Using akami (1.0.0)
Using cssmin (1.0.2)
Using jsmin (1.0.1)
Using asset_hat (0.4.2)
Using authlogic (3.1.0)
Using awesome_nested_set (2.0.2)
Using awesome_print (1.0.2)
Using xml-simple (1.1.1)
Using aws-s3 (0.6.2)
Using bartt-ssl_requirement (1.4.1)
Using bundler (1.1.4)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.0.12)
Using rails (3.0.12)
Using cache_fu (0.2.0.pre3)
Using carmen (0.2.13)
Using chronic (0.6.7)
Using closure_tree (3.0.3)
Using coderay (1.0.5)
Using daemons (1.0.10)
Using dalli (1.1.4)
Using delayed_job (2.1.4)
Using diffy (2.0.5)
Using unf_ext (0.0.4)
Using unf (0.0.4)
Using domain_name (0.5.1)
Using donncha-validates_as_email (0.6.1)
Using draper (0.11.0)
Using multipart-post (1.1.4)
Using faraday (0.7.5)
Using fastercsv (1.5.4)
Using geocoder (1.2.2) from git://github.com/jeffdeville/geocoder.git (at master)
Using nokogiri (1.5.3)
Using oauth (0.4.4)
Using multi_json (1.2.0)
Using oauth2 (0.5.2)
Using google_drive (0.3.0)
Using haml (3.1.6)
Using htmlentities (4.3.1)
Using multi_xml (0.4.1)
Using httparty (0.8.1)
Using httpi (0.9.7)
Using net-http-digest_auth (1.2)
Using net-http-persistent (2.3.3)
Using ntlm-http (0.1.1)
Using webrobots (0.0.12)
Using mechanize (2.1)
Using method_source (0.7.0)
Using mysql2 (0.2.18)
Using net_http_exception_fix (1.0.1)
Using newrelic_rpm (3.3.4.1)
Using redis (2.2.2)
Using newrelic-redis (1.2.0)
Using nori (1.1.2)
Using packlate_pms_integration (1.4.5)
Using wasabi (2.1.0)
Using savon (0.9.9)
Using packlate_barefoot_integration (1.3.1)
Using packlate_ciirus_integration (1.1.0)
Using packlate_interhome_integration (2.1.1)
Using packlate_isi (1.0.2)
Using packlate_rdp_integration (2.0.0)
Using packlate_smartapartments_integration (2.0.2)
Using permalink_fu (1.0.0)
Using slop (2.4.4)
Using pry (0.9.8.2)
Using pry-nav (0.1.0)
Using pry_debug (0.0.1)
Using redis-lock (0.1.0)
Using redis-namespace (1.0.3)
Using tilt (1.3.3)
Using sinatra (1.2.8)
Using vegas (0.1.11)
Using resque (1.20.0)
Using resque-unique-job (0.0.1)
Using rmagick (2.12.2)
Using robdimarco_authlogic_oauth2 (1.1.4)
Using rpm_contrib (2.1.8)
Using rsolr (1.0.7)
Using ruby-ole (1.2.11.2)
Using s3sync (1.2.5)
Using sass (3.1.15)
Using sneaky-save (0.0.2)
Using spreadsheet (0.6.5.9)
Using statsd-instrument (1.2.0)
Using twilio (3.1.0)
Using will_paginate (3.0.2)
Your bundle is complete! It was installed into /data/admin/shared/bundled_gems
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/definition.rb:48:in `initialize': no such file to load -- bundler/spec_set (LoadError)
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/dsl.rb:141:in `new'
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/dsl.rb:141:in `to_definition'
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/dsl.rb:8:in `evaluate'
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/definition.rb:18:in `build'
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler.rb:135:in `definition'
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/cli.rb:220:in `install'
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/vendor/thor/task.rb:22:in `send'
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/vendor/thor/task.rb:22:in `run'
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/vendor/thor.rb:263:in `dispatch'
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/lib/bundler/vendor/thor/base.rb:386:in `start'
/usr/lib64/ruby/gems/1.8/gems/bundler-1.1.4/bin/bundle:13
/usr/bin/bundle:19:in `load'
/usr/bin/bundle:19
There was an error in your Gemfile, and Bundler cannot continue.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
+ 1m 58s ~> Release /data/admin/releases/20120723183833 failed, saving release to /data/admin/releases_failed.
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sudo sh -l -c '\''\'\'\''mv /data/admin/releases/20120723183833 /data/admin/releases_failed'\''\'\'
:: running sh -l -c 'ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no [email protected] '\''sudo sh -l -c '\''\'\'\''mv /data/admin/releases/20120723183833 /data/admin/releases_failed'\''\'\'
:: running sh -l -c 'sudo sh -l -c '\''mv /data/admin/releases/20120723183833 /data/admin/releases_failed'\'
Warning: Permanently added 'ec2-184-73-11-176.compute-1.amazonaws.com,10.205.126.201' (RSA) to the list of known hosts.
Warning: Permanently added 'ec2-184-72-138-11.compute-1.amazonaws.com,10.211.38.160' (RSA) to the list of known hosts.
+ 1m 59s ~> [Relax] Your site is still running old code and nothing destructive has occurred.
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/engineyard-serverside/task.rb:62:in `run_on_roles': #<EY::Serverside::Future:0x2ac32abe3dc8 @server=#<struct EY::Serverside::Server hostname="ec2-184-72-138-11.compute-1.amazonaws.com", roles=[:util], name="utility_1", user="deploy">, @value=false, @block=#<Proc:0x00002ac32b255198@/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/engineyard-serverside/task.rb:55>, @args=[false]> (EY::Serverside::RemoteFailure)
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/engineyard-serverside/task.rb:44:in `run'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/engineyard-serverside/deploy.rb:493:in `check_ruby_bundler'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/engineyard-serverside/deploy.rb:227:in `bundle'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/engineyard-serverside/task.rb:34:in `roles'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/engineyard-serverside/deploy.rb:226:in `bundle'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/engineyard-serverside/deploy.rb:160:in `send'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/engineyard-serverside/deploy.rb:160:in `run_with_callbacks'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/engineyard-serverside/deploy.rb:31:in `cached_deploy'
... 12 levels...
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/lib/vendor/thor/lib/thor.rb:124:in `start'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.6.4/bin/engineyard-serverside:10
from /usr/local/ey_resin/ruby/bin/engineyard-serverside:19:in `load'
from /usr/local/ey_resin/ruby/bin/engineyard-serverside:19
Failed deployment recorded in EY Cloud
Deploy failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment