Bug 1492696

Summary: Search doesn't work for template type
Product: Red Hat Satellite Reporter: Oleksandr Shtaier <oshtaier>
Component: Audit LogAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bbuckingham, ehelms, inecas, nkathole, oshtaier
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 17:09:04 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:
Embargoed:
Attachments:
Description Flags
full list
none
search results
none
screenshot of UI searching for partition_table and templates
none
screenshot of UI seraching type = templates none

Description Oleksandr Shtaier 2017-09-18 13:39:16 UTC
Description of problem:
Search for 'type = template' return nothing when audit logs has corresponding entries for full entities list

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

How reproducible:
Always

Steps to Reproduce:
1. Create new provisioning template
2. Search for that template by its type no matter in WebUI or using API
3.

Actual results:
No results returned

Expected results:
All created templates should be returned

Additional info:
Can be related https://bugzilla.redhat.com/show_bug.cgi?id=1492668

Comment 1 Oleksandr Shtaier 2017-09-18 13:41:56 UTC
Created attachment 1327452 [details]
full list

Comment 2 Oleksandr Shtaier 2017-09-18 13:42:19 UTC
Created attachment 1327453 [details]
search results

Comment 9 Ivan Necas 2017-09-22 15:44:23 UTC
The fix for http://projects.theforeman.org/issues/20708 also changes the way the search is provided, after that is shipped, it will be possible to search by "partition_table = aaa" or "provisioning_template = bbb". Turning to "modified" as https://bugzilla.redhat.com/show_bug.cgi?id=1492668 is modified as well.

Comment 10 Nikhil Kathole 2017-10-09 14:32:23 UTC
VERIFIED

Version Tested:
Satellite-6.3 Snap 19

steps:
1. Created new provisioning template and partition table
2. Search for type = template

Successfully searched for provisioning templates, partition_table = <table name> and provisioning_template = <template name>.(see attachment)

Comment 11 Nikhil Kathole 2017-10-09 14:33:23 UTC
Created attachment 1336432 [details]
screenshot of UI searching for partition_table and templates

Comment 12 Nikhil Kathole 2017-10-09 14:33:56 UTC
Created attachment 1336433 [details]
screenshot of UI seraching type = templates

Comment 13 Bryan Kearney 2018-02-21 17:09:04 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336