[chef] Re: Re: easy_install errors


Chronological Thread 
  • From: David Montgomery < >
  • To:
  • Subject: [chef] Re: Re: easy_install errors
  • Date: Thu, 24 May 2012 13:39:09 +0800

Thanks...thats a feature I missed.  But...I have a lot of easy
installs. I have not found an issue with installing packages with
apt-get.  Only with easy_install.  I have a lot of easy installs and
will have to trap them all.  Again, I have never had an issue with
easy install from bash or command line, only with chef and would be
interesting to find out why.

Thanks









On Thu, May 24, 2012 at 12:24 AM, Adam Jacob 
< >
 wrote:
> Thom pointing out retries is good advice. We're also missing the bit
> of log that would tell you *why* easy_install fails.
>
> Adam
>
> On Wed, May 23, 2012 at 7:45 AM, David Montgomery
> < >
>  wrote:
>> About 10% of the time when I do a chef bootstrap, the bootstrap fails
>> because of easy install errors.  This has serious implications for
>> fail-overs.  The packages are at random.  I have never had a problem
>> running a easy install from the command line or from a bash script.
>> So..why is the a persistent issue with a chef bootstrap?  This time is
>> was easy_install with pytz.  Next time....who knows.....
>>
>> I am bootstrapping a a ec2 ubuntu 64 on ec2
>>
>> ec2-23-20-103-96.compute-1.amazonaws.com /usr/bin/chef-client:19
>> ec2-23-20-103-96.compute-1.amazonaws.com [Wed, 23 May 2012 13:54:45
>> +0000] ERROR: Running exception handlers
>> ec2-23-20-103-96.compute-1.amazonaws.com [Wed, 23 May 2012 13:54:45
>> +0000] FATAL: Saving node information to
>> /var/chef/cache/failed-run-data.json
>> ec2-23-20-103-96.compute-1.amazonaws.com [Wed, 23 May 2012 13:54:45
>> +0000] ERROR: Exception handlers complete
>> ec2-23-20-103-96.compute-1.amazonaws.com [Wed, 23 May 2012 13:54:45
>> +0000] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
>> ec2-23-20-103-96.compute-1.amazonaws.com [Wed, 23 May 2012 13:54:45
>> +0000] FATAL: Chef::Exceptions::Exec: easy_install_package[pytz]
>> (php_base::default line 117) had an error: Chef::Exceptions::Exec:
>> easy_install "pytz==2012c" returned 1, expected 0
>>
>>
>> so...are there known issues?  What can be done?  For a known package,
>> it would be great if there was a retry function rather than killing a
>> chef boostrap.  Or is there a functionality that I am not aware?
>>
>> Thanks
>
>
>
> --
> Opscode, Inc.
> Adam Jacob, Chief Customer Officer
> T: (206) 619-7151 E: 
> 



Archive powered by MHonArc 2.6.16.

§