Description of problem:
[en_US] [RHSM Firstboot] Exception Occurred when Forward in Choose Service page after registered and run in firstboot again.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Register the system via RHSM GUI or Firstboot.
2. Run from terminal: firstboot --reconfig
3. Next to the Choose Service page.
4. Select Red Hat Subscription Management and Foward.
Exception Occurred when Forward in Choose Service page after registered and run in firstboot again.
No such Exception.
Please see the attached screen-shot and log file.
Created attachment 942238 [details]
Created attachment 942239 [details]
Moving bugs to 6.7
(for easier reference)
firstboot 1.110.15 exception report
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/firstboot/interface.py", line 105, in _nextClicked
File "/usr/lib/python2.6/site-packages/firstboot/interface.py", line 148, in advance
result = module.apply(self, self.testing)
File "/usr/share/rhn/up2date_client/firstboot/rhn_choose_server_gui.py", line 58, in apply
while not interface.moduleList[i].__module__.startswith('rhsm_'):
IndexError: list index out of range
Any other logs from this (firstboot log maybe?).
I think on this crash, there are no rhsm module available to firstboot, because the system is already registered? The rhsm_modules are skipped if the system is registered (via submans firstboot_base:RhsmFirstbootModule.shouldAppear().
In that case, the line 58 above eventually walks off the end of the modules list without finding a rhsm module and throws the index error. But not having rhsm modules in the modules list is a valid scenario (either because of running firstboot more than once, or if the system was registered in the kickstart).
Going to bounce this to rhn-client-tools for that.
Verified with package rhn-setup-gnome-220.127.116.11-32.el6.noarch.rpm
Tested all combinations:
1) unregister to rhn X unregister to rhsm
2) register to rhn X unregister to rhsm
3) unregister to rhn X register to rhsm
3) register to rhn X register to rhsm
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.
*** Bug 1116829 has been marked as a duplicate of this bug. ***