System registration using "rhn_register" or "rhnreg_ks" fails with error "ImportError: cannot import name tui"
Issue
- Registering a system to Red Hat Satellite-5.x fails:
# rhnreg_ks
Traceback (most recent call last):
File "/usr/sbin/rhnreg_ks", line 32, in <module>
from up2date_client import rhnreg
ImportError: cannot import name rhnreg
# rhn_register
Traceback (most recent call last):
File "/usr/sbin/rhn_register", line 26, in <module>
from up2date_client import tui
ImportError: cannot import name tui
Environment
- Red Hat Satellite 5.x
- Red Hat Enterprise Linux 5.x
- Red Hat Enterprise Linux 6.x
- Red Hat Enterprise Linux 7.x
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.
