Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1135679

Summary: Resources backed by ManagedComponentComponent may stay down indefinitely
Product: [JBoss] JBoss Operations Network Reporter: Thomas Segismont <tsegismo>
Component: Plugin -- JBoss EAP 5Assignee: Thomas Segismont <tsegismo>
Status: CLOSED CURRENTRELEASE QA Contact: Sunil Kondkar <skondkar>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: hrupp, mfoley, miburman, skondkar
Target Milestone: ER02   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1135678 Environment:
Last Closed: 2014-12-11 14:01:37 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: 1135678    
Bug Blocks:    

Description Thomas Segismont 2014-08-30 09:15:43 UTC
+++ This bug was initially created as a clone of Bug #1135678 +++

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.

--- Additional comment from Thomas Segismont on 2014-08-30 11:13:10 CEST ---

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.

Comment 1 Michael Burman 2014-09-01 08:40:25 UTC
Cherry-picked to release/jon3.3.x

commit dd789424650f8b588d9540e5de2ba6eaa1ee9dc1
Author: Thomas Segismont <tsegismo>
Date:   Sat Aug 30 11:11:52 2014 +0200

    Bug 1135678 - AS5 plugin: resources backed by ManagedComponentComponent may stay down indefinitely
    
    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.
    
    (cherry picked from commit 595ca3a7b2e2327a2425f5435e210c217a2cb30d)

Comment 2 Simeon Pinder 2014-09-03 20:31:51 UTC
Moving to ON_QA as available for test with the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=381194

Comment 3 Sunil Kondkar 2014-09-10 10:56:57 UTC
Verified on version : 3.3.0.ER02 Build Number :4fbb183:7da54e2

Verified that the EAP5 admin-console resource is reported up.