If someone requests a url we don't know about under our xmlrpc hierarchy, RHN will raise an unhandled exception and 500. Instead, we should catch the exception and return 404.
RHN wasn't returning 500 already. The fix as implemented simply logs an unknownXML error, rather than sending a traceback email.
To test: - install the content management tools - run 'rhn-manage-channel-internal --server=http://xmlrpc.rhn.webqa.redhat.com/XMLRPC --list --label rhel-5' - You'll get an error on the client, but not that no traceback email is sent - if debugging is turned up to 4 or higher, a message will be logged in rhn.log
Here is what I see when I run the command in Comment 2: [jsanda@espresso ~]$ rhn-manage-channel-internal --server=http://xmlrpc.rhn.webqa.redhat.com/XMLRPC --list --label rhel-5 Red Hat Network username: jsanda_qa Red Hat Network password: While running 'channel.lookupChannel': caught <type 'instance'> : Invalid request received (class xmlrpc.channel is not defined (function = lookupChannel)).
Did not find any traceback emails that were sent. Verified in webqa.
Verified in stage.
rhn502 released.