Bug 826493

Summary: Group without members with unknown status appears in every availabilty search result
Product: [JBoss] JBoss Operations Network Reporter: Sunil Kondkar <skondkar>
Component: UIAssignee: Mike Thompson <mithomps>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.1.0CC: jsanda
Target Milestone: ---   
Target Release: JON 3.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: jon3.1.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 845389 (view as bug list) Environment:
Last Closed: 2013-09-11 11:03:26 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:
Bug Depends On: 850229    
Bug Blocks: 845389    
Attachments:
Description Flags
Screenshot none

Description Sunil Kondkar 2012-05-30 11:02:08 UTC
Description of problem:

Created a group of resources and then removed all member resources from the group. when trying the group search criteria for availability=up and others such as availability=disabled and availability=down, the search result display the group without members having unknown status in group list view.

Please refer the attached screenshot.


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

Version: 3.1.0.CR1 Build Number: 4bc4270:1b85993

How reproducible:

Always

Steps to Reproduce:
1. Create a compatible or mixed group of resources

2. Remove all members from the group (Groups Inventory tab->Update membershitp button->Unassign all member resources->Save)

3. Observe the group has unknown status.

4. Navigate to Inventory->Groups->All groups.

5. Enter search criteria as availability=up in search bar and press 'Enter'.

6. The search results display the group with unknown status in group list view.

7. Repeat the search criteria as availability=down, availability=disabled.

8. The search results display the group with unknown status in group list view.
  
Actual results:

The group without members and with unknown status appear in availability search criterias for up, down and disabled.

Expected results:

The group without members and with unknown status should not appear in availability search criterias for up, down and disabled.

Additional info:

Comment 1 Sunil Kondkar 2012-05-30 11:02:38 UTC
Created attachment 587682 [details]
Screenshot

Comment 2 Charles Crouch 2012-06-11 14:51:01 UTC
As per 6/4/12 triage, target for jon311

Comment 3 Mike Thompson 2012-08-08 19:45:22 UTC
jon3.1.1 commit id: 2bf05ba

Eliminated the superfluous empty groups as unknown status in availability searches.

Cherry picked from RHQ Master commit id: 1555257


RHQ BZ: https://bugzilla.redhat.com/show_bug.cgi?id=845389

Comment 4 John Sanda 2012-08-14 02:16:44 UTC
Moving to ON_QA since JON 3.1.1 ER2 build is availble - https://brewweb.devel.redhat.com/buildinfo?buildID=228250

Comment 5 John Sanda 2012-08-20 15:59:39 UTC
Moving back to ON_DEV because of bug 848893 which was introduced as part of the work for this bug.

Comment 6 Mike Thompson 2012-08-20 21:40:49 UTC
jon3.1.x commit id: 30359bc

Talked with jsanda and agreed it should be in here although [BZ 848893] sits on top of this one and corrects additional functionality.

Comment 7 Sunil Kondkar 2012-08-22 07:43:48 UTC
Verified on Version: 3.1.1.ER3 Build Number: 37108ca:67c6de8