Bug 998961 - PG does not recover after an exception during API
Summary: PG does not recover after an exception during API
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 560
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Matej Kollar
URL:
Whiteboard:
Depends On: 996924
Blocks: 819032 sat560-blockers
TreeView+ depends on / blocked
 
Reported: 2013-08-20 12:39 UTC by Tomas Lestach
Modified: 2013-10-01 21:50 UTC (History)
6 users (show)

Fixed In Version: spacewalk-java-2.0.2-25
Doc Type: Bug Fix
Doc Text:
Clone Of: 996924
Environment:
Last Closed: 2013-10-01 21:50:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Tomas Lestach 2013-08-21 13:29:27 UTC
My reproducer is:
=======================================================================
#!/usr/bin/python
import xmlrpclib

SATELLITE_URL = "http://***/rpc/api"
SATELLITE_LOGIN = "***"
SATELLITE_PASSWORD = "***"

client = xmlrpclib.Server(SATELLITE_URL, verbose=0)
key = client.auth.login(SATELLITE_LOGIN, SATELLITE_PASSWORD)

print client.activationkey.listActivationKeys(key)
print client.activationkey.setDetails(key, 'test-key', {'description': 3000*'a'})
aks = client.activationkey.listActivationKeys(key)

client.auth.logout(key)
=======================================================================

Right after the script fails, try to reload couple of pages on WebUI. You may get an ISE depending when you get the connection with aborted transaction from the connection manager.


spacewalk.git: 1711c431413affa3a572ce764c4d2a4b1c6dadfe

Comment 8 Clifford Perry 2013-10-01 21:50:11 UTC
Satellite 5.6 has been released. This bug was tracked under the release.  

This bug was either VERIFIED or RELEASE_PENDING (re-verified prior shortly
before release). 

Moving to CLOSED CURRENT_RELEASE. 

Text from Upgrade Erratum follows:

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.

http://rhn.redhat.com/errata/RHEA-2013-1395.html


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