Actions
Bug #7743
closedCompliance take into account expired run
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Compliance & node report
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
On a Rudder node that wasn't up since several month (but was running good at that time), we are getting full success compliance. If we are adding new nodes, system rules for the down node switch to pending, and then, in place of going to "no reports", go back to success.
The associated logs are:
[2016-01-08 13:51:01] DEBUG com.normation.rudder.services.nodes.NodeInfoServiceCachedImpl - NodeInfo cache is up to date, last modification time: '2016-01-08T13:31:57.000Z' [2016-01-08 13:51:01] DEBUG explain_compliance.BB77117E-1DD1-4BC0-BEAD-5726E444B69E - Node run configuration: [BB77117E-1DD1-4BC0-BEAD-5726E444B69E:full-compliance, run interval: 5 min] [2016-01-08 13:51:01] TRACE explain_compliance.BB77117E-1DD1-4BC0-BEAD-5726E444B69E - Computing compliance for node BB77117E-1DD1-4BC0-BEAD-5726E444B69E with: [Pending: until 2015-10-15T12:11:53.175Z expected NodeConfigId: -1980813546/[20 16-01-08T13:45:42.635Z-now] | last run: nodeConfigId: -1608019925/[2015-09-05T21:07:57.859Z-2015-10-15T12:01:53.175Z] received at 2015-09-05T21:31:08.000Z] [2016-01-08 13:51:01] TRACE explain_compliance.BB77117E-1DD1-4BC0-BEAD-5726E444B69E - Node is Pending with reports from previous run, using merge/compare strategy between last reports from run -1608019925/[2015-09-05T21:07:57.859Z-2015-10-15T12:01:53.175Z] and expect reports -1980813546/[2016-01-08T13:45:42.635Z-now] [2016-01-08 13:51:01] TRACE explain_compliance.BB77117E-1DD1-4BC0-BEAD-5726E444B69E - Compute compliance for node BB77117E-1DD1-4BC0-BEAD-5726E444B69E using: rules for which compliance is based on run reports: [5838ed25-50da-43a8-8519-7ae4af617527->0]; rule updated since run: [hasPolicyServer-root->12][inventory-all->12][32377fd7-02fd-43d0-aab7-28460a91347b->2] [2016-01-08 13:51:01] DEBUG com.normation.rudder.services.reports.CachedReportingServiceImpl - Compliance cache miss (invalid version):[], cache miss (updated):[BB77117E-1DD1-4BC0-BEAD-5726E444B69E], hit:[] [2016-01-08 13:51:01] DEBUG com.normation.rudder.services.nodes.NodeInfoServiceCachedImpl - NodeInfo cache is up to date, last modification time: '2016-01-08T13:31:57.000Z' [2016-01-08 13:51:01] DEBUG report - [Store Agent Run Times] Task #2800: Starting analysis for run times from 2016/01/08 13:50:56 up to 2016/01/08 13:51:01 (runs after SQL table ID 8760)
It may be the same root cause for #7336, because the agent wasn't sending reports from some time.
Updated by François ARMAND almost 9 years ago
- Related to Bug #7336: Node stuck in "Applying" status added
Updated by François ARMAND almost 9 years 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/1020
Updated by François ARMAND almost 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder|7bdb8c9971bca32d638e76c36b88b2fcd8378898.
Updated by Vincent MEMBRÉ almost 9 years ago
- Status changed from Pending release to Released
Updated by Nicolas CHARLES over 8 years ago
- Related to Bug #8051: Compliance is not correctly computed if we receive run agent right after generation added
Actions