spacewalk-clone-by-date command fails with traceback xmlrpclib.Fault: Fault 1201: redstone.xmlrpc.XmlRpcFault
Issue
- spacewalk-clone-by-date command fails with traceback "xmlrpclib.Fault: Fault 1201: "redstone.xmlrpc.XmlRpcFault"
spacewalk-clone-by-date command fails with below traceback
[root@satellite ~]# spacewalk-clone-by-date -u admin -d 2016-03-25 -l rhel-x86_64-server-6 DEV_RHEL_6_25MAR16 -y
Password:
Reading repository information.
Using issue_date.
By continuing the following channels will be created:
DEV_RHEL_6_25MAR16
Cloning rhel-x86_64-server-6 to DEV_RHEL_6_25MAR16 with original package set.
Traceback (most recent call last):
File "/usr/bin/spacewalk-clone-by-date", line 411, in <module>
sys.exit(abs(main() or 0))
File "/usr/bin/spacewalk-clone-by-date", line 401, in main
return cloneByDate.main(args)
File "/usr/share/rhn/utils/cloneByDate.py", line 245, in main
cloner.create_channels(options.skip_depsolve)
File "/usr/share/rhn/utils/cloneByDate.py", line 374, in create_channels
self.remote_api.clone_channel(self.src_parent, dest_parent, None)
File "/usr/share/rhn/utils/cloneByDate.py", line 917, in clone_channel
details, True)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1201: "redstone.xmlrpc.XmlRpcFault: Channel label must be at least 6 characters long, begin with a letter or digit and may contain only lowercase letters, hyphens ('-'), periods ('.'), underscores ('_'), and numerals.">
Environment
- Red Hat Satellite 5.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.