graphite: twisted cannot install due to the location the location does not exist
running graphite v1.0.4 version of the cookbook, and running into this issue where python-pip can’t download/install “twisted” due to the fact the location doesn’t exist. (side note: the python cookbook this cookbook uses is deprecated and urging people to update using this cookbook now: https://github.com/poise/poise-python)
Recipe: graphite::_carbon_packages
* python_pip[Twisted] action install
================================================================================
Error executing action `install` on resource 'python_pip[Twisted]'
================================================================================
Errno::ENOENT
-------------
No such file or directory - pip
Cookbook Trace:
---------------
/tmp/kitchen/cache/cookbooks/python/providers/pip.rb:158:in `pip_cmd'
/tmp/kitchen/cache/cookbooks/python/providers/pip.rb:139:in `install_package'
/tmp/kitchen/cache/cookbooks/python/providers/pip.rb:46:in `block (2 levels) in class_from_file'
/tmp/kitchen/cache/cookbooks/python/providers/pip.rb:44:in `block in class_from_file'
Resource Declaration:
---------------------
# In /tmp/kitchen/cache/cookbooks/graphite/recipes/_carbon_packages.rb
24: python_pip 'Twisted' do
25: version lazy { node['graphite']['twisted_version'] }
26: end
27:
Compiled Resource:
------------------
# Declared in /tmp/kitchen/cache/cookbooks/graphite/recipes/_carbon_packages.rb:24:in `from_file'
python_pip("Twisted") do
action :install
retries 0
retry_delay 2
default_guard_interpreter :default
declared_type :python_pip
cookbook_name "graphite"
recipe_name "_carbon_packages"
version #<Chef::DelayedEvaluator:0x00000003a2a2d0@/tmp/kitchen/cache/cookbooks/graphite/recipes/_carbon_packages.rb:25>
package_name "Twisted"
end
Platform:
---------
x86_64-linux
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (7 by maintainers)
If that works for you. That’s great. We have a way to move forward.
I’ll remember that when I come to rework the cookbook.
Thanks @t2y