Bug 922725 - Got traceback with firstboot command.
Summary: Got traceback with firstboot command.
Keywords:
Status: CLOSED DUPLICATE of bug 922806
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: beta
: 5.10
Assignee: candlepin-bugs
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510 rhsm-2013
TreeView+ depends on / blocked
 
Reported: 2013-03-18 11:24 UTC by spandey
Modified: 2015-04-23 23:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-31 12:09:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description spandey 2013-03-18 11:24:56 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
always 


Prerequisites : 
Rhel6.4 with following subscription-manager rpm 
subscription-manager-migration-data-1.12.2.6-1.git.0.171d4c3.el6.noarch
subscription-manager-firstboot-1.8.4-1.git.31.00b0b78.el6.x86_64
subscription-manager-gui-1.8.4-1.git.31.00b0b78.el6.x86_64
subscription-manager-1.8.4-1.git.31.00b0b78.el6.x86_64
subscription-manager-migration-1.8.4-1.git.31.00b0b78.el6.x86_64


Steps to repro : 
Login to client console and execute following command 
firstboot 

Expected Result : 
command should launch firstboot gui 

Actual Result : 
firstboot 1.110.14 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_login.py", line 181, in __init__
    backend = managergui.Backend()
  File "/usr/share/rhsm/subscription_manager/gui/managergui.py", line 84, in __init__
    self.identity = require(IDENTITY)
  File "/usr/share/rhsm/subscription_manager/injection.py", line 81, in require
    return FEATURES.require(feature, *args, **kwargs)
  File "/usr/share/rhsm/subscription_manager/injection.py", line 69, in require
    raise KeyError("Unknown feature: %r" % feature)
KeyError: "Unknown feature: 'IDENTITY'"

Local variables in innermost frame:
self: <subscription_manager.injection.FeatureBroker instance at 0x32f8128>
args: ()
feature: IDENTITY
kwargs: {}


Config instance, containing members:
frontend: None
moduleDir: /usr/share/firstboot/modules/
needInterface: True
themeDir: /usr/share/firstboot/themes/RHEL
mode: 3
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: 2960
  interface._controlStack: [Already dumped (Control instance)
]
  interface._screenshotIndex: 0
  interface.autoscreenshot: False
  interface._y_size: 1050
defaultThemeDir: /usr/share/firstboot/themes/default/
moduleList: None

Comment 1 RHEL Program Management 2013-04-09 20:17:40 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 2 Devan Goodwin 2013-05-31 12:09:27 UTC

*** This bug has been marked as a duplicate of bug 922806 ***


Note You need to log in before you can comment on or make changes to this bug.