Project

General

Profile

Actions

Bug #5099

closed

Rsyslog conditonnal cannot accept reports from CFEngine 3.6

Added by Lionel Le Folgoc over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
N/A
Assignee:
Jonathan CLARKE
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Hi again,

Still with the 4 components architecture (cf. #5080, #5087, #5089 and #5098).

On server-1 (rudder-front), the /etc/rsyslog.d/rudder.conf file condition (line 39-45) to redirect to server-4 (rudder-webapp) does not seem to match anything:

[...]
if $programname startswith 'rudder' and $msg startswith '  R: @@' then @@rudderdv.jcd.priv:514
[...]

Reports are always missing on server-4...

If I create a dummy file named /etc/rsyslog.d/alolponies.conf containing:

if $programname startswith 'rudder' then @@rudderdv.jcd.priv:514

log messages are correctly forwarded to server-4 (rudder-webapp), and reports are showing.

Thanks.

Actions #1

Updated by Nicolas CHARLES over 10 years ago

  • Category set to 39
  • Assignee set to Nicolas CHARLES
  • Target version set to 2.11.0~beta2

Oh. CFEngine 3.6 slighly changed its output format :(

Actions #2

Updated by Nicolas CHARLES over 10 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Nicolas CHARLES to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/418
Actions #3

Updated by Nicolas CHARLES over 10 years ago

  • Status changed from Pending technical review to In progress
  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES
  • Target version changed from 2.11.0~beta2 to 2.6.16

To preserve compatibility between every versions of rudder, we are going to remove this in Rudder 2.6

Actions #4

Updated by Nicolas CHARLES over 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Jonathan CLARKE
  • Pull Request changed from https://github.com/Normation/rudder-techniques/pull/418 to https://github.com/Normation/rudder-techniques/pull/419
Actions #5

Updated by Nicolas CHARLES over 10 years ago

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

Applied in changeset policy-templates:commit:190323939686b82cc564d1c4412a94f047100111.

Actions #6

Updated by Jonathan CLARKE over 10 years ago

Applied in changeset policy-templates:commit:c32ec780cc9f939f4032f734f7f29141daab1d77.

Actions #7

Updated by Vincent MEMBRÉ over 10 years ago

  • Subject changed from Incorrect rsyslog conditional to Reports may not be forwarded to Rudder server due to an incorrect conditonal
  • Category changed from 39 to System integration
Actions #8

Updated by Vincent MEMBRÉ over 10 years ago

  • Subject changed from Reports may not be forwarded to Rudder server due to an incorrect conditonal to Rsyslog conditonnal cannot accept reports from CFEngine 3.6
Actions #9

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.6.16 ( changelog), 2.10.3 (announcement , changelog) and 2.11.0~beta2 (announcement , changelog), which were released today.

Actions

Also available in: Atom PDF