Bug 688397

Summary: availability icons in resource tree and resource header are not refreshed when resource avail changes even when switching tabs or switching between nodes in tree
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: Core UIAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 4.0.0.B02CC: hrupp, jshaughn, mazz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
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: 688401    
Bug Blocks: 637783, 678340    

Description Ian Springer 2011-03-16 23:08:24 UTC
I was viewing in the GUI a JBossAS Server resource that was down. It correctly showed the red down icon in both the resource tree and the resource header. I then brought the AS Server back up and ran the 'avail' Agent prompt command to change the corresponding resource's avail to up. I switched tabs in the GUI, but neither of the avail icons changed to the green up icon. I then switched to a different node in the resource tree. At that point, the header icon changed to green, but the tree icon remained red. In order to get the tree icon to change, I had to go to some other page in the GUI (e.g. Inventory or Administration) and then go back to the resource (to get the tree to fully reload).

I think we should periodically (perhaps every 60 seconds) refresh the avail of the current resource, and maybe even all resources that are visible in the tree,  and update the corresponding avail icons in both the tree and the header. We should also consider refreshing the current resource's avail if the user switches tabs.

Comment 1 John Mazzitelli 2011-03-24 18:36:58 UTC
this is essentially the same general problem as bug #688401 (with the additional issue of the icon in the header)

Comment 2 Jay Shaughnessy 2012-02-28 20:40:46 UTC
The tree supports Right Click refresh of nodes. Not the same thing but
something...

Comment 3 Jay Shaughnessy 2012-04-02 22:04:06 UTC
The context menu refresh has been enhanced.