spacewalk-create-channel fails with "Channel name must begin with a letter and may contain only lowercase letters, hyphens ('-'), periods ('.'), underscores ('_'), numerals, spaces and forward slashes ('/')."
Issue
- Error trying to update to a specific version of Red Hat.
- spacewalk-create-channel fails with an error. Below is the complete output:
\# spacewalk-create-channel --user=satadmin --server=localhost --version=5 --update=u5 --release=Server --arch=x86\_64 -destChannel=testnew-rhel5u5
Password:
You have not specified a source channel, we will try to determine it from inputs
Trying with source channel: rhel-x86_64-server-5
Creating channel, estchannel=testnew-rhel5u5, with arch x86_64
Traceback (most recent call last):
File "/usr/bin/spacewalk-create-channel", line 443, in ?
main()
File "/usr/bin/spacewalk-create-channel", line 181, in main
populate(client, auth, srcChanLabel, newChannelLabel, newChannelName, filename, parent, clear, skiplist=skiplist)
File "/usr/bin/spacewalk-create-channel", line 207, in populate
client.channel.software.create(auth, newChannel, newChannelName, newChannel, getArchLabel(arch_label, client, auth), parent)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in \__call\__
return self.__send(self.__name, args)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
verbose=self.__verbose
File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
return u.close()
File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault\: Fault 1200: "redstone.xmlrpc.XmlRpcFault: Channel name must begin with a letter and may contain only lowercase letters, hyphens ('-'), periods ('.'), underscores ('_'), numerals, spaces and forward slashes ('/')."
Environment
Red Hat Network Satellite 5.4.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
