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 1179462 - Search does not work on Content host errata tab
Summary: Search does not work on Content host errata tab
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: sthirugn@redhat.com
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1130651 1188301
TreeView+ depends on / blocked
 
Reported: 2015-01-06 19:59 UTC by sthirugn@redhat.com
Modified: 2017-02-23 20:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:21:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 9786 0 None None None 2016-04-22 16:04:47 UTC
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description sthirugn@redhat.com 2015-01-06 19:59:56 UTC
Description of problem:
Search does not work on Content host errata tab

Version-Release number of selected component (if applicable):
* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.37-1.el6.noarch
* candlepin-common-1.0.17-1.el6.noarch
* candlepin-selinux-0.9.37-1.el6.noarch
* candlepin-tomcat6-0.9.37-1.el6.noarch
* elasticsearch-0.90.10-7.el6.noarch
* foreman-1.8.0-0.develop.201501051457git6529247.el6.noarch
* foreman-compute-1.8.0-0.develop.201501051457git6529247.el6.noarch
* foreman-gce-1.8.0-0.develop.201501051457git6529247.el6.noarch
* foreman-libvirt-1.8.0-0.develop.201501051457git6529247.el6.noarch
* foreman-ovirt-1.8.0-0.develop.201501051457git6529247.el6.noarch
* foreman-postgresql-1.8.0-0.develop.201501051457git6529247.el6.noarch
* foreman-proxy-1.8.0-0.develop.201412301259gite2ce2a0.el6.noarch
* foreman-release-1.8.0-0.develop.201501051457git6529247.el6.noarch
* foreman-selinux-1.8.0-0.develop.201412151103gite2863e4.el6.noarch
* foreman-vmware-1.8.0-0.develop.201501051457git6529247.el6.noarch
* katello-2.1.0-1.201411061509gitb0b8f43.el6.noarch
* katello-certs-tools-2.0.1-1.el6.noarch
* katello-default-ca-1.0-1.noarch
* katello-installer-2.2.0-1.201412192027git113612b.el6.noarch
* katello-installer-base-2.2.0-1.201412192027git113612b.el6.noarch
* katello-repos-2.1.1-1.el6.noarch
* katello-server-ca-1.0-1.noarch
* openldap-2.4.23-32.el6_4.1.x86_64
* openldap-devel-2.4.23-32.el6_4.1.x86_64
* pulp-docker-plugins-0.2.1-0.2.beta.el6.noarch
* pulp-katello-0.3-3.el6.noarch
* pulp-nodes-common-2.5.1-1.el6.noarch
* pulp-nodes-parent-2.5.1-1.el6.noarch
* pulp-puppet-plugins-2.5.1-1.el6.noarch
* pulp-puppet-tools-2.5.1-1.el6.noarch
* pulp-rpm-plugins-2.5.1-1.el6.noarch
* pulp-selinux-2.5.1-1.el6.noarch
* pulp-server-2.5.1-1.el6.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-ldap_fluff-0.3.3-1.el6.noarch
* ruby193-rubygem-net-ldap-0.10.0-1.el6.noarch
* ruby193-rubygem-runcible-1.3.0-1.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Web UI -> content host -> Errata tab -> Search 
2. I tried searching the following, none of them worked:
- rsyslog bug fix update (Note: there is an errata with this title)
- title= rsyslog bug fix update
- title: rsyslog bug fix update
- RHSA-2014:2024 (Note: there is an errata with this id)
- Id= RHSA-2014:2024
- Id: RHSA-2014:2024 

Actual results:
None of the above mentioned search showed results

Expected results:
The right errata item should be displayed

Additional info:

Comment 1 RHEL Program Management 2015-01-06 20:24:10 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Walden Raines 2015-01-12 14:39:55 UTC
This works for me if I follow the guided search and search for id = RHSA-2014:1984.

However there is a definite bug here, a 500 when searching for just the errata ID:

caused by: (PG::InvalidColumnReference) ERROR:  for SELECT DISTINCT, ORDER BY expressions must appear in select list
LINE 1: ...kages"."name" ILIKE '%RHSA-2014:1984%')) ORDER BY issued DES...

Comment 4 sthirugn@redhat.com 2015-01-12 16:10:24 UTC
(In reply to Walden Raines from comment #3)

Well I don't see guided search working in Content Host -> Errata tab

Comment 5 Justin Sherrill 2015-01-12 16:26:23 UTC
Connecting redmine issue http://projects.theforeman.org/issues/8326 from this bug

Comment 6 Bryan Kearney 2015-01-14 17:05:17 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/8326 has been closed
-------------
Justin Sherrill
Applied in changeset commit:katello|6055ee58cb7fc531ace956939c8e059275eaaec2.

Comment 9 sthirugn@redhat.com 2015-03-03 21:20:50 UTC
Failed.

Satellite-6.1.0-RHEL-6-20150224.0

Comment 10 sthirugn@redhat.com 2015-03-03 21:36:43 UTC
(In reply to sthirugn from comment #9)
> Failed.
> 
> Satellite-6.1.0-RHEL-6-20150224.0

I tried the following. These existed in my repo:

package =  dhcp-4.1.1-43.P1.el6_6.1.x86_64 
package_name = dhcp

Comment 11 Justin Sherrill 2015-03-16 15:09:50 UTC
Created redmine issue http://projects.theforeman.org/issues/9786 from this bug

Comment 12 Walden Raines 2015-04-08 19:19:50 UTC
This should be in POST as the relevant issue is closed:

Applied in changeset katello|c063ff97c7882b57bd6330a8e28ae19c2391594e.

Comment 14 Walden Raines 2015-04-21 16:54:08 UTC
*** Bug 1213815 has been marked as a duplicate of this bug. ***

Comment 15 sthirugn@redhat.com 2015-04-27 16:35:27 UTC
Verified.

Version Tested: Satellite-6.1.0-RHEL-6-20150424.0

The following worked fine:
cve  = "CVE-2005-1080"
cve  ~ "CVE-2005-1080"
id = "RHBA-2015:0871"
id ~ "RHBA-2015:0871"
issued > "Apr 20,2015"
issued < "Apr 20,2015"
package =  kernel-2.6.32-504.16.2.el6.x86_64 
package_name = kernel
severity = Critical
severity = Important
severity = Moderate
title ~ dbus
title = "dbus bugfix update"
type = bugfix
type = enhancement
type = security
updated > "Apr 20,2015"
updated < "Apr 20,2015"


These did not work and will be tracked in separate bugs:
bug ~ "1212986" - https://bugzilla.redhat.com/show_bug.cgi?id=1215758
bug = "1212986" - https://bugzilla.redhat.com/show_bug.cgi?id=1215758
issued = "Apr 20,2015" - https://bugzilla.redhat.com/show_bug.cgi?id=1215756

Comment 16 Bryan Kearney 2015-08-11 13:28:34 UTC
This bug is slated to be released with Satellite 6.1.

Comment 17 errata-xmlrpc 2015-08-12 05:21:24 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-2015:1592


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