stdevel/satprep

Patch freezing not possible for RHN Satellite 5.7

Closed this issue · 1 comments

Cloning channels with satprep_patch_freezy.py is not working on RHN Satellite 5.7. It seems like the automatic generated channel names are too long:

$ tail /var/log/rhn/rhn_web_api.log
...
[2015-07-10 10:23:03,944] ERROR - REQUESTED FROM: ::1 CALL: channel.software.clone(myuser, rhn-tools-rhel-x86_64-server-6, {label=rhn-tools-rhel-x86_64-server-6-satprep-2015-07-10, summary=Software channel cloned by Satprep, name=rhn-tools-rhel-x86_64-server-6 clone from 2015-07-10, parent_label=rhel-x86_64-server-6-satprep-2015-07-10}, false) CALLER: (myuser) TIME: 0.02 seconds
redstone.xmlrpc.XmlRpcFault: Channel name must be at least 6 characters long, begin with a letter and may contain only lowercase letters, hyphens ('-'), periods ('.'), underscores ('_'), numerals, spaces, parentheses and forward slashes ('/').
        at com.redhat.rhn.frontend.xmlrpc.BaseHandler.invoke(BaseHandler.java:186)
...

Fixed in commit 2995a0d