Bug 997372

Summary: [fork][origin_ui_58]Can not filter out node which does not belong to any district using "(NONE)" option.
Product: OpenShift Online Reporter: Yujie Zhang <yujzhang>
Component: WebsiteAssignee: Jessica Forrester <jforrest>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: jforrest, xtian
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: 2013-08-29 12:51:32 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:

Description Yujie Zhang 2013-08-15 10:28:59 UTC
Description of problem:

Removed a node from its district, and checking using "oo-stats -l node", it belongs to a "(NONE)" district, the display on admin console is also the same result, but when trying to filter the node using "(NONE)" option, got no result, and the node can be filtered out without choosing any district option.

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

How reproducible:
always

Steps to Reproduce:
1.Remove a c9 node from its district
2.Check on the /admin-console/capacity/profiles/c9 page
3.Click the "1 node" link on the "(NONE)" district line
4.Check the result and choose the "Choose District" option in the filter

Actual results:

The node can not be filtered out using "(NONE)" option, but it can be filtered out using "Choose District"

Expected results:

Since we assumed the node belongs to "(NONE)" district, it should be able to filtered out using "(NONE)" district, so that the result can be consistant.

Additional info:

Comment 1 Jessica Forrester 2013-08-16 13:49:11 UTC
Fixed in fork_ami_origin_ui_69_772.  The (NONE) district should not have been showing up in the list when looking at the districts tab, that has been fixed as well.  When viewing the nodes tab the filter will now always have a dropdown item for "nodes not in a district".

Comment 2 Yujie Zhang 2013-08-19 08:12:12 UTC
Tested on fork_ami_origin_ui_69_772, the item "nodes not in a district" has been added and node which does not belong to any district can be filtered out using that item, so verify this bug, thanks!