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.
Created attachment 1865924[details]
an error in registration dialog
Description of problem:
Version-Release number of selected component (if applicable):
server type: This system is currently not registered.
subscription management server: 3.2.22-1
subscription management rules: 5.41
subscription-manager: 1.28.28-1.el8
Steps to Reproduce:
I want to register a system.
I've used RHEL-8.6.0-20220302.5
Actual results:
I used subscriptions plugin in anaconda and initial-setup-graphical.
I wanted to register a system against a stage candlepin server.
An error: TypeError: registerConsumer() got an unexpected keyword argument 'environment' in initial-setup-graphical
appeared.
I've attached a screenshot with the error message too.
Additional info:
/var/log/rhsm/rhsm.log:
oneType: None
2022-03-11 22:59:28,289 [ERR] initial-setup-graphical:3972:MainThread @utils.py:165 - None
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/subscription_manager/gui/registergui.py", line 2000, in _register_consumer
usage=syspurpose.get('usage')
TypeError: registerConsumer() got an unexpected keyword argument 'environment'
2022-03-11 22:59:28,984 [WRN] initial-setup-graphical:3972:RegisterConsumerThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not
# fully supported by this version of dmidecode.
NoneType: None
2022-03-11 22:59:29,159 [ERR] initial-setup-graphical:3972:MainThread @utils.py:165 - None
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/subscription_manager/gui/registergui.py", line 2000, in _register_consumer
usage=syspurpose.get('usage')
TypeError: registerConsumer() got an unexpected keyword argument 'environment'
2022-03-11 23:02:52,177 [WARNING] rhsm-service:2611:Thread-FileSystemWatcher @logutil.py:170 - logging already initialized
Uhh this is a regression in the GUI code, used only for the initial-setup addon, because of the changes for multi-environments (bug 1994056).
The fix seems easy though, luckily.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (subscription-manager bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2022:2047
Created attachment 1865924 [details] an error in registration dialog Description of problem: Version-Release number of selected component (if applicable): server type: This system is currently not registered. subscription management server: 3.2.22-1 subscription management rules: 5.41 subscription-manager: 1.28.28-1.el8 Steps to Reproduce: I want to register a system. I've used RHEL-8.6.0-20220302.5 Actual results: I used subscriptions plugin in anaconda and initial-setup-graphical. I wanted to register a system against a stage candlepin server. An error: TypeError: registerConsumer() got an unexpected keyword argument 'environment' in initial-setup-graphical appeared. I've attached a screenshot with the error message too. Additional info: /var/log/rhsm/rhsm.log: oneType: None 2022-03-11 22:59:28,289 [ERR] initial-setup-graphical:3972:MainThread @utils.py:165 - None Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/subscription_manager/gui/registergui.py", line 2000, in _register_consumer usage=syspurpose.get('usage') TypeError: registerConsumer() got an unexpected keyword argument 'environment' 2022-03-11 22:59:28,984 [WRN] initial-setup-graphical:3972:RegisterConsumerThread @dmiinfo.py:130 - Error reading system DMI information: # SMBIOS implementations newer than version 2.7 are not # fully supported by this version of dmidecode. NoneType: None 2022-03-11 22:59:29,159 [ERR] initial-setup-graphical:3972:MainThread @utils.py:165 - None Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/subscription_manager/gui/registergui.py", line 2000, in _register_consumer usage=syspurpose.get('usage') TypeError: registerConsumer() got an unexpected keyword argument 'environment' 2022-03-11 23:02:52,177 [WARNING] rhsm-service:2611:Thread-FileSystemWatcher @logutil.py:170 - logging already initialized