Bug #4364
closedReport state is "unknown" on Root server for "Inventories" component in "Distibute policy"
Description
On a freshly installed Rudder 2.9 server, I see "Unknown" status for the "Send inventories to CMDB" component of distributePolicy. There are two reports for one component:
No inventory to relay No inventory to send
As it turns out, all reports in that bundle are based on result classes from promises that are protected by prefixed class expressions to only run on relay servers or the root server. However, these two reports use negated classes:
!rudder_inventory_processing_repaired.!rudder_inventory_processing_error:: "@@DistributePolicy@@result_success@@&TRACKINGKEY&@@Send inventories to CMDB@@None@@${g.execRun}##${g.uuid}@#No inventory to send"; !rudder_inventory_relay_repaired.!rudder_inventory_relay_error:: "@@DistributePolicy@@result_success@@&TRACKINGKEY&@@Send inventories to CMDB@@None@@${g.execRun}##${g.uuid}@#No inventory to relay";
So they actually match all the time, unless there are errors!
Easy fix, coming very soon.
Updated by Jonathan CLARKE almost 11 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Jonathan CLARKE to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/269
PR available: https://github.com/Normation/rudder-techniques/pull/269
Updated by Jonathan CLARKE almost 11 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset policy-templates:commit:5b6dd4fc0acf59483e8cc9bfe3c64b8e18d779d9.
Updated by Nicolas CHARLES almost 11 years ago
Applied in changeset policy-templates:commit:c2744efc7d8ecbf3acdfee1599cec49874f0577e.
Updated by Vincent MEMBRÉ almost 11 years ago
- Subject changed from distributePolicy: "unknown" report for "No inventory to relay" to Report state is "unknown" on Root server for "Inventories" component in "Distibute policy"
Updated by Vincent MEMBRÉ almost 11 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.8.2, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-January/000072.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog28
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/