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.
This bug was cloned from 695788 because 695788 was discovered in product Red Hat Enterprise Linux 5 whereas this problem was found in product Red Hat Enterprise Linux 6
DescriptionRed Hat Case Diagnostics
2011-05-26 04:51:34 UTC
+++ This bug was initially created as a clone of Bug 695788 +++
+++ This bug was initially created as a clone of Bug #693709 +++
Description of problem:
firstboot -r with installed subscription-manager-firstboot produces traceback (see bellow)
Version-Release number of selected component (if applicable):
firstboot-1.110.10-1.el6.i686
subscription-manager-firstboot-0.95.5-1.el6
rhn-setup-gnome-1.0.0-60.el6
How reproducible:
Steps to Reproduce:
1. install rhel6.1 server (select Desktop profile)
2. run firstboot, register to hosted, satellite.
3. go through rest of firstboot steps
4. run firstboot -r
5. ends with traceback (see bellow)
6. yum remove subscription-manager-firstboot
7. run firstboot -r
8.
Actual results:
firstboot 1.110.10 exception report
Traceback (most recent call last):
File "/usr/sbin/firstboot", line 192, in <module>
config.moduleList = loadModules(config.moduleDir, config.mode)
File "/usr/lib/python2.6/site-packages/firstboot/loader.py", line 140, in loadModules
obj.loadModules(mode=mode)
File "/usr/lib/python2.6/site-packages/firstboot/moduleset.py", line 111, in loadModules
self.moduleList = loadModules(self.path, mode)
File "/usr/lib/python2.6/site-packages/firstboot/loader.py", line 101, in loadModules
obj = loaded.moduleClass()
File "/usr/share/rhn/up2date_client/firstboot/rhsm_subscriptions.py", line 23, in __init__
managergui.MainWindow.__init__(self)
File "/usr/share/rhsm/gui/managergui.py", line 261, in __init__
self._check_rhn_classic()
File "/usr/share/rhsm/gui/managergui.py", line 421, in _check_rhn_classic
self._get_window())
File "/usr/share/rhn/up2date_client/firstboot/rhsm_subscriptions.py", line 54, in _get_window
return self.vbox.get_parent_window().get_user_data()
AttributeError: 'NoneType' object has no attribute 'get_parent_window'
Local variables in innermost frame:
self: <rhsm_subscriptions.moduleClass object at 0x886154c>
Config instance, containing members:
frontend: None
moduleDir: /usr/share/firstboot/modules/
needInterface: True
themeDir: /usr/share/firstboot/themes/RHEL
mode: 1
interface: Interface instance, containing members:
interface._screenshotDir: /root/firstboot-screenshots
interface._control: Control instance, containing members:
interface._control.currentPage: 0
interface._control.moduleList: []
interface._control.history: []
interface.testing: False
interface._x_size: 3120
interface._controlStack: [Already dumped (Control instance)
]
interface._screenshotIndex: 0
interface.autoscreenshot: False
interface._y_size: 1050
defaultThemeDir: /usr/share/firstboot/themes/default/
moduleList: None
Expected results:
'firstboot -r' starts also with subscription-manager-firstboot installed
Additional info:
--- Additional comment from pm-rhel on 2011-04-05 08:02:10 EDT ---
Since this issue was entered in bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
--- Additional comment from pm-rhel on 2011-04-05 08:03:27 EDT ---
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
--- Additional comment from jkastner on 2011-04-05 09:32:57 EDT ---
possible scenario - system kickstarted to rhel6.1 using satellite with full Desktop and firstboot enabled in kickstart file and {re-,}registered using current/default key can stop on this. pressing 'Exit' stops firstboot and user can't configure system.
--- Additional comment from mkhusid on 2011-04-07 10:40:51 EDT ---
It seems that a workaround would be re-installing subscription-manager-firstboot.
If that's the case, please document in a tech note. A bug with a simple workaround doesn't qualify for a blocker.
--- Additional comment from alikins on 2011-04-08 10:42:54 EDT ---
Fixed in master (but not merged to 6.1 branch yet) in:
commit e3ccb4b6658f59ecc33b024ad462ed0f693d346e
Author: Adrian Likins <alikins>
Date: Wed Apr 6 16:35:05 2011 -0400
693709: fix bug showing the "you are registered to rhn" dialog
.__get_window was calling the subclass method, which was pointing
at a window which isn't created yet in firstboot (createScreen
creates it)
--- Additional comment from alikins onTue Apr 12 17:28:27 EDT 2011 ---
commit 91e638f1137d124ac0d46f3de0c005955ff409d0
Author: Adrian Likins <alikins>
Date: Tue Apr 12 13:24:51 2011 -0400
695788: fix bug showing the "you are registered to rhn" dialog
.__get_window was calling the subclass method, which was pointing
at a window which isn't created yet in firstboot (createScreen
creates it)
--- Additional comment from alikins onWed Apr 13 20:39:00 EDT 2011 ---
*** Bug 692794 has been marked as a duplicate of this bug. ***
--- Additional comment from spandey onMon May 02 20:21:03 EDT 2011 ---
Verified using following setup
subscription-manager-firstboot-0.95.5.8-1.git.6.42d8706.el5
subscription-manager-0.95.5.8-1.git.6.42d8706.el5
subscription-manager-gnome-0.95.5.8-1.git.6.42d8706.el5
Working fine Moving defect status from Modified to verified
Comment 3Red Hat Case Diagnostics
2011-05-26 04:52:09 UTC