Skip to content

Instantly share code, notes, and snippets.

@bhenerey
Created July 25, 2012 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhenerey/3179225 to your computer and use it in GitHub Desktop.
Save bhenerey/3179225 to your computer and use it in GitHub Desktop.
Stacktrace of https://github.com/cookbooks/hw-chef-graphiti on Vagrant / Ubuntu 12.04
[2012-07-25T22:28:22+00:00] INFO: Processing apt_package[libcurl4-gnutls-dev] action install (hw-chef-graphiti::default line 22)
[2012-07-25T22:28:30+00:00] INFO: apt_package[libcurl4-gnutls-dev] installed version 7.22.0-3ubuntu4
[2012-07-25T22:28:30+00:00] INFO: Processing apt_package[ruby1.9.1-full] action install (hw-chef-graphiti::default line 22)
[2012-07-25T22:29:03+00:00] INFO: apt_package[ruby1.9.1-full] installed version 1.9.3.0-1ubuntu2
[2012-07-25T22:29:03+00:00] INFO: Processing gem_package[bundler] action install (hw-chef-graphiti::default line 25)
[2012-07-25T22:29:15+00:00] INFO: gem_package[bundler] installed version 1.1.5
[2012-07-25T22:29:15+00:00] INFO: Processing remote_file[/usr/src/graphiti.tgz] action create_if_missing (hw-chef-graphiti::default line 27)
[2012-07-25T22:29:25+00:00] INFO: remote_file[/usr/src/graphiti.tgz] updated
[2012-07-25T22:29:25+00:00] INFO: remote_file[/usr/src/graphiti.tgz] owner changed to 33
[2012-07-25T22:29:25+00:00] INFO: remote_file[/usr/src/graphiti.tgz] group changed to 33
[2012-07-25T22:29:25+00:00] INFO: remote_file[/usr/src/graphiti.tgz] mode changed to 666
[2012-07-25T22:29:25+00:00] INFO: Processing directory[/srv/graphiti] action create (hw-chef-graphiti::default line 35)
[2012-07-25T22:29:25+00:00] INFO: directory[/srv/graphiti] created directory /srv/graphiti
[2012-07-25T22:29:25+00:00] INFO: directory[/srv/graphiti] owner changed to 33
[2012-07-25T22:29:25+00:00] INFO: directory[/srv/graphiti] group changed to 33
[2012-07-25T22:29:25+00:00] INFO: Processing directory[/srv/graphiti/log] action create (hw-chef-graphiti::default line 40)
[2012-07-25T22:29:25+00:00] INFO: directory[/srv/graphiti/log] created directory /srv/graphiti/log
[2012-07-25T22:29:25+00:00] INFO: directory[/srv/graphiti/log] owner changed to 33
[2012-07-25T22:29:25+00:00] INFO: directory[/srv/graphiti/log] group changed to 33
[2012-07-25T22:29:25+00:00] INFO: Processing execute[bundle] action nothing (hw-chef-graphiti::default line 45)
[2012-07-25T22:29:25+00:00] INFO: Processing cron[graphiti:metrics] action create (hw-chef-graphiti::default line 56)
[2012-07-25T22:29:25+00:00] INFO: cron[graphiti:metrics] added crontab entry
[2012-07-25T22:29:25+00:00] INFO: Processing execute[graphiti: untar] action run (hw-chef-graphiti::default line 62)
[2012-07-25T22:29:25+00:00] INFO: execute[graphiti: untar] ran successfully
[2012-07-25T22:29:25+00:00] INFO: execute[graphiti: untar] sending run action to execute[bundle] (immediate)
[2012-07-25T22:29:25+00:00] INFO: Processing execute[bundle] action run (hw-chef-graphiti::default line 45)
[2012-07-25T22:29:25+00:00] ERROR: execute[bundle] (hw-chef-graphiti::default line 45) has had an error
[2012-07-25T22:29:25+00:00] ERROR: execute[graphiti: untar] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/hw-chef-graphiti/recipes/default.rb:62:in `from_file') had an error:
execute[bundle] (hw-chef-graphiti::default line 45) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '127'
---- Begin output of bundle install --deployment --binstubs; bundle exec rake graphiti:metrics ----
STDOUT:
STDERR: sh: 1: bundle: not found
sh: 1: bundle: not found
---- End output of bundle install --deployment --binstubs; bundle exec rake graphiti:metrics ----
Ran bundle install --deployment --binstubs; bundle exec rake graphiti:metrics returned 127
/opt/ruby/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.0.0/lib/mixlib/shellout.rb:242:in `invalid!'
/opt/ruby/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.0.0/lib/mixlib/shellout.rb:228:in `error!'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/mixin/shell_out.rb:36:in `shell_out!'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/provider/execute.rb:58:in `action_run'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource.rb:454:in `run_action'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:49:in `run_action'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:57:in `block in run_action'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:55:in `each'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:55:in `run_action'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:85:in `block (2 levels) in converge'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:85:in `each'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:85:in `block in converge'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection.rb:94:in `block in execute_each_resource'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection.rb:92:in `execute_each_resource'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:80:in `converge'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/client.rb:330:in `converge'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/client.rb:163:in `run'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application/solo.rb:207:in `block in run_application'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application/solo.rb:195:in `loop'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application/solo.rb:195:in `run_application'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application.rb:70:in `run'
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.12.0/bin/chef-solo:25:in `<top (required)>'
/opt/ruby/bin/chef-solo:19:in `load'
/opt/ruby/bin/chef-solo:19:in `<main>'
[2012-07-25T22:29:25+00:00] ERROR: Running exception handlers
[2012-07-25T22:29:25+00:00] ERROR: Exception handlers complete
[2012-07-25T22:29:25+00:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[2012-07-25T22:29:25+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[bundle] (hw-chef-graphiti::default line 45) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '127'
---- Begin output of bundle install --deployment --binstubs; bundle exec rake graphiti:metrics ----
STDOUT:
STDERR: sh: 1: bundle: not found
sh: 1: bundle: not found
---- End output of bundle install --deployment --binstubs; bundle exec rake graphiti:metrics ----
Ran bundle install --deployment --binstubs; bundle exec rake graphiti:metrics returned 127
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment