- From: AJ Christensen <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Trouble reloading a service
- Date: Sun, 22 Jul 2012 12:34:08 +1200
It does appear that some logging is missing from your pastebin, yes.
The service debug logging is *much* more than that ;) usually
indicates, service supports status, running status. I'm not sure why
you aren't seeing that.
Can you test the latest version of (pre-release?) Chef 10.14?
I'll do the same
--AJ
On 22 July 2012 11:23, Allan Wind
<
>
wrote:
>
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.