Created
September 12, 2014 00:10
-
-
Save Drewzar/5407af9b44593fbd8616 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
* bash[install-rvm-wrappers-rtopia] action run | |
================================================================================ | |
Error executing action `run` on resource 'bash[install-rvm-wrappers-rtopia]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of "bash" "/tmp/chef-script20140911-23490-1835nmw" ---- | |
STDOUT: RVM reloaded! | |
Using /usr/local/rvm/gems/ruby-1.9.3-p429 with gemset rails32 | |
RVM loaded successfully | |
Creating alias rtopia for ruby-1.9.3-p429. | |
STDERR: mkdir: cannot create directory `/usr/local/rvm/log/1410480371_ruby-1.9.3-p429': Permission denied | |
tee: /usr/local/rvm/log/1410480371_ruby-1.9.3-p429/alias_create.log: No such file or directory | |
Error running 'alias_create_exceute', | |
showing last 15 lines of /usr/local/rvm/log/1410480371_ruby-1.9.3-p429/alias_create.log | |
tail: cannot open `/usr/local/rvm/log/1410480371_ruby-1.9.3-p429/alias_create.log' for reading: No such file or directory | |
---- End output of "bash" "/tmp/chef-script20140911-23490-1835nmw" ---- | |
Ran "bash" "/tmp/chef-script20140911-23490-1835nmw" returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /var/chef/cache/cookbooks/lift_rtopia/recipes/default.rb | |
39: bash 'install-rvm-wrappers-rtopia' do | |
40: user 'vagrant' | |
41: cwd node[:rtopia][node.chef_environment][:docroot] | |
42: code <<-EOH | |
43: #{Rvm::Helpers.new(node[:rtopia][node.chef_environment][:docroot]).loader} | |
44: /usr/local/rvm/bin/rvm alias create rtopia ruby-1.9.3-p429 | |
45: EOH | |
46: not_if '/usr/local/rvm/bin/rvm alias show rtopia' | |
47: end | |
48: | |
Compiled Resource: | |
------------------ | |
# Declared in /var/chef/cache/cookbooks/lift_rtopia/recipes/default.rb:39:in `from_file' | |
bash("install-rvm-wrappers-rtopia") do | |
action "run" | |
retries 0 | |
retry_delay 2 | |
command "\"bash\" \"/tmp/chef-script20140911-23490-1835nmw\"" | |
backup 5 | |
cwd "/lift/data/rtopia" | |
returns 0 | |
user "vagrant" | |
code " . /etc/profile && rvm reload && rvm use 1.9.3-p429@rails32 || ( sudo /usr/local/rvm/bin/rvm install 1.9.3-p429 && /usr/local/rvm/bin/rvm 1.9.3-p429 do /usr/local/rvm/bin/rvm gemset create rails32 && . /etc/profile && rvm reload && rvm use 1.9.3-p429@rails32 ) && cd /lift/data/rtopia && echo RVM loaded successfully\n /usr/local/rvm/bin/rvm alias create rtopia ruby-1.9.3-p429\n" | |
interpreter "bash" | |
cookbook_name "lift_rtopia" | |
recipe_name "default" | |
not_if "/usr/local/rvm/bin/rvm alias show rtopia" | |
end | |
* service[unicorn_rtopia] action reload (up to date) | |
Recipe: lift_piggy_bank::default | |
* service[unicorn_piggy_bank] action reload (up to date) | |
[2014-09-11T18:06:11-06:00] ERROR: Running exception handlers | |
[2014-09-11T18:06:11-06:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json | |
[2014-09-11T18:06:11-06:00] ERROR: Exception handlers complete | |
Chef Client failed. 31 resources updated | |
[2014-09-11T18:06:11-06:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
[2014-09-11T18:06:11-06:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: bash[install-rvm-wrappers-rtopia] (lift_rtopia::default line 39) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of "bash" "/tmp/chef-script20140911-23490-1835nmw" ---- | |
STDOUT: RVM reloaded! | |
Using /usr/local/rvm/gems/ruby-1.9.3-p429 with gemset rails32 | |
RVM loaded successfully | |
Creating alias rtopia for ruby-1.9.3-p429. | |
STDERR: mkdir: cannot create directory `/usr/local/rvm/log/1410480371_ruby-1.9.3-p429': Permission denied | |
tee: /usr/local/rvm/log/1410480371_ruby-1.9.3-p429/alias_create.log: No such file or directory | |
Error running 'alias_create_exceute', | |
showing last 15 lines of /usr/local/rvm/log/1410480371_ruby-1.9.3-p429/alias_create.log | |
tail: cannot open `/usr/local/rvm/log/1410480371_ruby-1.9.3-p429/alias_create.log' for reading: No such file or directory | |
---- End output of "bash" "/tmp/chef-script20140911-23490-1835nmw" ---- | |
Ran "bash" "/tmp/chef-script20140911-23490-1835nmw" returned 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment