Details
Description
Caused by:
In recipe:
python_pip 'redis'
chef-client version is 0.10.10
Chef-client Debug output:
[Fri, 25 May 2012 03:09:32 +0000] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out
[Fri, 25 May 2012 03:09:32 +0000] DEBUG: Mixlib::ShellOut::ShellCommandFailed: python_pip[redis] (nagios::client line 26) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of pip freeze | grep -i '^redis==' ----
STDOUT:
STDERR:
---- End output of pip freeze | grep -i '^redis==' ----
Ran pip freeze | grep -i '^redis==' returned 1
/usr/lib/ruby/vendor_ruby/mixlib/shellout.rb:242:in `invalid!'
/usr/lib/ruby/vendor_ruby/mixlib/shellout.rb:228:in `error!'
/usr/lib/ruby/vendor_ruby/chef/mixin/shell_out.rb:36:in `shell_out!'
/var/cache/chef/cookbooks/python/providers/pip.rb:127:in `current_installed_version'
/var/cache/chef/cookbooks/python/providers/pip.rb:110:in `load_current_resource'
/usr/lib/ruby/vendor_ruby/chef/resource.rb:453:in `run_action'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:49:in `run_action'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:85:in `converge'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:85:in `each'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:85:in `converge'
/usr/lib/ruby/vendor_ruby/chef/resource_collection.rb:94:in `execute_each_resource'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/stepable_iterator.rb:116:in `call'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/lib/ruby/vendor_ruby/chef/resource_collection.rb:92:in `execute_each_resource'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:80:in `converge'
/usr/lib/ruby/vendor_ruby/chef/client.rb:330:in `converge'
/usr/lib/ruby/vendor_ruby/chef/client.rb:163:in `run'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/vendor_ruby/chef/application.rb:70:in `run'
/usr/bin/chef-client:25
[Fri, 25 May 2012 03:09:32 +0000] FATAL: Mixlib::ShellOut::ShellCommandFailed: python_pip[redis] (nagios::client line 26) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of pip freeze | grep -i '^redis==' ----
STDOUT:
STDERR:
---- End output of pip freeze | grep -i '^redis==' ----
Ran pip freeze | grep -i '^redis==' returned 1
please pull:
https://github.com/viralshah/python/tree/COOK-1320
pull request is here:
https://github.com/opscode-cookbooks/python/pull/12