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.
Description of problem:
When subscription manager attempts to show a message/error dialog during registration, the following error occurs:
/usr/share/rhsm/subscription_manager/gui/registergui.py:314: DeprecationWarning: use GtkNotebook.set_current_page
self.register_notebook.set_page(CREDENTIALS_PAGE)
firstboot ERROR: global name 'ErrorDialog' is not defined
Traceback (most recent call last):
File "/usr/share/rhsm/subscription_manager/gui/registergui.py", line 294, in _on_registration_finished_cb
self._finish_registration()
File "/usr/share/rhn/up2date_client/firstboot/rhsm_login.py", line 239, in _finish_registration
self._init_sla()
File "/usr/share/rhn/up2date_client/firstboot/rhsm_login.py", line 287, in _init_sla
ErrorDialog(_("No service levels will cover all installed products. "
NameError: global name 'ErrorDialog' is not defined
firstboot ERROR: global name 'ErrorDialog' is not defined
Traceback (most recent call last):
File "/usr/share/rhsm/subscription_manager/gui/registergui.py", line 294, in _on_registration_finished_cb
self._finish_registration()
File "/usr/share/rhn/up2date_client/firstboot/rhsm_login.py", line 239, in _finish_registration
self._init_sla()
File "/usr/share/rhn/up2date_client/firstboot/rhsm_login.py", line 287, in _init_sla
ErrorDialog(_("No service levels will cover all installed products. "
NameError: global name 'ErrorDialog' is not defined
This seems to put the first-boot process in a weird state.
NOTE: This also happens with OkDilogs as well.
Version-Release number of selected component (if applicable):
How reproducible:
always
Steps to Reproduce:
1. On RHEL6.3 system, ensure system is not registered and has an installed product that does not have any entitlements. I used 69.pem (standard with install) and a CP server with only test data (nothing that would satisfy 69.pem)
2. launch firstboot
3. follow steps through subscription-manager registration
4. After org selection screen, sub-man will attempt to show a message dialog stating "No service levels will cover all installed products...." but will fail.
Actual results:
An actual error dialog is displayed showing failure.
Expected results:
User should see the message dialog stating that of step 4.
subscription-manager-gnome-0.99.12-1.git.18.188dde8.el6.x86_64
subscription-manager-0.99.12-1.git.18.188dde8.el6.x86_64
subscription-manager-firstboot-0.99.12-1.git.18.188dde8.el6.x86_64
python-rhsm-0.99.7-1.git.1.e68bc91.el6.noarch
Testing with incorrect user/pass in firstboot:
firstboot ERROR: certificate verify failed
None
^^^^^^^^ NO TRACEBACK SHOWN
Testing with certificate failure:
firstboot ERROR: certificate verify failed
None
^^^^^^^^ NO TRACEBACKS FOUND
The no service levels error does not print anything to the console but the error dialog displays as expected.
Testing with a bad proxy:
firstboot ERROR: [Errno -2] Name or service not known
None
^^^^^^^^ NO TRACEBACKS FOUND
All of these errors do not cause tracebacks, and the error dialogs all show as expected. Marking VERIFIED.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2012-0804.html
Description of problem: When subscription manager attempts to show a message/error dialog during registration, the following error occurs: /usr/share/rhsm/subscription_manager/gui/registergui.py:314: DeprecationWarning: use GtkNotebook.set_current_page self.register_notebook.set_page(CREDENTIALS_PAGE) firstboot ERROR: global name 'ErrorDialog' is not defined Traceback (most recent call last): File "/usr/share/rhsm/subscription_manager/gui/registergui.py", line 294, in _on_registration_finished_cb self._finish_registration() File "/usr/share/rhn/up2date_client/firstboot/rhsm_login.py", line 239, in _finish_registration self._init_sla() File "/usr/share/rhn/up2date_client/firstboot/rhsm_login.py", line 287, in _init_sla ErrorDialog(_("No service levels will cover all installed products. " NameError: global name 'ErrorDialog' is not defined firstboot ERROR: global name 'ErrorDialog' is not defined Traceback (most recent call last): File "/usr/share/rhsm/subscription_manager/gui/registergui.py", line 294, in _on_registration_finished_cb self._finish_registration() File "/usr/share/rhn/up2date_client/firstboot/rhsm_login.py", line 239, in _finish_registration self._init_sla() File "/usr/share/rhn/up2date_client/firstboot/rhsm_login.py", line 287, in _init_sla ErrorDialog(_("No service levels will cover all installed products. " NameError: global name 'ErrorDialog' is not defined This seems to put the first-boot process in a weird state. NOTE: This also happens with OkDilogs as well. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. On RHEL6.3 system, ensure system is not registered and has an installed product that does not have any entitlements. I used 69.pem (standard with install) and a CP server with only test data (nothing that would satisfy 69.pem) 2. launch firstboot 3. follow steps through subscription-manager registration 4. After org selection screen, sub-man will attempt to show a message dialog stating "No service levels will cover all installed products...." but will fail. Actual results: An actual error dialog is displayed showing failure. Expected results: User should see the message dialog stating that of step 4.