Hi,
Below and been going on for years with the use of chef. Never understood
but on occasion chef fails on easy install for random packages…but when
I log into the sever and manually run from the command line easy_install
for a given package it works without issue.
So…why? This is a recipe that I have not changes for years. Soon
enough.things will work again but I am still no closer to resolving the
issues.
I have tried retries 3 and retry_delay 30 with no improvements
Thanks
[54.198.171.16] out:
================================================================================e[0m
[54.198.171.16] out: e[31mError executing action install
on resource
’easy_install_package[supervisor]‘e[0m
[54.198.171.16] out:
================================================================================e[0m
[54.198.171.16] out:
[54.198.171.16] out: e[0m NoMethodErrore[0m
[54.198.171.16] out: -------------e[0m
[54.198.171.16] out: undefined method run_command' for #<Chef::Provider::Package::EasyInstall:0x00000003d2a638>e[0m [54.198.171.16] out: [54.198.171.16] out: e[0m Resource Declaration:e[0m [54.198.171.16] out: ---------------------e[0m [54.198.171.16] out: # In /var/etl-chef/chef-repo/berks-cookbooks/supervisor/recipes/default.rb [54.198.171.16] out: e[0m [54.198.171.16] out: e[0m 17: easy_install_package "supervisor" do [54.198.171.16] out: e[0m 18: action :install [54.198.171.16] out: e[0m 19: end [54.198.171.16] out: e[0m 20: [54.198.171.16] out: e[0m [54.198.171.16] out: e[0m Compiled Resource:e[0m [54.198.171.16] out: ------------------e[0m [54.198.171.16] out: # Declared in /var/etl-chef/chef-repo/berks-cookbooks/supervisor/recipes/default.rb:17:in
from_file’
[54.198.171.16] out: e[0m
[54.198.171.16] out: e[0m easy_install_package(“supervisor”) do
[54.198.171.16] out: e[0m action [:install]
[54.198.171.16] out: e[0m retries 0
[54.198.171.16] out: e[0m retry_delay 2
[54.198.171.16] out: e[0m default_guard_interpreter :default
[54.198.171.16] out: e[0m package_name “supervisor”
[54.198.171.16] out: e[0m version “3.1.3”
[54.198.171.16] out: e[0m timeout 900
[54.198.171.16] out: e[0m declared_type :easy_install_package
[54.198.171.16] out: e[0m cookbook_name :supervisor
[54.198.171.16] out: e[0m recipe_name “default”
[54.198.171.16] out: e[0m end