Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionEugene Ivantsov
2018-11-17 16:25:02 UTC
Description of problem:
When invoking subscription manager command in an official Beta docker container, the following stacktrace is observed:
eugene@ivantsoft ~/projects/crew/codeready-workspaces-stacks-java (codeready-1.0-rhel-8) $ docker run -ti registry.access.redhat.com/rhel8-beta/rhel:8.0-760 bash
bash-4.4# subscription-manager --help
Traceback (most recent call last):
File "/usr/sbin/subscription-manager", line 11, in <module>
load_entry_point('subscription-manager==1.23.8', 'console_scripts', 'subscription-manager')()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point
return ep.load()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2318, in load
return self.resolve()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib64/python3.6/site-packages/subscription_manager/scripts/subscription_manager.py", line 57, in <module>
configure_i18n()
File "/usr/lib64/python3.6/site-packages/subscription_manager/i18n.py", line 51, in configure_i18n
Locale.set(os.environ.get("LANG"))
File "/usr/lib64/python3.6/site-packages/subscription_manager/i18n.py", line 147, in set
lang = gettext.translation(APP, DIR, languages=[language])
File "/usr/lib64/python3.6/gettext.py", line 510, in translation
mofiles = find(domain, localedir, languages, all=True)
File "/usr/lib64/python3.6/gettext.py", line 482, in find
for nelang in _expand_lang(lang):
File "/usr/lib64/python3.6/gettext.py", line 206, in _expand_lang
loc = locale.normalize(loc)
File "/usr/lib64/python3.6/locale.py", line 396, in normalize
code = localename.lower()
AttributeError: 'NoneType' object has no attribute 'lower'
Description of problem: When invoking subscription manager command in an official Beta docker container, the following stacktrace is observed: eugene@ivantsoft ~/projects/crew/codeready-workspaces-stacks-java (codeready-1.0-rhel-8) $ docker run -ti registry.access.redhat.com/rhel8-beta/rhel:8.0-760 bash bash-4.4# subscription-manager --help Traceback (most recent call last): File "/usr/sbin/subscription-manager", line 11, in <module> load_entry_point('subscription-manager==1.23.8', 'console_scripts', 'subscription-manager')() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point return ep.load() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2318, in load return self.resolve() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib64/python3.6/site-packages/subscription_manager/scripts/subscription_manager.py", line 57, in <module> configure_i18n() File "/usr/lib64/python3.6/site-packages/subscription_manager/i18n.py", line 51, in configure_i18n Locale.set(os.environ.get("LANG")) File "/usr/lib64/python3.6/site-packages/subscription_manager/i18n.py", line 147, in set lang = gettext.translation(APP, DIR, languages=[language]) File "/usr/lib64/python3.6/gettext.py", line 510, in translation mofiles = find(domain, localedir, languages, all=True) File "/usr/lib64/python3.6/gettext.py", line 482, in find for nelang in _expand_lang(lang): File "/usr/lib64/python3.6/gettext.py", line 206, in _expand_lang loc = locale.normalize(loc) File "/usr/lib64/python3.6/locale.py", line 396, in normalize code = localename.lower() AttributeError: 'NoneType' object has no attribute 'lower'