Recipe: poise-python::default
* python_runtime[2] action install
* poise_languages_system[python2.7] action install
(up to date)
* apt_package[python2.7, python2.7-dev] action nothing (skipped due to action :nothing)
(up to date)
* python_runtime_pip[2] action install (up to date)
* python_package[setuptools] action install
================================================================================
Error executing action `install` on resource 'python_package[setuptools]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of ["/usr/bin/python2.7", "-", "setuptools"] ----
STDOUT:
STDERR: The python_package resource requires pip >= 6.1.0, currently 10.0.0
---- End output of ["/usr/bin/python2.7", "-", "setuptools"] ----
Ran ["/usr/bin/python2.7", "-", "setuptools"] returned 1
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:207:in `tap'
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:207:in `language_command_shell_out!'
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:222:in `block in language_command_mixin'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:317:in `pip_command'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:341:in `pip_outdated'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:209:in `check_package_versions'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:189:in `load_current_resource'
/var/chef/cache/cookbooks/poise/files/halite_gem/poise/helpers/notifying_block.rb:69:in `notifying_block'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:50:in `action_install'
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb
138: python_package 'setuptools' do
139: parent_python new_resource
140: version setuptools_version if setuptools_version.is_a?(String)
141: end
142: end
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:138:in `install_setuptools'
python_package("setuptools") do
package_name "setuptools"
action [:install]
default_guard_interpreter :default
declared_type :python_package
cookbook_name "poise-python"
parent_python python_runtime[2]
timeout 900
end
System Info:
------------
chef_version=14.0.202
platform=ubuntu
platform_version=16.04
ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
program_name=/usr/bin/chef-solo
executable=/opt/chef/bin/chef-solo
================================================================================
Error executing action `install` on resource 'python_runtime[2]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
python_package[setuptools] (/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb line 138) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of ["/usr/bin/python2.7", "-", "setuptools"] ----
STDOUT:
STDERR: The python_package resource requires pip >= 6.1.0, currently 10.0.0
---- End output of ["/usr/bin/python2.7", "-", "setuptools"] ----
Ran ["/usr/bin/python2.7", "-", "setuptools"] returned 1
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:207:in `tap'
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:207:in `language_command_shell_out!'
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:222:in `block in language_command_mixin'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:317:in `pip_command'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:341:in `pip_outdated'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:209:in `check_package_versions'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:189:in `load_current_resource'
/var/chef/cache/cookbooks/poise/files/halite_gem/poise/helpers/notifying_block.rb:69:in `notifying_block'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:50:in `action_install'
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/poise-python/recipes/default.rb
20: python_runtime '2' if node['poise-python']['install_python2']
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/poise-python/recipes/default.rb:20:in `from_file'
python_runtime("2") do
action [:install]
default_guard_interpreter :default
subresources [python_package[setuptools], python_package[supervisor], python_package[zc.zk], python_package[psutil], python_package[paramiko], python_package[dnspython], python_package[pyyaml], python_package[python-logstash], python_package[boto], python_package[redis], python_package[hiredis], pip_requirements[/var/zentripprocessing/requirements.txt], pip_requirements[/var/zensmoothscoring/requirements.txt], pip_requirements[/var/zenlib/requirements.txt], python_runtime_pip[2], python_package[wheel], python_package[virtualenv]]
declared_type :python_runtime
cookbook_name "poise-python"
recipe_name "default"
get_pip_url "https://bootstrap.pypa.io/get-pip.py"
pip_version true
setuptools_version true
version "2"
virtualenv_version true
wheel_version true
end
System Info:
------------
chef_version=14.0.202
platform=ubuntu
platform_version=16.04
ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
program_name=/usr/bin/chef-solo
executable=/opt/chef/bin/chef-solo
--
You received this message because you are subscribed to the Google Groups "opscode-chef-openstack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opscode-chef-open...@googlegroups.com.
To post to this group, send email to opscode-che...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/opscode-chef-openstack/bba4c2a5-372e-4097-9dc0-80639bf7b176%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.