Actions
Bug #16704
openWhen policies are invalid (like, during an upgrade), execd and serverd restarts every 10 secondes
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
and it does spam the logs like hell
Feb 10 16:11:53 server cf-execd: /var/rudder/cfengine-community/inputs/common/1.0/rudder-lib.cf:678:0: error: Duplicate definition of body cron_bin with type process_select Feb 10 16:11:53 server cf-execd: /var/rudder/cfengine-community/inputs/common/1.0/rudder-stdlib-core.cf:34:0: error: Duplicate definition of body rudder_common_classes with type classes Feb 10 16:11:53 server cf-execd: /var/rudder/cfengine-community/inputs/common/1.0/rudder-stdlib-core.cf:48:0: error: Duplicate definition of body rudder_common_classes_persist with type classes Feb 10 16:11:53 server cf-execd: /var/rudder/cfengine-community/inputs/common/1.0/rudder-stdlib-core.cf:63:0: error: Duplicate definition of body rudder_always_classes_persist with type classes Feb 10 16:11:53 server cf-execd: /var/rudder/cfengine-community/inputs/common/1.0/rudder-stdlib.cf:55:0: error: Duplicate definition of body rudder_delete_if_not_in_list with type delete_select Feb 10 16:11:53 server cf-execd: /var/rudder/cfengine-community/inputs/common/1.0/rudder-stdlib.cf:89:0: error: Duplicate definition of body rudder_common_minutes_old with type file_select Feb 10 16:11:53 server cf-execd: /var/rudder/cfengine-community/inputs/common/1.0/rudder-stdlib.cf:124:0: error: Duplicate definition of body rudder_section_selector with type select_region Feb 10 16:11:53 server cf-execd[8628]: CFEngine(executor) Policy failed validation with command '"/var/rudder/cfengine-community/bin/cf-promises" -c "/var/rudder/cfengine-community/inputs/promises.cf"' Feb 10 16:11:53 server systemd: rudder-cf-execd.service: main process exited, code=exited, status=1/FAILURE Feb 10 16:11:53 server cf-execd: error: Policy failed validation with command '"/var/rudder/cfengine-community/bin/cf-promises" -c "/var/rudder/cfengine-community/inputs/promises.cf"' Feb 10 16:11:53 server cf-execd: error: Error reading CFEngine policy. Exiting... Feb 10 16:11:53 server cf-execd[8628]: CFEngine(executor) Error reading CFEngine policy. Exiting... Feb 10 16:11:53 server systemd: Unit rudder-cf-execd.service entered failed state. Feb 10 16:11:53 server systemd: rudder-cf-execd.service failed. Feb 10 16:12:03 server systemd: rudder-cf-serverd.service holdoff time over, scheduling restart. Feb 10 16:12:03 server systemd: rudder-cf-execd.service holdoff time over, scheduling restart. Feb 10 16:12:03 server systemd: Stopped CFEngine Execution Scheduler. Feb 10 16:12:03 server systemd: Started CFEngine Execution Scheduler. Feb 10 16:12:03 server systemd: Stopped Rudder agent umbrella service. Feb 10 16:12:03 server systemd: Stopping Rudder agent umbrella service... Feb 10 16:12:03 server systemd: Starting Rudder agent umbrella service... Feb 10 16:12:03 server systemd: Stopped CFEngine file server. Feb 10 16:12:03 server systemd: Started CFEngine file server. Feb 10 16:12:03 server systemd: Started Rudder agent umbrella service. Feb 10 16:12:04 server cf-serverd: /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:539:0: error: Duplicate definition of bundle rudder_common_report with type agent Feb 10 16:12:04 server cf-serverd: /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:564:0: error: Duplicate definition of bundle rudder_common_report_index with type agent Feb 10 16:12:04 server cf-serverd: /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:627:0: error: Duplicate definition of bundle rudder_common_reports_generic with type agent Feb 10 16:12:04 server cf-serverd: /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:646:0: error: Duplicate definition of bundle rudder_common_reports_generic_index with type agent Feb 10 16:12:04 server cf-serverd: /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:692:0: error: Duplicate definition of bundle startExecution with type agent
Actions