Bug 1007979

Summary: Recovery alert is lost across JON server restart
Product: [JBoss] JBoss Operations Network Reporter: Larry O'Leary <loleary>
Component: Monitoring - AlertsAssignee: Lukas Krejci <lkrejci>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: lkrejci, skondkar
Target Milestone: ER07   
Target Release: JON 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Larry O'Leary 2013-09-13 16:32:35 UTC
Description of problem:
If an alert is disabled by an alert condition and the JBoss ON server is restarted prior to the recovery alert that is to re-enabled the disabled alert being fired, the recovery alert will never get fired.

The result is that the original alert remains disabled until the user manually re-enables it.

Version-Release number of selected component (if applicable):
4.9.0-SNAPSHOT Build Number=[1882507]

How reproducible:
Always

Steps to Reproduce:
1. Add a "goes down" alert with recovery disabled set
2. Add a "goes up" alert with recovery of alert created in previous step
3. Shutdown the resource that the "goes down" alert is set on
4. Verify "goes down" alert was triggered and is now disabled
5. Restart the JBoss ON server
6. Start the resource that the "goes up" alert is set on

Actual results:
"goes down" alert is never recovered and re-enabled.

Expected results:
"goes up" alert should recover "goes down" alert if condition is true when server comes back up or becomes true after server comes back up and "goes down" alert should be enabled.

Comment 1 Lukas Krejci 2013-11-20 16:16:29 UTC
Couldn't reproduce in release branch post ER6 and pre ER7.

Comment 2 Sunil Kondkar 2013-12-02 15:02:31 UTC
Verified on version : 3.2.0.ER7 Build Number : e8e6401:ff0061d

Followed the steps and verified that "goes down" alert is re-enabled.