Project

General

Profile

Actions

Bug #11303

closed

rudder service and thus cf-execd is never restarted / ensure running

Added by François ARMAND over 6 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Small
Priority:
0
Name check:
Fix check:
Regression:

Description

In 4.1, we removed the check that cf-execd was running at least/at most a number of time because it used to cause problems with containers.

But we now don't check anymore that the rudder service is running at all, so it means that if cf-execd is stopped (for example, because the rudder service is not started at boot), it is never restarted.

Rudder agent will still run because of /etc/cron.d/rudder-agent, but rudder agent health will report problems (no outputs stored in CFEngine output directory), and probes checking for cf-execd status will be in error.

Finally, we need to check that rudder (and not cf-execd) service is running to well behave with systemd.

A workaround can be to create a technique "ensure service running" for rudder service and deploy it everywhere.

Actions

Also available in: Atom PDF