While subscribing channel to a system using "rhn-channel" the task fails with a "exceptions.TypeError" message ?
Issue
- rhn-channel command fails with following message:
[root@testsystem ~]# rhn-channel --add --channel=rhel-x86_64-server-6-rhevm-3
Username: my username
Password:
An error has occurred:
File "/usr/sbin/rhn-channel", line 164, in <module>
systemExit(1, e)
File "/usr/sbin/rhn-channel", line 46, in systemExit
sys.stderr.write(rhncli.utf8_encode(msg)+'\n')
<type 'exceptions.TypeError'>: unsupported operand type(s) for +: 'CommunicationError' and 'str'
Environment
- Red Hat Enterprise Linux
- rhn-channel
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.