Project

General

Profile

Actions

Bug #15188

closed

Allow disabling the agent without stopping cf-serverd

Added by Nigel Mundy almost 5 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Small
Priority:
63
Name check:
To do
Fix check:
To do
Regression:

Description

we have found that if you disable the agent on the root server, this prevents cf-serverd from starting, which I would guess would be intended if there was only an agent on the machine.

However, being the root server, with cf-serverd not running this then means that no agents can connect to it for policy updates, when the intended action was to only stop the root server's agent from getting a policy update.

Some form of logic needs to be devised which means that cf-serverd is not stopped if it is the rudder root server.

the disabled cf-serverd persists across a reboot if the agent is still disabled. (ie /opt/rudder/etc/agent-disabled exists)

The only current workaround is to ensure the agent is never disabled on the root server (which we usually do as a matter of course for things like distro upgrades, to prevent a policy run reverting repository lists part way)

OS: Debian 9 (Stretch), so processes being started (or disabled) by systemd units.


Subtasks 2 (0 open2 closed)

User story #16168: Remove cf-serverd kill switch on agent disabledReleasedAlexis MoussetActions
User story #16169: Add an option to not stop cf-serverd on agent stopReleasedAlexis MoussetActions

Related issues 1 (1 open0 closed)

Related to Rudder - Architecture #15191: Separate remote-run server from policy serverNewActions
Actions

Also available in: Atom PDF