[chef] chef bomb with easy_install


Chronological Thread 
  • From: David Montgomery < >
  • To:
  • Subject: [chef] chef bomb with easy_install
  • Date: Wed, 4 Mar 2015 02:45:57 +0700

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:     ================================================================================
[54.198.171.16] out:     Error executing action `install` on resource 'easy_install_package[supervisor]'
[54.198.171.16] out:     ================================================================================
[54.198.171.16] out:
[54.198.171.16] out:     NoMethodError
[54.198.171.16] out:     -------------
[54.198.171.16] out:     undefined method `run_command' for #<Chef::Provider::Package::EasyInstall:0x00000003d2a638>
[54.198.171.16] out:
[54.198.171.16] out:     Resource Declaration:
[54.198.171.16] out:     ---------------------
[54.198.171.16] out:     # In /var/etl-chef/chef-repo/berks-cookbooks/supervisor/recipes/default.rb
[54.198.171.16] out: 
[54.198.171.16] out:      17: easy_install_package "supervisor" do
[54.198.171.16] out:      18:   action :install
[54.198.171.16] out:      19: end
[54.198.171.16] out:      20:
[54.198.171.16] out: 
[54.198.171.16] out:     Compiled Resource:
[54.198.171.16] out:     ------------------
[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: 
[54.198.171.16] out:     easy_install_package("supervisor") do
[54.198.171.16] out:       action [:install]
[54.198.171.16] out:       retries 0
[54.198.171.16] out:       retry_delay 2
[54.198.171.16] out:       default_guard_interpreter :default
[54.198.171.16] out:       package_name "supervisor"
[54.198.171.16] out:       version "3.1.3"
[54.198.171.16] out:       timeout 900
[54.198.171.16] out:       declared_type :easy_install_package
[54.198.171.16] out:       cookbook_name :supervisor
[54.198.171.16] out:       recipe_name "default"
[54.198.171.16] out:     end



Archive powered by MHonArc 2.6.16.

§