Description of problem:
Firstboot module has been revamped in RHEL-6 and RHN modules are still using older classes. As of beta-1 firstboot will skip any screens that use "firstboot_module_window". This module from what I can tell has been removed from firstboot.
Firstboot's loader if failing to import, checks for any modules that use firstboot_module_window and skip it like so,
except ImportError as e:
if str(e).find("firstboot_module_window") != -1:
logging.error(_("Skipping old module %s that has not been updated.") % module)
Debugging Further I noticed the error to be:
firstboot 1.110 exception report
Traceback (most recent call last):
File "/usr/sbin/firstboot", line 180, in <module>
config.moduleList = loadModules(config.moduleDir, config.mode)
File "/usr/lib64/python2.6/site-packages/firstboot/loader.py", line 86, in loadModules
ImportError: No module named firstboot_module_window
You will see warnings like the following:
firstboot ERROR: Skipping old module rhn_register_firstboot_gui_window that has not been updated.
firstboot ERROR: Error loading module rhn_register_firstboot_gui_window:
No module named firstboot_module_window
firstboot ERROR: Skipping old module rhn_create_profile_gui that has not been updated.
firstboot ERROR: Error loading module rhn_create_profile_gui:
Version-Release number of selected component (if applicable):
# rpm -qa|grep rhn-setup
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Fixed in Spacewalk master, commits 07068b19b2704250d19370fa9ff8edafae358ce1, 945391d1501aa5987cc4dff365533f665795ba2a, and fac7c7e24691a923ca5041eb4584ed218eff22ce.
Cherry-picked to CLIENT-RHEL-6, squashed to commit 2dbb03d1e5dc3718c2d11fccd47cab328264d78b.
Tagged and built as rhn-client-tools-1.0.0-12.el6. There still are some errors that we will need to address but this proof of concept package can be used for testing.
*** Bug 591434 has been marked as a duplicate of this bug. ***
Two more commits, 3434253a518d62d582e5c9b66716371da487b5b4 and 8e0e02493d79a4ce0a34e905ea788d12758412b3.
Cherry picked as 38caa43299ab57bf7f9ba74f40f5035abd659941 and bc78eba29bfc0cc04c11a04e7ce728228a5e47fa.
Tagged and built as rhn-client-tools-1.0.0-13.el6.
verified on all rhel6 platforms
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.