Project

General

Profile

Actions

Bug #10601

closed

If component value starts with # , report is not outputed by rudder agent output

Added by Nicolas CHARLES about 4 years ago. Updated almost 4 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Small
Priority:
67

Description

If a component value starts with #, the output is not correctly parsed by command rudder agent
Example:

R: @@sshKeyDistribution@@result_success@@uuid@@uuid@@SSH key@@# my key@@2017-04-13 12:31:32+00:00##uuid@#SSH key "# my key" for user was correct

it conflict with the last @#


Related issues

Related to Rudder - Bug #8862: Broken agent parsing when some report data start or ends with a separator charRejectedActions
Related to Rudder - Architecture #10648: Use the same regex as rsyslog to parse Rudder reportsRejectedActions
Actions #1

Updated by Alexis MOUSSET about 4 years ago

  • Related to Bug #8862: Broken agent parsing when some report data start or ends with a separator char added
Actions #2

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 3.1.19 to 3.1.20
Actions #3

Updated by François ARMAND about 4 years ago

  • Priority changed from 0 to 60
Actions #4

Updated by Jonathan CLARKE about 4 years ago

  • Assignee deleted (Alexis MOUSSET)
Actions #5

Updated by Alexis MOUSSET about 4 years ago

  • Effort required set to Small
  • Priority changed from 60 to 68

We can try to make a second split instead og change the whole parsing.

Actions #6

Updated by Alexis MOUSSET about 4 years ago

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

Updated by Alexis MOUSSET about 4 years 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-agent/pull/113
Actions #8

Updated by Alexis MOUSSET about 4 years ago

Actions #9

Updated by Alexis MOUSSET about 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #10

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from Pending release to New
Actions #11

Updated by Nicolas CHARLES almost 4 years ago

This was not correctly reverted !
In 4.1 nightly:

BEGIN {
  FS = "[^@]@#";

Actions #12

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #13

Updated by Vincent MEMBRÉ almost 4 years ago

Thiw was revert in 4.0 and 4.1 here : rudder-agent|82f99d4f

Actions #14

Updated by Benoît PECCATTE almost 4 years ago

  • Target version changed from 3.1.21 to 4.0.7

Let's fix this in 4.0 first

Actions #15

Updated by Benoît PECCATTE almost 4 years ago

  • Status changed from New to In progress
Actions #16

Updated by Benoît PECCATTE almost 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis MOUSSET
  • Pull Request changed from https://github.com/Normation/rudder-agent/pull/113 to https://github.com/Normation/rudder-agent/pull/116
Actions #17

Updated by Benoît PECCATTE almost 4 years ago

  • Priority changed from 68 to 67
Actions #18

Updated by Benoît PECCATTE almost 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #19

Updated by Alexis MOUSSET almost 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.0.7 which was released today.

Actions

Also available in: Atom PDF