Project

General

Profile

Actions

Bug #22591

open

Variable from JSON file don't report in Rudder 7.2

Added by Nicolas CHARLES about 1 year ago. Updated about 6 hours ago.

Status:
Pending technical review
Priority:
N/A
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

It always don't report - i suspect it's because it doesn't set the report variables


Subtasks 1 (1 open0 closed)

Bug #22755: variable from Json file (dict) base file should report with the base file as component value and not the overriding filesNewActions
Actions #1

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 7.2.6 to 7.2.7
Actions #2

Updated by Nicolas CHARLES 12 months ago

  • Subject changed from File key value from JSON file don't report in Rudder 7.2 to Variable from JSON file don't report in Rudder 7.2
Actions #3

Updated by Félix DALLIDET 12 months ago

This only occurs when the overriding sections are empty. Which is a supported case and should work.

There are 2 issues here, the base file related reports should use it as component_value, and the webapp seems to fail to compute the reports with empty component value, even if the expected report contains an empty component value.

When the component value is empty, the reports are well generated by the agent, and computed by the webapp as they are not flagged as "unexpected", but for some reasons, they are not matched against for the compliance and we end up with missing reports.

2023-05-12T12:41:43+00:00 R: @@variableFromJsonFile@@result_na@@91b88506-6a39-4728-a8fe-2483e3cfa89f@@8408253e-354f-45a4-806b-6d45c2a3c2b5@@0@@Variable definition@@@@2023-05-12 12:41:41+00:00##root@#No merging files precised

See the @@ at the end as the component value is empty.

Actions #4

Updated by Félix DALLIDET 12 months ago

  • Subtask #22755 added
Actions #5

Updated by Félix DALLIDET 12 months ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #6

Updated by Félix DALLIDET 12 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1816
Actions #7

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 7.2.7 to 7.2.8
Actions #8

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.2.8 to 7.2.9
Actions #9

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 7.2.9 to 7.2.10
Actions #10

Updated by Alexis Mousset 9 months ago

  • Target version changed from 7.2.10 to 7.2.11
Actions #11

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 7.2.11 to 1046
Actions #12

Updated by Alexis Mousset 7 months ago

  • Target version changed from 1046 to 7.3.8
Actions #13

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.8 to 7.3.9
Actions #14

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #15

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 7.3.10 to 7.3.11
Actions #16

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #17

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #18

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 7.3.13 to 7.3.14
Actions #19

Updated by Vincent MEMBRÉ about 6 hours ago

  • Target version changed from 7.3.14 to 7.3.15
Actions

Also available in: Atom PDF