- From: Allan Wind <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Trouble reloading a service
- Date: Sat, 21 Jul 2012 19:23:29 -0400
On 2012-07-22 10:51:14, AJ Christensen wrote:
>
The reload_service action more than likely has logic in it to prevent
>
it from firing if the application isn't actually running.. soo, a bad
>
status check => the service not running => service does not get
>
reloaded
You are right fixing the status resolved the issue. Thanks a lot
for your help.
Recipe ask to reload a service. chef does no less than 3 status
calls which all fail with 127 in this case. chef then decides
that you reload does not make sense anyways. There are no logs
indicating any problems.
chef does the same 3 status checks for restart but decides to
restart the service anyways.
The inconsistency is strange to me, and the lack of log output
is a defect, no?
/Allan
--
Allan Wind
Life Integrity, LLC
<
http://lifeintegrity.com>
Archive powered by MHonArc 2.6.16.