If rhn-download-manager tries to add downloads to a channel that doesn't exist, RHN will raise an ISE. instead, report the error back to the client. see also: http://rbgh.usersys.redhat.com/python/3060fbc706b030fb5867e8867e793be42f8c5ab1
To test: * get the downloads for a channel: rhn-download-manager --server localhost --show-all --list rhel-i386-server-5 -o dls.csv * edit the file, remove all but one line (for simplicity), and edit the channel label to a channel that doesn't exist * try and upload the data: rhn-download-manager --server localhost --upload dls.csv --no-validation * you should get a nicely formatted error message saying the channel is invalid
requires rhn-content-mgmt-0.5.0 from brew
AO 3/3/08--verified in dev now get this error message: Error Message: Invalid channel rhel-amy Error Class Code: 50 Error Class Info: Invalid information uploaded to the server
SH 3/14/08--verified in qa. Now get this error message: Error Message: Invalid channel rhel-sherr Error Class Code: 50 Error Class Info: Invalid information uploaded to the server