Bug 1295864
| Summary: | The number of resources in All Groups/Compatible Groups page is not correct all the time | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | bkramer <bkramer> | ||||||
| Component: | Core UI | Assignee: | Nobody <nobody> | ||||||
| Status: | NEW --- | QA Contact: | |||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 4.12 | CC: | hrupp | ||||||
| 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: | 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: | |||||||||
| Bug Blocks: | 1295863 | ||||||||
| Attachments: |
|
||||||||
Created attachment 1111907 [details]
attached screen shots
Created attachment 1111908 [details]
DynaGroup_-_Server_Type__RHQ_Storage_Node_.png
Additionally, see attached DynaGroup_-_Server_Type__RHQ_Storage_Node_.png - it shows 3 child resources and I only have one storage node. Interesting, when I press "Refresh" button, for a few milliseconds I can see 1 child resource but then it changes to 3. :-( |
Description of problem: In RHQ environment with big number of resources, then number of child and/or descendent resources is not correct all the time. Version-Release number of selected component (if applicable): RHQ 4.12 How reproducible: Always - for big number of imported resources and big number of groups; Steps to Reproduce: 1. Install RHQ 4.12 and at least 3 agents; 2. Import big number of resources (I used rhq-perftest-plugin-4.9.0.jar - so in my case I started all agents with "./rhq-agent.sh -Drhq.perftest.scenario=configurable-1 -Drhq.perftest.server-a-count=200 -Drhq.perftest.service-a-count=100" ); 3. Create two dynagroups: 3.1.) name: Server Type description: Group by Server Type expression: resource.type.category = SERVER groupby resource.type.name recursive: yes calculate: 5 minutes 3.2.) name: Server Name description: Group by Server Name expression: resource.type.category = SERVER groupby resource.name recursive: yes calculate: 5 minutes 4. Navigate to All Groups page and check the content of the page. Actual results: Attached screen shots that show the issue. Initially, as servers and services were not discovered at the same time, the numbers of servers/services were different. But, after few calculations of dynagroups, the page All Groups was as in incorrectNoResources_1.png (see attached images). In this screen shot, most of the dynagroups show correct number of children (3) and descendants (303) - except for server-a-152 which for some reason shows 3 available and 1 unknown in the children column (this cannot be true). Then - IncorrectNoResources_2.png shows the same server-a-152 server but also server-a-94 with only 1 unknown child resource and 303 descendants (and it should be 3 available child resources - as seen in IncorrectNoResources_6.png). When "Refresh" button is pressed for the first time (see IncorrectNoResources_3.png) server-a-115 showed 600 children and 303 descendants (the first number is clearly wrong), and then IncorrectNoResources_4.png after next refresh button where server-a-115 shows 3 child and 303 descendants. Also, in the same IncorrectNoResources_4.png see the numbers for server-a-161 - they look correct - 3 child and 303 descendants. After Refresh button is pressed again I got the situation as in IncorrectNoResources_5.png where the number of resources for server-a-115 is correct but for server-a-161 not (as now this server shows 600 child resources and 303 descendants). Expected results: Every dynagroup/compatible group in All Groups/Compatible Groups page shows correct number of child/descendants resources. Additional info: It may happen that this is caused with work done on Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1244941.