Project

General

Profile

Actions

Bug #5619

closed

Process checking for cf-agent on windows suicide itself

Added by Nicolas CHARLES about 10 years ago. Updated about 10 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

In the system technique, we check the cfengine processes, and kill them if they are too numerous and restart them
However, on windows we are not restarting properly the services (with command on cf-execd rather than service management)


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #5997: Initial promises are calling undefined body u_bootstartReleasedBenoît PECCATTE2014-12-15Actions
Actions #1

Updated by Nicolas CHARLES about 10 years ago

Issue is that the process table is cached, so the restart-class is never defined.
On Linux, this is minigated by cron, so there is no issue about it. On Windows, there is no cron, so the executor daemon is never ever restarted.

It is also worth noting that on CFEngine masterfiles, the check on binaries is made only not on windows, as executor and monitor are services, so there can be more than one running

So the most obvious solution here is to remove altogether this check on windows for execd, and controlling only the agent execution

Actions #2

Updated by Nicolas CHARLES about 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/533
Actions #3

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.10.7 to 2.10.8
Actions #4

Updated by Nicolas CHARLES about 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset policy-templates:commit:4cbc09cfc86f55d27f3655eb1488fe973d062512.

Actions #5

Updated by Jonathan CLARKE about 10 years ago

Applied in changeset policy-templates:commit:f9bac2da7c6e1bffd2fbcebd05f69d1ecfa1fcb4.

Actions #6

Updated by Vincent MEMBRÉ about 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.8 and 2.11.5, which were released today (16/12/14)

Actions

Also available in: Atom PDF