Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1365773

Summary: search in hosts list
Product: Red Hat Storage Console Reporter: Martin Kudlej <mkudlej>
Component: UIAssignee: sankarshan <sankarshan>
Status: CLOSED WONTFIX QA Contact: sds-qe-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2CC: nthomas, sankarshan
Target Milestone: ---   
Target Release: 3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-23 04:02:54 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:

Description Martin Kudlej 2016-08-10 08:13:23 UTC
Description of problem:
Cite from documentation:
"The Hosts can be filtered by the host name and the host type. To filter host names, enter the name of the host in the Search field at the right hand side of the hosts view interface. "

I've tried to search hosts by type and input "Monitor" into search and it found nothing. I should use just "mon" to se proper result. Similar it is with OSDs. If I put into search OSD it works if I use whole type label "OSD Host" it does not work.

Also I've tried to filter hosts according part of names. There are hosts with "0" in name:
1) 0 - correct result
2) 00 - incorrect result, for example there is "gqac010.sbu.lab.eng.bos.redhat.com" in result
3) 005 - result is different than in 2) but still there is "gqas010.sbu.lab.eng.bos.redhat.com"

Version-Release number of selected component (if applicable):
ceph-ansible-1.0.5-32.el7scon.noarch
ceph-installer-1.0.14-1.el7scon.noarch
rhscon-ceph-0.0.40-1.el7scon.x86_64
rhscon-core-0.0.41-1.el7scon.x86_64
rhscon-core-selinux-0.0.41-1.el7scon.noarch
rhscon-ui-0.0.52-1.el7scon.noarch
salt-2015.5.5-1.el7.noarch
salt-master-2015.5.5-1.el7.noarch
salt-selinux-0.0.41-1.el7scon.noarch

How reproducible:
100%


Expected results:
Search result will be correct no matter which substring from hostnames is used and it can be filtered by substring of node types.