Bug 1009902

Summary: If user is on a child resource node in the resource tree, the availabilty change does not reflect on parent and other child resource nodes
Product: [JBoss] JBoss Operations Network Reporter: Sunil Kondkar <skondkar>
Component: UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: hrupp, myarboro
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-20 14:12:52 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:
Attachments:
Description Flags
Screenshot none

Description Sunil Kondkar 2013-09-19 13:17:31 UTC
Description of problem:

If user is on a child resource node in resource tree and the availabilty of the resource is changed manually, it updates the availabilty of the selected child node only. 
The availability of parent resource and other child resources in the tree ( availabilty icon ) does not change.

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

Version: 3.2.0.ER1
Build Number: 54dd29c:464a643

Database: Postgres 8.3.8
Browser: Firefox 10.0.2


How reproducible:

Always

Steps to Reproduce:

1. Navigate to a child resource node in the resource tree.
( Ex: Apache virtual host resource )
2. Note the status of the selected child resource.
3. Change the status of the resource manually.
( Ex: stop the apache httpd service )
4. Observe the availabilty icons of parent and other child resource nodes in the resource tree.

Actual results:

The selected child resource node displays availabilty as down with the red icon however the availabilty icon for the parent resource ( Apache httpd server ) and other child nodes (other apache virtual hosts) in the resource tree does not change to down.

Please refer the attached screenshot.

Expected results:

The availabilty icon for the parent and child resources in the resource tree should get updated correctly.

Additional info:

If user is on parent resource node, the availabilty of parent and all child resource nodes in the tree gets updated correctly after manual status change.

Comment 1 Sunil Kondkar 2013-09-19 13:22:04 UTC
Created attachment 799946 [details]
Screenshot

Comment 3 Heiko W. Rupp 2013-09-20 07:34:49 UTC
I am not sure if that is an error. 
If you driving with your car and the dashboard light breaks, you also don't want to see the whole car as broken.

That PM-403 thingy is explicitly done to get actual ("near time") availability of the resource that you display the detail page for. All other resources are treated as before.

To me this is "works as designed"