Created attachment 793077 [details] anything.goes Description of problem: [rhevm] Webadmin - Events - Search box with value "Events: Templates.os =anything" doesnt filter the events (Shows all events) Version-Release number of selected component (if applicable): 3.3/is12 rhevm-3.3.0-0.18.master.el6ev.noarch How reproducible: always Steps to Reproduce: 1.Select Events Tab 2.In Search Box type - Events: Templates.os=anything Actual results: Search doesnt filter any messages/events Expected results: Should display only Templates.os=anything Additional info: pic
This issue with .os: is general, not only Events: Another example: Vms:os !=R* shows all (where some VMs have "Red hat" .... os name) and Vms:os =R* shows None nother example: Doesnt work for Blank Template which its "Other OS" -- Vms: Templates.os =O*_
before latest changes os types (os repository), os search was not free text, but selecting from a list of supported values. i guess this should be the behavior.
FailedQA in rhevm-3.3.0-0.32.beta1.el6ev.noarch (is22). The search engine now correctly filters events in the case a non-existing VM/template OS type is given (for example "Events: Templates.os=anything"), no events are shown. However, I found inconsistency in searching VMs/templates/events according to OS type values offered by the auto-completer: * query "Vms: os = rhel_5x64" returns only VMs with RHEL5 32b OS type, VMs with RHEL5x64 are ignored * queries "Vms: os = windows_2008" and "Vms: os = windows_2008x64" return only VMs with OS "Windows 2008", VMs with OS "Windows 2008 x64" are ignored; the same for Windows 2003 and Windows 7 (but not Windows 8) * VM with "Other OS" can be found via two different OS types in the query - "Vms: os = other" or "Vms: os = other_linux" * "Linux" OS type is missing the opposite parameter in the search query (there is no "Vms: os = linux"; or maybe it should match to "other_linux"?)
FailedQA in rhevm-3.3.0-0.35.beta1.el6ev.noarch (is24). Defects in searching from comment 4 are fixed, however one search query still doesn't work. For VM OS type "Windows 2008 R2 x64" the query "Vms: os = windows_2008R2x64" returns nothing (the same applies for templates and events). Searching according to all other OS types works correctly.
Verified in rhevm-3.3.0-0.37.beta1.el6ev.noarch (is25). Searching VMs according their OS types works correctly. Verified with Linux, Other OS, RHEL, SUSE, Ubuntu and Windows VMs. Per comment 5 - searching a Windows 2008 R2 x64 VM works also well.
Closing - RHEV 3.3 Released