Description of problem: Can't create compat group for RHQ Agent. RHQ Agent doesn't appear in the list of resources Version-Release number of selected component (if applicable): build #587 How reproducible: 100% Steps to Reproduce: 1. inventory RHQ Agent 2. verify it is inventoried by viewing Inventory-->Serves 3. now create a new compat group 4. observe that RHQ Agent is not listed as a resource Actual results: RHQ Agent is not listed as a resource when creating a new compat group Expected results: RHQ Agent is listed as a resource Additional info:
(4:22:29 PM) ccrouch: #747678 Can't create compat group for RHQ Agent (4:22:29 PM) ccrouch: #747677 Compat group-->Inventory-->Members ...shows all resources (4:22:29 PM) ccrouch: mazz, ips: any thoughts on ^ (4:22:54 PM) mazz: 747677 is what I reported earlier - ips checked something in for that. (4:23:12 PM) mazz: I don't know about 678. sounds like more table problems
(5:19:51 PM) ips: ok, so 747678 is actually just because the listgrid is using paging. so it only shows a max of 50 resources (5:21:02 PM) ips: as has been brought up recently, AbstractSelector is designed so that all the available records must be loaded client-side (5:21:41 PM) ips: so do we want to limit the # it loads to eg - 1000, or load all resources in inventory (5:22:06 PM) ips: i think we should set some sort of limit. loading 30000 resources could crash the browser session (5:22:25 PM) ips: or consume a ton of ram (5:22:36 PM) ips: not to mention how long it would take to load (5:24:03 PM) ips: i will limit to 1000 for now and display a warning msg if all resources could not be loaded, suggesting that the user specify filters to find the resources they want to add (5:24:24 PM) ips: the other option would be to not load any resources until they specify one or more filters (5:24:39 PM) ips: but even then we'd still want to limit the page size (5:24:56 PM) ips: we can discuss the best way to deal with this after status tomorrow (5:25:19 PM) ccrouch: ips: sounds good (5:26:26 PM) ccrouch: 747678 is more of an issue than the case of creating a huge group (5:26:46 PM) ccrouch: because this is an attempt to just create a single member group
Our selector widget does not page the items listed on the left hand side and therefore the number of items listed is truncated to the page size. Paging is not done, because it would make it very difficult to provide the move-all-to-right button. The group create/update wizards are really not intended for creating/updating large groups; group definitions are better suited to creating/updating large groups. [master 2a1a665] (http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=2a1a665) increases the max number of Resources loaded on the left side from 50 to 100, and if there are more than 100 total Resources in the DB, a warning message is now displayed informing the user that not all Resources are listed and that they should specify one or more filters to find the Resources in which they are interested.
[15:56:47] <ips> pilhuhn, ccrouch - i think https://bugzilla.redhat.com/show_bug.cgi?id=747678 can be changed to ON_QA. if we decide to make further tweaks to our selector widget for jon 3.0, we can open new BZs
Steps for QA ============ 1) go to one of the group list views, and click on New button to create a new group 2) on step 2 of the group create wizard, you should only see 100 Resources, rather than all inventoried Resources, listed on the left side of the Resource selector. you should also see a message displayed that is similar to the following: Note: Only 100 out of 2846 available Resources are listed - please specify more specific filters below to find the Resources for which you are looking. 3) Enter one or more filters (name, category, type, etc.) to narrow the Resources listed on the left. 4) Once you've narrowed it down to 100 or less Resources that match the filters, the message should go away.
ips: i don;t see the message that you have defined in step #2. i will retest tomorrow ... as i am not absolutely positive i have picked up this change in the build i downloaded and installed today.
Verified on build#678 (Version: 4.3.0-SNAPSHOT Build Number: 5fff4e7) The group create wizard displays only 100 resources and a message below: "Only 100 out of 1155 available resources are listed - please specify more specific filters below to find the resource for which you are looking." The above message goes away when selecting the search filters so that the resource list narrows down. Also verified removing the filters which again displays the message.
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE
marking VERIFIED BZs to CLOSED/CURRENTRELEASE