Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1492696 - Search doesn't work for template type
Summary: Search doesn't work for template type
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Audit Log
Version: 6.3.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-18 13:39 UTC by Oleksandr Shtaier
Modified: 2019-04-01 20:26 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 17:09:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
full list (35.87 KB, image/png)
2017-09-18 13:41 UTC, Oleksandr Shtaier
no flags Details
search results (8.33 KB, image/png)
2017-09-18 13:42 UTC, Oleksandr Shtaier
no flags Details
screenshot of UI searching for partition_table and templates (79.46 KB, image/png)
2017-10-09 14:33 UTC, Nikhil Kathole
no flags Details
screenshot of UI seraching type = templates (94.95 KB, image/png)
2017-10-09 14:33 UTC, Nikhil Kathole
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20708 0 None None None 2017-09-22 15:44:23 UTC
Red Hat Bugzilla 1426742 0 high CLOSED Cannot query most auditable_types in API 2021-06-10 11:58:50 UTC
Red Hat Bugzilla 1492668 0 unspecified CLOSED Incorrect audit type for partition tables 2021-02-22 00:41:40 UTC

Internal Links: 1426742 1492668

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


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