Red Hat Bugzilla – Bug 640224
On click of 'Topology->Agents' RHQ not showing agent UI
Last modified: 2010-10-29 05:40:45 EDT
Created attachment 451622 [details]
Description of problem:
On click of Topology -> Agents RHQ not showing agent UI.
Observed same behavior for 'Topology->Affinity Groups', 'Topology->Partition Events'
RHEL - 5.5
FF - 3.0.19
Note: UI page render proper if use Ctrl + F5
Version-Release number of selected component (if applicable):
RHQ-Master build #369
Steps to Reproduce:
1) Install RHQ server and agent
2) Log-in to RHQ
3) Go to Administrator
4) Click on 'Topology -> Agents'
On click of Topology -> Agents RHQ not showing agent UI
On click of 'Topology -> Agents' rhq should render agent UI.
Please refer attached screenshot and server log
Created attachment 451623 [details]
Observed the same issue in 'Configuration' tab of resources like 'RHQ Agent', 'Apache Http Server', 'Postgres Server' and 'Postfix Server'.
Pressing Ctrl + F5 renders the resource configuration page.
Observed the same issue in 'History' subtab of resource config. After editing and saving a config value if a user navigates to 'History' subtab to view the config update job, it is not displayed on the 'History' subtab. Clicking on the 'refresh' button or pressing ctrl+F5 displays the related config job.
Fix commit c9f36c62440ceb4141098b8587327f8ae1149572
The problem with the Admin pages should be fixed now. There were two problems. In certain cases the selected node was simply not generating the IFrame due to some naming mismatches resulting, I think, from when we eliminated spaces from view ids. But, more interestingly, it seems that when adding a FullHTMLPane/IFrame canvas as a child, it can actually result in a dependent (filter) canvas being added as a child as well. This messed up some "destroy" logic we had in place, so visiting subsequent IFrames became a problem.
I did not actually see this problem in the Resource Configuration area (or any of the tabbed views, actually). I could not reproduce that portion of the Bug.
The problem was also present in the report pages.
Verified on RHQ-Master build #526
1) On click of 'Topology -> Agents' rhq shows agent UI.
2) 'Configuration' and 'Configuration->History' UI of 'RHQ Agent', 'Apache Http Server', 'Postgres Server','Postfix Server', etc render without click on 'Refresh' or ctrl+F5.