Bug 885664

Summary: OpenSSHD availability check may report stale data
Product: [Other] RHQ Project Reporter: Thomas Segismont <tsegismo>
Component: PluginsAssignee: Thomas Segismont <tsegismo>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.5CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-03 14:43:04 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:

Description Thomas Segismont 2012-12-10 11:11:24 UTC
Description of problem:
When monitoring OpenSSHD, status update may be wrong for an arbitrary number of availability checks.

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

How reproducible:


Steps to Reproduce:
1.Start OpenSSHD on an monitored machine
2.When OpenSSHD availability status is "UP", close/kill OpenSSHD
  
Actual results:
The availability status is still "UP" for a time longer than the availability check interval.

Expected results:
The availability status should be "DOWN" as soon as the availability check interval has elapsed.

Additional info:
Same problem as in bug 879583 [1]

[1] https://bugzilla.redhat.com/show_bug.cgi?id=879583

Comment 1 Thomas Segismont 2012-12-10 21:09:57 UTC
Made a fix on branch bug/885664

Comment 2 Thomas Segismont 2013-01-04 18:09:29 UTC
Also affects MySQL

Comment 3 Thomas Segismont 2013-01-24 17:00:37 UTC
Does not affect MySQL avail check actually

Comment 4 Thomas Segismont 2013-01-24 17:01:34 UTC
Fixed in master 3ded44d

Comment 5 Thomas Segismont 2013-02-05 14:30:22 UTC
Additional commit in master 187c484

The first commit introduced a refresh interval guard in ProcessInfo which is no longer needed.

Comment 6 Heiko W. Rupp 2013-09-03 14:43:04 UTC
Bulk closing of issues in old RHQ releases that are in production for a while now.

Please open a new issue when running into an issue.