Bug 895686 - [RFE] Generate a partition event when server goes down
[RFE] Generate a partition event when server goes down
Status: NEW
Product: RHQ Project
Classification: Other
Component: Core Server, High Availability (Show other bugs)
4.5
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-15 14:14 EST by Jirka Kremser
Modified: 2013-01-15 14:14 EST (History)
1 user (show)

See Also:
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:


Attachments (Terms of Use)

  None (edit)
Description Jirka Kremser 2013-01-15 14:14:53 EST
Description of problem:
When RHQ server is starting the partition event of type OPERATION_MODE_CHANGE (DOWN -> NORMAL) is invoked. However, there is no dual event generated, when server goes down, so if user displays all partition events it is quite counterintuitive, because there is a lot of DOWN -> NORMAL events and no NORMAL -> DOWN event.

Method TopologyManagerBean.updateServerMode() or even better ServerManagerBean.establishCurrentServerMode() should be called in some AS shutwdown hook or registered an MBean implementing the StartupServiceMBean.stopService() could do the work. 

Version-Release number of selected component (if applicable):
4.6.0-SNAPSHOT

How reproducible:
always

Note You need to log in before you can comment on or make changes to this bug.