Created
March 11, 2009 14:12
-
-
Save keldelice/77482 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cap staging deploy | |
* executing `staging' | |
** merge config file ./config/deploy/../sky/staging/sky.yml | |
** merge config file ./config/deploy/../sky/staging/sky-mysql.yml | |
** merge config file ./config/deploy/../sky/staging/sky-nginx.yml | |
** merge config file ./config/deploy/../sky/staging/sky-sphinx.yml | |
** merge config file ./config/deploy/../sky/staging/sky-thin.yml | |
triggering start callbacks for `deploy' | |
* executing `multistage:ensure' | |
* executing `sky:refresh_instance_data' | |
** Updating cloud data | |
* executing `sky:_get_instance_data' | |
* executing "cat /etc/instance.yml" | |
servers: ["ec2-75-101-241-175.compute-1.amazonaws.com"] | |
[ec2-75-101-241-175.compute-1.amazonaws.com] executing command | |
command finished | |
* executing `sky:_get_instance_data' | |
* executing "cat /etc/instance.yml" | |
servers: ["ec2-72-44-38-243.compute-1.amazonaws.com"] | |
[ec2-72-44-38-243.compute-1.amazonaws.com] executing command | |
command finished | |
* executing `sky:_get_instance_data' | |
* executing "cat /etc/instance.yml" | |
servers: ["ec2-75-101-254-183.compute-1.amazonaws.com"] | |
[ec2-75-101-254-183.compute-1.amazonaws.com] executing command | |
command finished | |
* executing `sky:_get_instance_data' | |
* executing "cat /etc/instance.yml" | |
servers: ["ec2-67-202-23-215.compute-1.amazonaws.com"] | |
[ec2-67-202-23-215.compute-1.amazonaws.com] executing command | |
command finished | |
* executing `sky:_get_instance_data' | |
* executing "cat /etc/instance.yml" | |
servers: ["ec2-75-101-150-42.compute-1.amazonaws.com"] | |
[ec2-75-101-150-42.compute-1.amazonaws.com] executing command | |
command finished | |
* executing `sky:_get_instance_data' | |
* executing "cat /etc/instance.yml" | |
servers: ["ec2-67-202-32-45.compute-1.amazonaws.com"] | |
* executing `sky:_get_instance_data' | |
* executing "cat /etc/instance.yml" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com"] | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
command finished | |
* executing `sky:_get_instance_data' | |
* executing "cat /etc/instance.yml" | |
servers: ["ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
command finished | |
* executing `deploy' | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
updating the cached checkout on all servers | |
executing locally: "git ls-remote [email protected]:keldelice/keldelice.git staging" | |
* executing "if [ -d /mnt/keldelice-staging/shared/git_cache ]; then cd /mnt/keldelice-staging/shared/git_cache && git fetch -q origin && git reset -q --hard f06f85cbd9a800e03ca0fcfb7430f8abd43f4449 && git submodule -q init && git submodule -q update; else git clone -q [email protected]:keldelice/keldelice.git /mnt/keldelice-staging/shared/git_cache && cd /mnt/keldelice-staging/shared/git_cache && git checkout -q -b deploy f06f85cbd9a800e03ca0fcfb7430f8abd43f4449 && git submodule -q init && git submodule -q update; fi" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
command finished | |
copying the cached version to /mnt/keldelice-staging/releases/20090311141025 | |
* executing "rsync -lrpt --exclude=\".svn\" --exclude=\".DS_Store\" --exclude=\".git\" /mnt/keldelice-staging/shared/git_cache/* /mnt/keldelice-staging/releases/20090311141025 && (echo f06f85cbd9a800e03ca0fcfb7430f8abd43f4449 > /mnt/keldelice-staging/releases/20090311141025/REVISION)" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
command finished | |
* executing `deploy:finalize_update' | |
* executing "chmod -R g+w /mnt/keldelice-staging/releases/20090311141025" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
command finished | |
* executing "rm -rf /mnt/keldelice-staging/releases/20090311141025/log /mnt/keldelice-staging/releases/20090311141025/public/system /mnt/keldelice-staging/releases/20090311141025/tmp/pids &&\\\n mkdir -p /mnt/keldelice-staging/releases/20090311141025/public &&\\\n mkdir -p /mnt/keldelice-staging/releases/20090311141025/tmp &&\\\n ln -s /mnt/keldelice-staging/shared/log /mnt/keldelice-staging/releases/20090311141025/log &&\\\n ln -s /mnt/keldelice-staging/shared/system /mnt/keldelice-staging/releases/20090311141025/public/system &&\\\n ln -s /mnt/keldelice-staging/shared/pids /mnt/keldelice-staging/releases/20090311141025/tmp/pids" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
command finished | |
* executing "find /mnt/keldelice-staging/releases/20090311141025/public/images /mnt/keldelice-staging/releases/20090311141025/public/stylesheets /mnt/keldelice-staging/releases/20090311141025/public/javascripts -exec touch -t 200903111410.28 {} ';'; true" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
command finished | |
triggering after callbacks for `deploy:finalize_update' | |
* executing `deploy:web:disable' | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
** sftp upload #<StringIO:0x1b30c08> -> /mnt/keldelice-staging/shared/system/maintenance.html | |
[ec2-75-101-205-172.compute-1.amazonaws.com] /mnt/keldelice-staging/shared/system/maintenance.html | |
[ec2-75-101-144-170.compute-1.amazonaws.com] /mnt/keldelice-staging/shared/system/maintenance.html | |
[ec2-75-101-205-172.compute-1.amazonaws.com] done | |
[ec2-75-101-144-170.compute-1.amazonaws.com] done | |
* sftp upload complete | |
* executing "chmod 644 /mnt/keldelice-staging/shared/system/maintenance.html" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
command finished | |
triggering after callbacks for `deploy:update_code' | |
* executing `deploy:print_revision' | |
* executing "cd /mnt/keldelice-staging/releases/20090311141025 && RAILS_ENV=staging SVN_REVISION=f06f85 rake revision:print" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
** [out :: ec2-75-101-205-172.compute-1.amazonaws.com] (in /mnt/keldelice-staging/releases/20090311141025) | |
** [out :: ec2-75-101-144-170.compute-1.amazonaws.com] (in /mnt/keldelice-staging/releases/20090311141025) | |
command finished | |
* executing `symlinks:db' | |
* executing "ln -nfs /etc/database-keldelice-staging.yml /mnt/keldelice-staging/releases/20090311141025/config/database.yml" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
command finished | |
* executing `symlinks:sphinx' | |
* executing "ln -nfs /etc/sphinx-keldelice-staging.yml /mnt/keldelice-staging/releases/20090311141025/config/sphinx.yml" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
command finished | |
* executing `symlinks:thin' | |
* executing "ln -nfs /etc/thin/keldelice-staging.yml /mnt/keldelice-staging/releases/20090311141025/config/thin.yml" | |
*** [deploy:web:disable] rolling back | |
* executing "rm /mnt/keldelice-staging/shared/system/maintenance.html" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
command finished | |
*** [deploy:update_code] rolling back | |
* executing "rm -rf /mnt/keldelice-staging/releases/20090311141025; true" | |
servers: ["ec2-75-101-205-172.compute-1.amazonaws.com", "ec2-75-101-144-170.compute-1.amazonaws.com"] | |
[ec2-75-101-205-172.compute-1.amazonaws.com] executing command | |
[ec2-75-101-144-170.compute-1.amazonaws.com] executing command | |
command finished | |
/Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/configuration/servers.rb:75:in `role_list_from': unknown role `app' (ArgumentError) | |
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/configuration/servers.rb:73:in `map' | |
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/configuration/servers.rb:73:in `role_list_from' | |
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/configuration/servers.rb:45:in `find_servers' | |
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/configuration/servers.rb:9:in `find_servers_for_task' | |
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/configuration/connections.rb:131:in `execute_on_servers' | |
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/configuration/actions/invocation.rb:171:in `run_tree' | |
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/configuration/actions/invocation.rb:143:in `run' | |
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/configuration/namespaces.rb:186:in `send' | |
... 39 levels... | |
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/lib/capistrano/cli/execute.rb:14:in `execute' | |
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.5/bin/cap:4 | |
from /usr/bin/cap:19:in `load' | |
from /usr/bin/cap:19 | |
bourgui@talmbp:keldelice [staging] $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment