Bug 1135679 - Resources backed by ManagedComponentComponent may stay down indefinitely
Summary: Resources backed by ManagedComponentComponent may stay down indefinitely
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 5
Version: JON 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER02
: JON 3.3.0
Assignee: Thomas Segismont
QA Contact: Sunil Kondkar
URL:
Whiteboard:
Depends On: 1135678
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-30 09:15 UTC by Thomas Segismont
Modified: 2014-12-11 14:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1135678
Environment:
Last Closed: 2014-12-11 14:01:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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