Bug 1135678

Summary: AS5 plugin: resources backed by ManagedComponentComponent may stay down indefinitely
Product: [Other] RHQ Project Reporter: Thomas Segismont <tsegismo>
Component: PluginsAssignee: Thomas Segismont <tsegismo>
Status: ON_QA --- QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.10, 4.11, 4.12CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1135679 (view as bug list) 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:
Bug Depends On:    
Bug Blocks: 1135679    

Description Thomas Segismont 2014-08-30 08:54:26 UTC
Description of problem:
Resources backed by ManagedComponentComponent may stay down indefinitely.

Version-Release number of selected component (if applicable):
4.10 -> 4.12

How reproducible:
3/3

Steps to Reproduce:
1.Inventory an EAP5 server
2.Wait a bit so that the admin-console resource gets discovered
3.Open the admin-console resource view

Actual results:
The resource is reported down and will stay down even after the page auto-refresh for avail checking.

Expected results:
The resource is reported up.

Comment 1 Thomas Segismont 2014-08-30 09:13:10 UTC
Fixed in master

commit 595ca3a7b2e2327a2425f5435e210c217a2cb30d
Author: Thomas Segismont <tsegismo>
Date:   Sat Aug 30 11:11:52 2014 +0200
    
Measurement requests or configuration loading may prevent the availability check to determine the ManagedComponent runState.
If the last known runState is null, get the ManagedComponent instance even if it was refreshed recently.