Bug 1028636
| Summary: | Alerts get triggered even when dampening rules have not been satisfied due to missing InactiveAlertConditionMessage | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Lukas Krejci <lkrejci> |
| Component: | Alerts | Assignee: | Lukas Krejci <lkrejci> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.10 | CC: | hrupp, lkrejci, loleary |
| Target Milestone: | GA | ||
| Target Release: | RHQ 4.10 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1025491 | Environment: | |
| Last Closed: | 2014-04-23 12:30:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1025491 | ||
| Bug Blocks: | |||
|
Description
Lukas Krejci
2013-11-08 23:03:37 UTC
commit e3a41e4a8ce892a3e314db7991223f668f00fe2e
Author: Lukas Krejci <lkrejci>
Date: Sat Nov 9 00:06:31 2013 +0100
[BZ 1028636] Dampening broken by agent alert condition cache reloads
Reloading the cache lost the "activity" state of conditions. This caused
dampening to never receive inactivity messages and thus misbehave.
Changing the cache elements to default to "active" state solves this at the
cost of sending 1 redundant inactivity message after a cache reload. This
is harmless and has no effect on the dampening resolution.
The actual implementation changes the activity boolean to a tristate enum
of UNKNOWN, ACTIVE and INACTIVE, where UNKNOWN and ACTIVE have the same
semantics but are logically disticnt.
Bulk closing of 4.10 issues. If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10. |