Project

General

Profile

Actions

Bug #16704

open

When policies are invalid (like, during an upgrade), execd and serverd restarts every 10 secondes

Added by Nicolas CHARLES almost 5 years ago. Updated 5 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Agent
Target version:
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 #1

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 6.0.3 to 6.0.4
Actions #2

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.4 to 6.0.5
Actions #3

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.5 to 6.0.6
Actions #4

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.6 to 6.0.7
Actions #5

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.7 to 6.0.8
Actions #6

Updated by François ARMAND over 4 years ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 30
Actions #7

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.8 to 6.0.9
Actions #8

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.0.9 to 6.0.10
  • Priority changed from 30 to 29
Actions #9

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.0.10 to 798
Actions #10

Updated by Benoît PECCATTE over 3 years ago

  • Target version changed from 798 to 6.1.14
  • Priority changed from 29 to 27
Actions #11

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #12

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #13

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #14

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #15

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #16

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.19 to 6.1.20
Actions #17

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.20 to 6.1.21
Actions #18

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.21 to old 6.1 issues to relocate
Actions #19

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from old 6.1 issues to relocate to old 6.2 issues to relocate
  • Priority changed from 27 to 0
Actions #20

Updated by Alexis Mousset over 1 year ago

  • Target version changed from old 6.2 issues to relocate to 7.2.11
Actions #21

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.11 to 1046
Actions #22

Updated by Alexis Mousset about 1 year ago

  • Target version changed from 1046 to 7.3.8
Actions #23

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.3.8 to 7.3.9
Actions #24

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #25

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 7.3.10 to 7.3.11
Actions #26

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #27

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #28

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 7.3.13 to 7.3.14
Actions #29

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 7.3.14 to 7.3.15
Actions #30

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.15 to 7.3.16
Actions #31

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 7.3.16 to 7.3.17
Actions

Also available in: Atom PDF