Bug 1454990

Summary: search of tags with _underscore_ returns no results
Product: [oVirt] ovirt-engine Reporter: Emilio <ehdeec>
Component: Search-BackendAssignee: Eli Mesika <emesika>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.2.2CC: bugs, mperina
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-24 06:32:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Emilio 2017-05-24 00:34:54 UTC
Description of problem:
Filter or search queries done either using the API or webUI for tags with underscores returns no results. This was working fine in 4.1.1*

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


How reproducible:
both my Test and prod environments are showing the same behavior.

Steps to Reproduce:
1. create a tag... "my_awesome_tag_with_UNDERSCORES"
2. tag a VM with my_awesome_tag_with_UNDERSCORES
3. apply a search filter for that tag in the web UI or search with REST API
4. no results

Actual results:
nothing found with web ui. The api returns just the <vm> header

Expected results:
list of vms with tag applied

Additional info:
I first saw this after upgrading from 4.1.1.x to 4.1.2.2-1. 
Hopefully this is the correct team but please reclassify it if not. Its not urgent but very annoying as we have scripted lots of functionality and most of our tags have underscores....

Comment 1 Martin Perina 2017-05-24 06:32:08 UTC

*** This bug has been marked as a duplicate of bug 1446525 ***