Project

General

Profile

Actions

Bug #4364

closed

Report state is "unknown" on Root server for "Inventories" component in "Distibute policy"

Added by Jonathan CLARKE almost 11 years ago. Updated almost 11 years ago.

Status:
Released
Priority:
3
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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.

Actions #1

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
Actions #2

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.

Actions #3

Updated by Nicolas CHARLES almost 11 years ago

Applied in changeset policy-templates:commit:c2744efc7d8ecbf3acdfee1599cec49874f0577e.

Actions #4

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"
Actions #5

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:

Actions

Also available in: Atom PDF