Red Hat Bugzilla – Bug 997372
[fork][origin_ui_58]Can not filter out node which does not belong to any district using "(NONE)" option.
Last modified: 2015-05-14 21:29:50 EDT
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):
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
The node can not be filtered out using "(NONE)" option, but it can be filtered out using "Choose District"
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.
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".
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!