Project

General

Profile

Actions

Bug #11303

closed

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

Added by François ARMAND about 7 years ago. Updated over 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 #2

Updated by François ARMAND about 7 years ago

  • Assignee set to Nicolas CHARLES
  • Effort required set to Small
  • Priority changed from 77 to 80

This is even worsen in the case where agent schedule is NOT 5 minutes, because the cron actually runs every 5 minutes. Before that bug, it would means that we add at most one run too many. Not anymore.

Actions #3

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 4.1.7 to 4.1.8
Actions #4

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 4.1.8 to 4.1.9
  • Priority changed from 80 to 79
Actions #5

Updated by Benoît PECCATTE about 7 years ago

The script currently runs cf-agent without parameters.

We need to run "rudder agent stop" then "rudder agent start"

Actions #6

Updated by Nicolas CHARLES about 7 years ago

  • Status changed from New to In progress
Actions #7

Updated by Nicolas CHARLES about 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-agent/pull/134
Actions #8

Updated by Nicolas CHARLES about 7 years ago

  • Status changed from Pending technical review to Pending release
Actions #9

Updated by Vincent MEMBRÉ almost 7 years ago

  • Status changed from Pending release to Released
  • Priority changed from 79 to 96

This bug has been fixed in Rudder 4.1.9 and 4.2.3 which were released today.

Actions #10

Updated by Alexis Mousset over 2 years ago

  • Priority changed from 96 to 0
Actions

Also available in: Atom PDF