# Module service false fail

**URL:** <https://forum.ansible.com/t/module-service-false-fail/15310>\
**Category:** Ansible Project\
**Created:** [May 23, 2014, 8:39am UTC](https://forum.ansible.com/t/module-service-false-fail/15310 "2014-05-23T08:39:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrei\_Pashkin](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Andrei\_Pashkin](https://forum.ansible.com/u/Andrei_Pashkin)\
**Post date:** [May 23, 2014, 8:39am UTC](https://forum.ansible.com/t/module-service-false-fail/15310/1 "2014-05-23T08:39:08Z")

</div>

I have the problem with service module - it _sometimes (!)_ throws an error, when restarting supervisor.  
I tried to reproduce this bug in a sandbox project, but wasnt succeed. But in my sandbox supervisor was not handled any processes.  
So - my guess, when supervisor supervising some processes - it restarts longer, and because of it Ansible’s service module fails because it has some kind of timeout.

Here is the output with fail:

---

<div class="post-metadata">

**Author:** ![Andrei\_Pashkin](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Andrei\_Pashkin](https://forum.ansible.com/u/Andrei_Pashkin)\
**Post date:** [May 23, 2014, 10:51am UTC](https://forum.ansible.com/t/module-service-false-fail/15310/2 "2014-05-23T10:51:07Z")

</div>

No timeout has nothing to do with it. Its seems like supervisor’s upstart script returns an error if supervisor itself was restarted successfully, but processes under which it controls failed to start.
