- From: Dreamcat4 <
>
- To:
- Subject: [chef] Re: Strategies for updating chef trough a chef recipe
- Date: Tue, 21 Sep 2010 17:28:22 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=BRoXZWC/Bld61yj2NpuGMm5pyxcNKkpIUOt2s//zS7gSdwx6u/djlip8eo2GSeGn/a wwancZOPHXtHj1ec98yRpvhsrOXZTFs5LpKI+4E254leh1M5+YgJ6r8FwV4947BrdQKF Wlog3FQngIE3zppW102KPLwCEY6DeRqeYLUwA=
Hi Jacobo,
Theres already a chef restart recipe in my cookbooks repository. Its
been tested and works perfectly with chef-solo. For restarting
chef-client im unsure how to tackle that. But would very much like to
see such capability incorporated into the recipe.
http://github.com/dreamcat4/site-cookbooks/tree/master/restart/
On Tue, Sep 21, 2010 at 10:32 AM, Jacobo García
<
>
wrote:
>
Hi,
>
I'm trying to update all my chef-clients trough a chef recipe, I'm using a
>
modified recipe based on opscode's chef cookbook,
>
What I'm trying to do is pretty simple:
>
https://gist.github.com/2fd4fce806aa0c33edb0
>
I'm having problems on the first chef run, I use to login to the machine and
>
run chef-client as root, then the run hangs (chef does not get restarted)
>
and I get the following error:
>
[Mon, 20 Sep 2010 20:33:02 +0000] INFO: Installing gem_package[chef] version
>
0.9.8
>
[Mon, 20 Sep 2010 20:33:24 +0000] INFO: gem_package[chef] sending restart
>
action to service[chef-client] (immediate)
>
[Mon, 20 Sep 2010 20:33:24 +0000] FATAL: SIGTERM received, stopping
>
[Mon, 20 Sep 2010 20:33:24 +0000] ERROR: Running exception handlers
>
[Mon, 20 Sep 2010 20:33:24 +0000] ERROR: Exception handlers complete
>
[Mon, 20 Sep 2010 20:33:24 +0000] ERROR: Re-raising exception: SystemExit -
>
exit
>
If I restart chef as delayed on the recipe I have the same problem but at
>
the end of the run.
>
I am looking some help on the debug or some (better) strategies on auto
>
updating chef through minor releases.
>
Thanks.
>
Jacobo García López de Araujo
>
blog: http://robotplaysguitar.com
>
http://workingwithrails.com/person/13395-jacobo-garc-a
>
>
Archive powered by MHonArc 2.6.16.