After looking at the event queue in Kafka, a first explanation is that the alarm-definition-update messages are invalid. Instead of the actual metric dimensions, a single element dimension set {'uname': 'notification'} is reported in the metricDefinition.
It seems like a typo in the unit-test caused an implementation error here. Check the attached subalarm-upd-patch.txt.
Now the message on the bus is at least correct and a few error entries disappear from thresholder logs. Still it does not yield the effect. No alarm state change.
After looking at the event queue in Kafka, a first explanation is that the alarm-definitio n-update messages are invalid. Instead of the actual metric dimensions, a single element dimension set {'uname': 'notification'} is reported in the metricDefinition.
It seems like a typo in the unit-test caused an implementation error here. Check the attached subalarm- upd-patch. txt.
Now the message on the bus is at least correct and a few error entries disappear from thresholder logs. Still it does not yield the effect. No alarm state change.