Project

General

Profile

Actions

Bug #22371

closed

missing report in change only

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

Status:
Released
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I dislike using that feature
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Small
Priority:
147
Name check:
To do
Fix check:
Checked
Regression:
Yes

Description

In change only, some directives make missing reports, which don't make any sense

It may be a duplicate to #22375


Files

clipboard-202303221626-fg6ao.png (157 KB) clipboard-202303221626-fg6ao.png François ARMAND, 2023-03-22 16:26

Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #15907: Changes-only does not behave as expected and lead to missing reportsRejectedActions
Actions #1

Updated by Nicolas CHARLES about 1 year ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • UX impact set to I dislike using that feature
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Effort required set to Small
  • Priority changed from 0 to 148

It seems it happens only for the 1st run after the policy generation, next runs seem correct (as seen on the wild)

Actions #2

Updated by François ARMAND about 1 year ago

  • Related to Bug #22375: Nodes not answering are seen in "missing" rather than in "no reports" added
Actions #3

Updated by François ARMAND about 1 year ago

  • Description updated (diff)
Actions #4

Updated by François ARMAND about 1 year ago

  • Related to deleted (Bug #22375: Nodes not answering are seen in "missing" rather than in "no reports")
Actions #5

Updated by François ARMAND about 1 year ago

  • Is duplicate of Bug #22375: Nodes not answering are seen in "missing" rather than in "no reports" added
Actions #6

Updated by François ARMAND about 1 year ago

  • Status changed from New to Rejected

It is a duplicate

Actions #7

Updated by François ARMAND about 1 year ago

  • Status changed from Rejected to New

So actually, it's not a duplicate. We do have some techniques that make missing even if the runs are recent in change only.

Actions #8

Updated by François ARMAND about 1 year ago

  • Is duplicate of deleted (Bug #22375: Nodes not answering are seen in "missing" rather than in "no reports")
Actions #9

Updated by François ARMAND about 1 year ago

It is not linked to a specific technique/directive but to the fact that:

- the directive sends several reports
- at least one is repaired and one is success

In that case, the success is interpreted as missing.
If everything is success, then the missing report are seen as success.

Test case: std lib technique "File and directory basics", check if a file exists and create it if not.
On first run, file is missing so we have one repaired for its creation, other in success => compliance is 75% in error.
On second run, everything is success => 100% OK
On node, delete file and run agent => compliance is 75% in error.

Actions #10

Updated by François ARMAND about 1 year ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #11

Updated by François ARMAND about 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/4675
Actions #12

Updated by Anonymous about 1 year ago

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

Updated by Vincent MEMBRÉ about 1 year ago

  • Has duplicate Bug #15907: Changes-only does not behave as expected and lead to missing reports added
Actions #14

Updated by François ARMAND about 1 year ago

Works

Actions #15

Updated by Vincent MEMBRÉ about 1 year ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF