Created
January 18, 2013 12:20
-
-
Save Azrael808/4564251 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
[2013-01-18T13:10:07+01:00] INFO: Processing execute[(ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml] action run (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application_ruby/providers/rails.rb line 92) | |
================================================================================ | |
Error executing action `run` on resource 'execute[(ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
STDOUT: | |
STDERR: ln: creating symbolic link `config/database.yml': No such file or directory | |
rm: cannot remove `config/database.yml': No such file or directory | |
---- End output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
Ran (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/application_ruby/providers/rails.rb | |
92: execute "(ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml" do | |
93: cwd new_resource.release_path | |
94: user new_resource.owner | |
95: environment new_resource.environment | |
96: end | |
97: end | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/application_ruby/providers/rails.rb:92:in `class_from_file' | |
execute("(ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml") do | |
user "rails" | |
retry_delay 2 | |
action "run" | |
command "(ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml" | |
retries 0 | |
returns 0 | |
cwd "/srv/rails/getex/releases/9fe57c0dc193f4050b56c00f031436823b903618" | |
cookbook_name :getex | |
environment {"PATH"=>"/usr/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin", "RAILS_ENV"=>"production"} | |
backup 5 | |
end | |
[2013-01-18T13:10:07+01:00] WARN: Error on deploying /srv/rails/getex/releases/9fe57c0dc193f4050b56c00f031436823b903618: execute[(ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application_ruby/providers/rails.rb line 92) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
STDOUT: | |
STDERR: ln: creating symbolic link `config/database.yml': No such file or directory | |
rm: cannot remove `config/database.yml': No such file or directory | |
---- End output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
Ran (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml returned 1 | |
[2013-01-18T13:10:07+01:00] INFO: Removing failed deploy /srv/rails/getex/releases/9fe57c0dc193f4050b56c00f031436823b903618 | |
================================================================================ | |
Error executing action `deploy` on resource 'deploy_revision[getex]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
execute[(ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application_ruby/providers/rails.rb line 92) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
STDOUT: | |
STDERR: ln: creating symbolic link `config/database.yml': No such file or directory | |
rm: cannot remove `config/database.yml': No such file or directory | |
---- End output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
Ran (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/providers/default.rb | |
122: @deploy_resource = send(new_resource.strategy.to_sym, new_resource.name) do | |
123: action force ? :force_deploy : :deploy | |
124: scm_provider new_resource.scm_provider | |
125: revision new_resource.revision | |
126: repository new_resource.repository | |
127: enable_submodules new_resource.enable_submodules | |
128: user new_resource.owner | |
129: group new_resource.group | |
130: deploy_to new_resource.path | |
131: ssh_wrapper "#{new_resource.path}/deploy-ssh-wrapper" if new_resource.deploy_key | |
132: shallow_clone true | |
133: rollback_on_error new_resource.rollback_on_error | |
134: all_environments = ([new_resource.environment]+new_resource.sub_resources.map{|res| res.environment}).inject({}){|acc, val| acc.merge(val)} | |
135: environment all_environments | |
136: migrate new_resource.migrate | |
137: all_migration_commands = ([new_resource.migration_command]+new_resource.sub_resources.map{|res| res.migration_command}).select{|cmd| cmd && !cmd.empty?} | |
138: migration_command all_migration_commands.join(' && ') | |
139: restart_command do | |
140: ([new_resource]+new_resource.sub_resources).each do |res| | |
141: cmd = res.restart_command | |
142: if cmd.is_a? Proc | |
143: version = Chef::Version.new(Chef::VERSION) | |
144: provider = if version.major > 10 || version.minor >= 14 | |
145: Chef::Platform.provider_for_resource(res, :nothing) | |
146: else | |
147: Chef::Platform.provider_for_resource(res) | |
148: end | |
149: provider.load_current_resource | |
150: provider.instance_eval(&cmd) | |
151: elsif cmd && !cmd.empty? | |
152: execute cmd do | |
153: user new_resource.owner | |
154: group new_resource.group | |
155: environment all_environments | |
156: end | |
157: end | |
158: end | |
159: end | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/providers/default.rb:122:in `send' | |
deploy_revision("getex") do | |
before_restart #<Proc:0x00007f5516c6b908@/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/providers/default.rb:171> | |
user "rails" | |
provider Chef::Provider::Deploy::Revision | |
group "rails" | |
keep_releases 5 | |
retry_delay 2 | |
action [:deploy] | |
deploy_to "/srv/rails/getex" | |
current_path "/srv/rails/getex/current" | |
before_symlink #<Proc:0x00007f5516c6bbb0@/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/providers/default.rb:168> | |
revision "master" | |
restart_command #<Proc:0x00007f5516c6cb00@/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/providers/default.rb:139> | |
retries 0 | |
migration_command "rake db:migrate" | |
remote "origin" | |
shared_path "/srv/rails/getex/shared" | |
before_migrate #<Proc:0x00007f5516c6be58@/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/providers/default.rb:165> | |
after_restart #<Proc:0x00007f5516c6b660@/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/providers/default.rb:174> | |
rollback_on_error true | |
destination "/srv/rails/getex/shared/cached-copy" | |
repo "[email protected]:headshift/getex.git" | |
symlink_before_migrate {"database.yml"=>"config/database.yml"} | |
cookbook_name :getex | |
scm_provider Chef::Provider::Git | |
shallow_clone true | |
repository_cache "cached-copy" | |
environment {"PATH"=>"/usr/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin", "RAILS_ENV"=>"production"} | |
end | |
[2013-01-18T13:10:07+01:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - deploy_revision[getex] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/providers/default.rb line 122) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[(ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application_ruby/providers/rails.rb line 92) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
STDOUT: | |
STDERR: ln: creating symbolic link `config/database.yml': No such file or directory | |
rm: cannot remove `config/database.yml': No such file or directory | |
---- End output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
Ran (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml returned 1 | |
/usr/lib64/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:248:in `invalid!' | |
/usr/lib64/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:234:in `error!' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/mixin/shell_out.rb:36:in `shell_out!' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/execute.rb:62:in `action_run' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/mixin/why_run.rb:52:in `call' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/mixin/why_run.rb:52:in `add_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:152:in `converge_by' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/execute.rb:61:in `action_run' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:115:in `send' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:115:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource.rb:593:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:49:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `each' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:80:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:171:in `recipe_eval' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/mixin/why_run.rb:52:in `call' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/mixin/why_run.rb:52:in `add_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:152:in `converge_by' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:166:in `recipe_eval' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/deploy.rb:182:in `callback' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/deploy.rb:158:in `deploy' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/deploy.rb:108:in `action_deploy' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/deploy.rb:438:in `with_rollback_on_error' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/deploy.rb:107:in `action_deploy' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:115:in `send' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:115:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource.rb:593:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:49:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `each' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:80:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/client.rb:378:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/client.rb:420:in `do_run' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/client.rb:176:in `run' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/application.rb:140:in `run_chef_client' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/application/solo.rb:224:in `run_application' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/application/solo.rb:216:in `loop' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/application/solo.rb:216:in `run_application' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/application.rb:72:in `run' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/chef-solo:25 | |
/usr/bin/chef-solo:23:in `load' | |
/usr/bin/chef-solo:23 | |
[2013-01-18T13:10:07+01:00] ERROR: Running exception handlers | |
[2013-01-18T13:10:07+01:00] ERROR: Exception handlers complete | |
[2013-01-18T13:10:07+01:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out | |
[2013-01-18T13:10:07+01:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: deploy_revision[getex] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/providers/default.rb line 122) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[(ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application_ruby/providers/rails.rb line 92) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
STDOUT: | |
STDERR: ln: creating symbolic link `config/database.yml': No such file or directory | |
rm: cannot remove `config/database.yml': No such file or directory | |
---- End output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
Ran (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml returned 1 | |
/usr/lib64/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:248:in `invalid!' | |
/usr/lib64/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:234:in `error!' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/mixin/shell_out.rb:36:in `shell_out!' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/execute.rb:62:in `action_run' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/mixin/why_run.rb:52:in `call' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/mixin/why_run.rb:52:in `add_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:152:in `converge_by' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/execute.rb:61:in `action_run' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:115:in `send' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:115:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource.rb:593:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:49:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `each' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:80:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:171:in `recipe_eval' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/mixin/why_run.rb:52:in `call' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/mixin/why_run.rb:52:in `add_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:152:in `converge_by' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:166:in `recipe_eval' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/deploy.rb:182:in `callback' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/deploy.rb:158:in `deploy' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/deploy.rb:108:in `action_deploy' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/deploy.rb:438:in `with_rollback_on_error' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider/deploy.rb:107:in `action_deploy' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:115:in `send' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/provider.rb:115:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource.rb:593:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:49:in `run_action' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `each' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:81:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/runner.rb:80:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/client.rb:378:in `converge' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/client.rb:420:in `do_run' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/client.rb:176:in `run' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/application.rb:140:in `run_chef_client' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/application/solo.rb:224:in `run_application' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/application/solo.rb:216:in `loop' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/application/solo.rb:216:in `run_application' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/../lib/chef/application.rb:72:in `run' | |
/usr/lib64/ruby/gems/1.8/gems/chef-10.16.6/bin/chef-solo:25 | |
/usr/bin/chef-solo:23:in `load' | |
/usr/bin/chef-solo:23 | |
[2013-01-18T13:10:07+01:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: deploy_revision[getex] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/providers/default.rb line 122) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[(ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application_ruby/providers/rails.rb line 92) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
STDOUT: | |
STDERR: ln: creating symbolic link `config/database.yml': No such file or directory | |
rm: cannot remove `config/database.yml': No such file or directory | |
---- End output of (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml ---- | |
Ran (ln -s ../../../shared/database.yml config/database.yml && rake gems:install); rm config/database.yml returned 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment