Hide Forgot
+++ 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
Created attachment 500979 [details] File: backtrace