Bug #18846
closedAgent run schedule problem
Description
I have found a problem with the agent run schedule.
When I set the schedule in the WebUI to:
- Run agent every: 1 Hour
- First run time: 0 Hours, 50 Minutes
- Maximum delay: 0 Hours, 0 Minutes
the agent is still only executed on the hour.
Is my assumption correct that these settings are located on the client in the file /var/rudder/cfengine-community/inputs/rudder.json
?
If so, then I have probably already found part of the error.
With the above settings, the file contains:
"AGENT_RUN_INTERVAL":"60", "AGENT_RUN_SCHEDULE":"\"Hr00.Min00\", \"Hr01.Min00\", \"Hr02.Min00\", \"Hr03.Min00\", \"Hr04.Min00\", \"Hr05.Min00\", \"Hr06.Min00\", \"Hr07.Min00\", \"Hr08.Min00\", \"Hr09.Min00\", \"Hr10.Min00\", \"Hr11.Min00\", \"Hr12.Min00\", \"Hr13.Min00\", \"Hr14.Min00\", \"Hr15.Min00\", \"Hr16.Min00\", \"Hr17.Min00\", \"Hr18.Min00\", \"Hr19.Min00\", \"Hr20.Min00\", \"Hr21.Min00\", \"Hr22.Min00\", \"Hr23.Min00\"", "AGENT_RUN_SPLAYTIME":"0",
where you can see that the minutes setting seems to have been ignored.
Updated by Lars Koenen almost 4 years ago
- Subject changed from Agent run schedule to Agent run schedule problem
Updated by Lars Koenen almost 4 years ago
I narrowed it down further. The problem only occurs for the global setting. If I tick the checkbox "override global value" for a node, then the configured minutes are also taken into account in the scheduling of this node.
Updated by Vincent MEMBRÉ almost 4 years ago
- Target version changed from 6.2.2 to 6.2.3
Updated by François ARMAND almost 4 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND almost 4 years ago
- Target version changed from 6.2.3 to 6.1.10
- User visibility changed from Getting started - demo | first install | Technique editor and level 1 Techniques to Operational - other Techniques | Rudder settings | Plugins
- Priority changed from 70 to 52
Updated by François ARMAND almost 4 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/3496
Updated by François ARMAND almost 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|9d3e61be96b756514a0808fc13d70dca84cf2f98.
Updated by François ARMAND almost 4 years ago
Applied in changeset rudder|271ac84d0219ee29eb46b8b90b933f76239aaec6.
Updated by Nicolas CHARLES almost 4 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 3 years ago
- Status changed from Pending release to Released
- Priority changed from 52 to 51
This bug has been fixed in Rudder 6.1.10 and 6.2.3 which were released today.