Bug 974205 - Cannot delete cloned channels using XMLRPC API
Cannot delete cloned channels using XMLRPC API
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API (Show other bugs)
x86_64 Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Tomas Lestach
Red Hat Satellite QA List
Depends On:
  Show dependency treegraph
Reported: 2013-06-13 12:27 EDT by Stephen Benjamin
Modified: 2013-06-19 03:54 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-06-19 03:54:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stephen Benjamin 2013-06-13 12:27:18 EDT
Description of problem:

Cannot delete a channel clone of a Red Hat channel using channel.software.delete

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


How reproducible:


Steps to Reproduce:
1. Clone a Red Hat channel
2. Attempt to delete clone with API channel.software.delete call

Actual results:

xmlrpclib.Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal exception: Red Hat Channels cannot be deleted, only custom channels can.'>

Expected results:

Channel is deleted.

Additional info:

Works fine in the Satellite GUI to delete a cloned channel.
Comment 1 Jan Dobes 2013-06-19 02:14:56 EDT
I'm unable to reproduce this problem. Cloned Red Hat channels are properly deleted using API. Can you please provide more information - how have you cloned this channel, what Red Hat channel it is, source code example?
Comment 2 Stephen Benjamin 2013-06-19 03:54:25 EDT
Sorry, PEBKAC.  All works as expected.

I was passing the original channel label to sat.channel.software.delete instead of the new cloned one.

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