Project

General

Profile

Actions

Bug #11587

closed

Ensure service (re)started does now work if systemd hit "start-limit"

Added by Janos Mattyasovszky about 7 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

After playing around with a haproxy config templated by rudder and having an NCF method that restarts the daemon after the file has changed, systemd <3 broke down due "start-limit" being hit.

Rudder reported:

E| error         HAProxy                   Service check running     haproxy            Check if the service haproxy is started could not be repaired

Because:

systemd[1]: haproxy.service: Failed with result 'start-limit'.

It would be nice if rudder could handle this case in a "sane" way.

Actions

Also available in: Atom PDF