Bug 678325

Summary: Super-admin GET of consumers for username 'rh-alpha-200' give 500 error
Product: [Community] Candlepin Reporter: Ken Coar <kcoar>
Component: candlepinAssignee: Bryan Kearney <bkearney>
Status: CLOSED DEFERRED QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.5   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Solaris   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-27 18:21:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Using GET from perl-libwww-perl-5.837-2.fc13.noarch: GET -C {super-admin-username}:{sa-pw} -SUse http://candlepin1.devlab.phx1.redhat.com:8080/candlepin/consumers'?username=rh-alpha-200' none

Description Ken Coar 2011-02-17 15:43:15 UTC
Created attachment 479353 [details]
Using GET from perl-libwww-perl-5.837-2.fc13.noarch: GET -C {super-admin-username}:{sa-pw} -SUse http://candlepin1.devlab.phx1.redhat.com:8080/candlepin/consumers'?username=rh-alpha-200'

Description of problem:

Attempting to fetch a consumer list for username 'rh-alpha-200' from candlepin1.devlab.phx1.redhat.com gives a 500 error and an abstruse error message.

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

candlepin-jboss-0.2.6-1.el5
candlepin-it-jars-0.2.6-8

How reproducible:

Every time, at least with the data currently on Candlepin1 (the problem may not be reproducible after the next refresh!).

Steps to Reproduce:
1. Issue a "GET http://candlepin1.devlab.phx1.redhat.com:8080/candlepin/consumers?username=rh-alpha-200" using the super-admin credentials.
  
Actual results:

{"displayMessage":"Runtime Error Unable to find org.fedoraproject.candlepin.model.Pool with id 8a878c912cc29795012cc2ac768602c7 (through reference chain: java.util.ArrayList[0]->org.fedoraproject.candlepin.model.Consumer[\"entitlements\"]) at org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound:113"}

Expected results:

A (possibly empty) JSON array of consumers.

Additional info:

N/A

Comment 1 Bryan Kearney 2011-06-21 14:13:30 UTC
Is this still an issue? If not, can you please close?