complex condition is not working in Vitrage template
Bug #1771305 reported by
Ifat Afek
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_
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.
To post a comment you must log in.
My guess is that the bug has to do with finding the connected component of all parts of the condition