Project

General

Profile

Actions

Bug #22371

closed

missing report in change only

Bug #22371: missing report in change only

Added by Nicolas CHARLES about 3 years ago. Updated almost 3 years 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
clipboard-202303221626-fg6ao.png

Related issues 1 (0 open1 closed)

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

Updated by Nicolas CHARLES about 3 years ago Actions #1

  • 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)

Updated by François ARMAND about 3 years ago Actions #2

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

Updated by François ARMAND about 3 years ago Actions #3

  • Description updated (diff)

Updated by François ARMAND about 3 years ago Actions #4

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

Updated by François ARMAND about 3 years ago Actions #5

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

Updated by François ARMAND about 3 years ago Actions #6

  • Status changed from New to Rejected

It is a duplicate

Updated by François ARMAND about 3 years ago Actions #7

  • 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.

Updated by François ARMAND about 3 years ago Actions #8

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

Updated by François ARMAND about 3 years ago Actions #9

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.

Updated by François ARMAND about 3 years ago Actions #10

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

Updated by François ARMAND about 3 years ago Actions #11

  • 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

Updated by Anonymous about 3 years ago Actions #12

  • Status changed from Pending technical review to Pending release

Updated by Vincent MEMBRÉ about 3 years ago Actions #13

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

Updated by François ARMAND almost 3 years ago Actions #14

clipboard-202303221626-fg6ao.png

Works

Updated by Vincent MEMBRÉ almost 3 years ago Actions #15

  • 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: PDF Atom