Project

General

Custom queries

Profile

Actions

Bug #8379

closed

invalid reporting in ncf

Added by Nicolas CHARLES almost 9 years ago. Updated almost 3 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

I'm having spurious reports generated on the nodes:

2016-05-25T13:45:05+0000     info: /default/restart_services/methods/'restart_rsyslog'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'action'/default/command_execution/commands/'/sbin/service rsyslog restart'[0]: Last 2 quoted lines were generated by promiser '/sbin/service rsyslog restart'
2016-05-25T13:45:05+0000     info: /default/restart_services/methods/'restart_rsyslog'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'action'/default/command_execution/commands/'/sbin/service rsyslog restart'[0]: Completed execution of '/sbin/service rsyslog restart'
R: @@my_test_technique@@result_repaired@@32377fd7-02fd-43d0-aab7-28460a91347b@@5caf1d29-8880-4279-b744-956db1bf4b6c@@3@@Command execution@@/bin/true@@2016-05-25 13:45:03+00:00##4293df6e-c63b-4ece-84dd-50abafc092ca@#Execute the command /sbin/service rsyslog restart was repaired
R: @@Common@@log_repaired@@hasPolicyServer-3be88199-01d9-4470-918c-73fbff78183d@@common-3be88199-01d9-4470-918c-73fbff78183d@@1@@Log system for reports@@None@@2016-05-25 13:45:03+00:00##4293df6e-c63b-4ece-84dd-50abafc092ca@#Logging system has been restarted

here, rsyslog restart triggers a /bin/true report.

content of rudder_expected_reports.csv.res is

my_test_technique;;directory_create__tmp_bar;;32377fd7-02fd-43d0-aab7-28460a91347b@@5caf1d29-8880-4279-b744-956db1bf4b6c@@3;;Directory create;;/tmp/bar
my_test_technique;;directory_create__tmp_plop;;32377fd7-02fd-43d0-aab7-28460a91347b@@5caf1d29-8880-4279-b744-956db1bf4b6c@@3;;Directory create;;/tmp/plop
my_test_technique;;command_execution__bin_true;;32377fd7-02fd-43d0-aab7-28460a91347b@@5caf1d29-8880-4279-b744-956db1bf4b6c@@3;;Command execution;;/bin/true
my_test_technique;;command_execution__bin_false;;32377fd7-02fd-43d0-aab7-28460a91347b@@5caf1d29-8880-4279-b744-956db1bf4b6c@@3;;Command execution;;/bin/false
my_test_technique;;directory_create__tmp_fop;;32377fd7-02fd-43d0-aab7-28460a91347b@@5caf1d29-8880-4279-b744-956db1bf4b6c@@3;;Directory create;;/tmp/fop

Happened on 3.0, most likely on 2.11 also, on centos 6.6


Files

debug.out.gz (476 KB) debug.out.gz Nicolas CHARLES, 2016-05-25 16:16
debug-2.11.out.gz (481 KB) debug-2.11.out.gz 2.11 debug file Nicolas CHARLES, 2016-05-25 16:37

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #8430: logger_rudder can re-read expected_reports_temp even without change, impacting performance significantlyReleasedNicolas CHARLESActions
#4

Updated by Nicolas CHARLES almost 9 years ago

#5

Updated by Nicolas CHARLES almost 9 years ago

#6

Updated by Alexis Mousset almost 9 years ago

  • Target version set to 2.11.22
#7

Updated by Jonathan CLARKE almost 9 years ago

  • Project changed from Rudder to 41
  • Target version changed from 2.11.22 to 0.x
#8

Updated by Jonathan CLARKE almost 9 years ago

  • Status changed from New to In progress
  • Assignee set to Jonathan CLARKE
#9

Updated by Jonathan CLARKE almost 9 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/ncf/pull/369
#11

Updated by Jonathan CLARKE almost 9 years ago

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

Updated by Nicolas CHARLES almost 9 years ago

  • Related to Bug #8430: logger_rudder can re-read expected_reports_temp even without change, impacting performance significantly added
#14

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released
#15

Updated by Alexis Mousset almost 3 years ago

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0
#16

Updated by Alexis Mousset almost 3 years ago

  • Project changed from 41 to Rudder
  • Category set to Generic methods
Actions

Also available in: Atom PDF