Project

General

Profile

Actions

Bug #4364

closed

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

Added by Jonathan CLARKE about 10 years ago. Updated about 10 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

Also available in: Atom PDF