Bug #22375
closedNodes not answering are seen in "missing" rather than in "no reports"
Description
Nodes with litterally no reports are seen in missing in the compliance rather than no reports because their configId is not known
I have already seen this issue (but I can't find the ticket) and to reproduce it, it may a node offline AND policy generation that changes the node config id for its policy (it may or may not be important to have outdated nodeconfigid as well)
The system is in change only reporting, it may or may not be relevant
- have a node offline
- that as a last run non empty (doing
insert into reportsexecution values ( '13d97019-f5ab-4f1f-8846-fdf36c0a7d45', '2023-01-10 00:00:00+01', '20230111-112830-e13bcefb', 314643008, '2023-01-14 23:00:47.293154', '2023-02-11 23:10:47.293154' );
is enough to create a last run date - restart rudder-jetty
- see that the node is in "missing" (red) rather than "no reports" (grey)
Updated by Nicolas CHARLES almost 2 years ago
- Subject changed from Nodes not answering are seen in error to Nodes not answering are seen in "missing" rather than in "no reports"
- Description updated (diff)
Updated by Nicolas CHARLES almost 2 years ago
i don't really remember the intricates of the code, but it's possible that we are comparing the nodeconfigId before checking if the run is expired, causing this issue
Updated by François ARMAND almost 2 years ago
- Related to Bug #22371: missing report in change only added
Updated by Vincent MEMBRÉ almost 2 years ago
It was reported previously as #19942
Updated by Vincent MEMBRÉ almost 2 years ago
- Has duplicate Bug #19942: reporting states that node sends out of date reports rather than the node sent reports too long ago added
Updated by Vincent MEMBRÉ almost 2 years ago
- Status changed from New to In progress
- Assignee set to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ almost 2 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/4669
Updated by François ARMAND almost 2 years ago
- Related to deleted (Bug #22371: missing report in change only)
Updated by François ARMAND almost 2 years ago
- Has duplicate Bug #22371: missing report in change only added
Updated by Vincent MEMBRÉ almost 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|1cd0e4e669b191809d63bdb236f420bfb739712a.
Updated by François ARMAND almost 2 years ago
- Has duplicate deleted (Bug #22371: missing report in change only)
Updated by Vincent MEMBRÉ over 1 year ago
- Has duplicate Bug #15907: Changes-only does not behave as expected and lead to missing reports added
Updated by François ARMAND over 1 year ago
- Priority changed from 172 to 171
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 1 year ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.2.5 which was released today.