complex condition is not working in Vitrage template

Bug #1771305 reported by Ifat Afek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Vitrage
New
Medium
Unassigned

Bug Description

Some complex conditions are not working in Vitrage templates.

Example:

 - scenario:
    condition: alarm_on_eno3 and eno3_attached_to_bridge and alarm_on_eno4 and eno4_attached_to_bridge

This condition describes a sub-graph where both eno3 and eno4 are attached to the bridge, and there are alarms on both of them. However, the condition evaluates to false even when all items are true.
If either alarm_on_eno3 or alarm_on_eno4 is removed from the condition - the condition evaluates to true.

Expected behavior: the condition should evaluate to true if all of its parts are true.

Revision history for this message
Ifat Afek (ifat-afek) wrote :

My guess is that the bug has to do with finding the connected component of all parts of the condition

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.