Project

General

Profile

Actions

Bug #21736

open

Broken report parsing when the key value contains line breaks

Added by Nicolas CHARLES 3 months ago. Updated 2 days ago.

Status:
Pending release
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:
No

Description

If i want to use multi line key, the reporting breaks because agent adds text in the output

with command_execution, if i run the following command, i get

cd /var/rudder/tmp/assets/
tar -xzvf /var/rudder/tmp/assets/fs-linux-agent-3.4.0.tar.gz

the reporting is

cd /var/rudder/tmp/assets/
2022-09-08T10:44:12+00:00 tar -xzvf /var/rudder/tmp/assets/fs-linux-agent-3.4.0.tar.gz

so the webapp can't match it
happens in 7.1, most likely in older versions


Files

previous (28.8 KB) previous Nicolas CHARLES, 2022-09-08 12:53

Subtasks 1 (0 open1 closed)

Bug #21829: command output is broken on linux when key is multilinedRejectedActions
Actions #1

Updated by Nicolas CHARLES 3 months ago

  • File previous previous added
  • Severity set to Major - prevents use of part of Rudder | no simple workaround
Actions #2

Updated by Alexis Mousset 3 months ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #3

Updated by Alexis Mousset 3 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Félix DALLIDET
  • Pull Request set to https://github.com/Normation/rudder/pull/4474
Actions #4

Updated by Alexis Mousset 3 months ago

  • Subject changed from when a key is multi-line, the reporting fails because agent add the datetime in fron of each new line to Broken report parsing when the key value contains line breaks
Actions #5

Updated by Alexis Mousset 3 months ago

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

Updated by Nicolas CHARLES 2 months ago

  • Subtask #21829 added
Actions #8

Updated by Vincent MEMBRÉ about 2 months ago

This bug has been fixed in Rudder 7.1.7 and 7.2.1 which were released today.

Actions

Also available in: Atom PDF