Red Hat Bugzilla – Bug 974205
Cannot delete cloned channels using XMLRPC API
Last modified: 2013-06-19 03:54:25 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):
Steps to Reproduce:
1. Clone a Red Hat channel
2. Attempt to delete clone with API channel.software.delete call
xmlrpclib.Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal exception: Red Hat Channels cannot be deleted, only custom channels can.'>
Channel is deleted.
Works fine in the Satellite GUI to delete a cloned channel.
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?
Sorry, PEBKAC. All works as expected.
I was passing the original channel label to sat.channel.software.delete instead of the new cloned one.