Bug 611697 - Internal Server Error for kickstart.profile.software.setSoftwareList
Summary: Internal Server Error for kickstart.profile.software.setSoftwareList
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 530
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Martin Korbel
URL:
Whiteboard:
Depends On:
Blocks: sat550-lowbug
TreeView+ depends on / blocked
 
Reported: 2010-07-06 07:59 UTC by Carsten Clasohm
Modified: 2012-09-21 09:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-21 09:35:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Java exceptions (20.88 KB, text/plain)
2010-07-06 08:07 UTC, Carsten Clasohm
no flags Details
API test script (350 bytes, application/octet-stream)
2010-07-06 08:10 UTC, Carsten Clasohm
no flags Details

Description Carsten Clasohm 2010-07-06 07:59:04 UTC
Description of problem:

When using the kickstart.profile.software.setSoftwareList API call in Satellite 5.3, I get a Java exception about duplicate values.


How reproducible:

always


Steps to Reproduce:

Create a Kickstart profile with the default software package list, @Base. Write an API script to set the software package list to @Base, screen.

The API call fails with an Internal Server Error, and the attached Java exceptions in /var/log/tomcat/catalina.out.


Actual results:

It's not possible to change the software package list with the API call.


Expected results:

The API call should set the Kickstart profile's package list.


Additional info:

As a workaround, one can first pass an empty list to setSoftwareList, and then call it again with the real package list.

Comment 1 Carsten Clasohm 2010-07-06 08:07:04 UTC
Created attachment 429695 [details]
Java exceptions

Comment 2 Carsten Clasohm 2010-07-06 08:10:05 UTC
Created attachment 429696 [details]
API test script

API test script. Customize the server URL, username, password and kickstart profile label for your local setup. With the latest Satellite updates, I had to run this twice to trigger the error.

Comment 3 Jan Pazdziora 2012-03-15 13:48:18 UTC
I believe this issue has been addressed for Satellite 5.4. Can you upgrade your Satellite and see if the problem goes away for you?

Thank you,

Jan

Comment 6 Clifford Perry 2012-09-21 09:35:34 UTC
This issue is resolved with the release of RHN Satellite 5.5. 

As of September 20th 2012, RHN Satellite 5.5 has been generally available. 

Release Notes and other 5.5 documentation can be found here:

 https://access.redhat.com/knowledge/docs/Red_Hat_Network_Satellite/

The associated Errata for the 5.5 release are:

5.5 Satellite GA Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1296.html

5.5 Upgrade Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1298.html

5.5 RHN Proxy GA Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1297.html

5.5 RHN Tools GA Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1299.html

Regards,
Clifford
- Engineering Manager, Satellite


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