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