Project

General

Profile

Bug #4364

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

Added by Jonathan CLARKE over 6 years ago. Updated over 6 years ago.

Status:
Released
Priority:
3
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

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.

#1

Updated by Jonathan CLARKE over 6 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
#2

Updated by Jonathan CLARKE over 6 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset policy-templates:commit:5b6dd4fc0acf59483e8cc9bfe3c64b8e18d779d9.

#3

Updated by Nicolas CHARLES over 6 years ago

Applied in changeset policy-templates:commit:c2744efc7d8ecbf3acdfee1599cec49874f0577e.

#4

Updated by Vincent MEMBRÉ over 6 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"
#5

Updated by Vincent MEMBRÉ over 6 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:

Also available in: Atom PDF