Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1179462 - Search does not work on Content host errata tab
Search does not work on Content host errata tab
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: WebUI (Show other bugs)
Nightly
Unspecified Unspecified
unspecified Severity high (vote)
: Unspecified
: Unused
Assigned To: Justin Sherrill
sthirugn@redhat.com
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks: 1130651 1188301
  Show dependency treegraph
 
Reported: 2015-01-06 14:59 EST by sthirugn@redhat.com
Modified: 2017-02-23 15:40 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:21:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 9786 None None None 2016-04-22 12:04 EDT
Red Hat Product Errata RHSA-2015:1592 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 05:04:35 EDT

  None (edit)
Description sthirugn@redhat.com 2015-01-06 14:59:56 EST
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 Product and Program Management 2015-01-06 15:24:10 EST
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 09:39:55 EST
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 11:10:24 EST
(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 11:26:23 EST
Connecting redmine issue http://projects.theforeman.org/issues/8326 from this bug
Comment 6 Bryan Kearney 2015-01-14 12:05:17 EST
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 16:20:50 EST
Failed.

Satellite-6.1.0-RHEL-6-20150224.0
Comment 10 sthirugn@redhat.com 2015-03-03 16:36:43 EST
(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 11:09:50 EDT
Created redmine issue http://projects.theforeman.org/issues/9786 from this bug
Comment 12 Walden Raines 2015-04-08 15:19:50 EDT
This should be in POST as the relevant issue is closed:

Applied in changeset katello|c063ff97c7882b57bd6330a8e28ae19c2391594e.
Comment 14 Walden Raines 2015-04-21 12:54:08 EDT
*** Bug 1213815 has been marked as a duplicate of this bug. ***
Comment 15 sthirugn@redhat.com 2015-04-27 12:35:27 EDT
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 09:28:34 EDT
This bug is slated to be released with Satellite 6.1.
Comment 17 errata-xmlrpc 2015-08-12 01:21:24 EDT
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.