Bug #5099
closedRsyslog conditonnal cannot accept reports from CFEngine 3.6
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.
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 :(
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
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
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
PR against 2.6 is here
https://github.com/Normation/rudder-techniques/pull/419
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.
Updated by Jonathan CLARKE over 10 years ago
Applied in changeset policy-templates:commit:c32ec780cc9f939f4032f734f7f29141daab1d77.
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
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
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.
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/