Bug 725555
Summary: | catalina.out returns the error "ERROR com.redhat.rhn.common.hibernate.HibernateFactory - Query exectued with Collection larger than 1000" when searching packages | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Marcelo Moreira de Mello <mmello> | ||||
Component: | Server | Assignee: | Michael Mráka <mmraka> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.6 | CC: | jpazdziora, mmello | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 725562 (view as bug list) | Environment: | |||||
Last Closed: | 2011-12-22 16:47:57 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 723481, 725562 | ||||||
Attachments: |
|
Description
Marcelo Moreira de Mello
2011-07-25 20:27:14 UTC
Created attachment 515135 [details] Patch proposed Hello, Here follow a patch which fixes the test condition (when larger than 1000) and the LOG.error statement. Patch were sent to Spacewalk Devel to approval. Mail Thread: https://www.redhat.com/archives/spacewalk-devel/2011-July/msg00041.html Cheers, Marcelo Moreira de Mello Hello, Reproducer output: We were able to reproduce the issue internally in our labs. Connecting through API, using a Python script we were able to reproduce the issue as you can look below: # ./satellite-tool --search kernel ############################################################ Searching Packages kernel-2.6.32-131.6.1.el6.x86_64 The Linux kernel kernel-2.6.18-238.19.1.el5.x86_64 The Linux kernel (the core of the Linux operating system) [ .... SNIP .... ] kernel-2.6.18-8.el5.x86_64 The Linux kernel (the core of the Linux operating system) Summary: ---------------------------- Total of Packages Found: 167 At catalina.out we have: /var/log/tomcat6/catalina.out ------------------------------------------------- 2011-07-25 16:59:24,773 [TP-Processor7] WARN com.redhat.rhn.frontend.action.channel.PackageSearchHelper - Performing pkg search: kernel, search_name_and_description 2011-07-25 16:59:25,510 [TP-Processor7] ERROR com.redhat.rhn.common.hibernate.HibernateFactory - Query exectued with Collection larger than 1000 Fix committed to Spacewalk master, 9886c8d2bdd11d13d67f69ddff2231612edfaf25. Thank you! Jan Spacewalk 1.6 has been released. |