Project

General

Profile

Bug #9776

Logs from 4.1 agent are not sent to the server

Added by Alexis MOUSSET about 1 year ago. Updated 14 days ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:
Tags: Blocking 4.1

Description

Probably linked to CFEngine 3.10, still unknown.


Subtasks

User story #9900: Revert the log name change in 3.10ReleasedBenoît PECCATTE

Architecture #11807: Remove our syslog name patch in 4.3Pending releaseBenoît PECCATTE

Associated revisions

Revision 8dff660b
Added by Alexis MOUSSET 11 months ago

Fixes #9776: Logs from 4.1 agent are not sent to the server

History

#1 Updated by Alexis MOUSSET about 1 year ago

4.0 log:

Dec  5 17:21:12 server rudder[29102]: CFEngine(agent) rudder R: @@toto@@result_success@@32377fd7-02fd-43d0-aab7-28460a91347b@@faa6c703-3798-4efc-9115-8b01bc22363b@@5@@Directory create@@/plop@@2016-12-05 17:20:56+00:00##root@#Create directory /plop was correct

4.1 log:

Dec  5 17:23:09 agent1 cf-agent[22847]: CFEngine(agent) rudder R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@7@@Binaries update@@None@@2016-12-05 17:23:05+00:00##52e30a81-d6b0-4571-93a4-3f57a43b7f7d@#The CFEngine binaries in /var/rudder/cfengine-community/bin are up to date

The program name changed from rudder to cf-agent, which breaks log forwarding.

#2 Updated by Alexis MOUSSET 12 months ago

This happens because of https://tracker.mender.io/browse/CFE-2225.

We can:

  • Revert the patch to keep previous behavior in rudder agent (but break reporting compatibility with vanilla CFEngine)
  • allow cf-agent as log prefix in Rudder

#3 Updated by Alexis MOUSSET 11 months ago

  • Tags set to Blocking 4.1

#4 Updated by Alexis MOUSSET 11 months ago

  • Status changed from New to In progress
  • Assignee set to Alexis MOUSSET

#5 Updated by Alexis MOUSSET 11 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1100

#6 Updated by Alexis MOUSSET 11 months ago

  • Status changed from Pending technical review to New
  • Assignee changed from Benoît PECCATTE to Alexis MOUSSET
  • Target version changed from 4.1.0~beta1 to 3.1.18
  • Pull Request deleted (https://github.com/Normation/rudder-techniques/pull/1100)

#7 Updated by Alexis MOUSSET 11 months ago

  • Status changed from New to In progress

#8 Updated by Alexis MOUSSET 11 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1101

#9 Updated by Alexis MOUSSET 11 months ago

  • Status changed from Pending technical review to Pending release

#10 Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.18, 3.2.11, 4.0.3 and 4.1.0~beta3 which were released today.

Also available in: Atom PDF