Bug 1446525 - [regression] Can't search hosts and vms by tags if tag has underscore in its name
Summary: [regression] Can't search hosts and vms by tags if tag has underscore in its ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Search-Backend
Version: 4.1.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.1.3
: ---
Assignee: Eli Mesika
QA Contact: Aleksei Slaikovskii
URL:
Whiteboard:
: 1454990 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-28 09:37 UTC by Aleksei Slaikovskii
Modified: 2017-07-06 14:00 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-07-06 14:00:57 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: blocker+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 77204 0 master MERGED search: fix tags/values with underscore behaviour 2017-05-25 14:26:06 UTC
oVirt gerrit 77484 0 ovirt-engine-4.1 MERGED search: fix tags/values with underscore behaviour 2017-05-29 11:51:03 UTC

Description Aleksei Slaikovskii 2017-04-28 09:37:10 UTC
Description of problem:
Hello!

It's not possible since 4.1.2 to search hosts and vms by tags if a tag has underscore in it's name, f.e. tag_1.

How reproducible:
100%

Steps to Reproduce:
1. Create a tag with underscore in its name
2. Assign the tag to host or vm
3. Search for a tag: https://engine/ovirt-engine/api/vms;case_sensitive=true?search=tag=tag_1

Actual results:
Empty response

Expected results:
Response with found elements.

Comment 1 Oved Ourfali 2017-04-28 17:41:47 UTC
Did it ever work? 
In what version? 
Anyhow, this doesn't seem high severity to me. 
Reducing to medium.

Comment 2 Red Hat Bugzilla Rules Engine 2017-04-28 17:41:56 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 3 Martin Perina 2017-04-29 07:15:21 UTC
We have recently fix BZ1409849, so not sure if only storage domains were affected before or all entities.

Eli, could you please take a look?

Comment 4 Oved Ourfali 2017-04-30 10:17:02 UTC
Once we understand the issue and the fix, we can consider backporting.

Comment 5 Aleksei Slaikovskii 2017-05-02 09:21:16 UTC
(In reply to Oved Ourfali from comment #1)
> Did it ever work? 
> In what version? 
> Anyhow, this doesn't seem high severity to me. 
> Reducing to medium.

It worked until 4.1.2 (e.g. 4.1.1).

Comment 6 Martin Perina 2017-05-24 06:32:08 UTC
*** Bug 1454990 has been marked as a duplicate of this bug. ***

Comment 7 Aleksei Slaikovskii 2017-06-05 10:35:56 UTC
Verified on ovirt-engine-4.2.0-0.0.master.20170604201000.git24e53f5.el7.centos.noarch

Comment 8 Aleksei Slaikovskii 2017-06-08 09:55:14 UTC
Verified on ovirt-engine-4.1.3.1-0.1.el7.noarch


Note You need to log in before you can comment on or make changes to this bug.