firmwaretool --bootstrap fails with dell_inventory_collector installed

Kaj Niemi kajtzu at basen.net
Tue Feb 10 09:30:39 CST 2009


Hi,


Seems like the python code relying on dell_inventory_collector  
spectacularly bombs if it is installed. I'm kind of reliably  
reproducing this on repurposed PE2950s (at least) and RHEL4. Things go  
back to normal if I uninstall the inventory collector.


[root at pxe9]~# rpm -qa firm\* smbio\* dell-dup dell_in\*
smbios-utils-2.1.0-1.1
firmware-addon-dell-2.1.2-1.1
dell-dup-1.1.1-1.el4
warning: only V3 signatures can be verified, skipping V4 signature
dell_inventory_collector-5.5.0-1
firmware-tools-2.1.2-4.1


[root at pxe9]~# # /usr/sbin/firmwaretool --bootstrap
No handlers could be found for logger "trace.firmwaretools"
Traceback (most recent call last):
   File "/usr/sbin/firmwaretool", line 23, in ?
     ftmain.main(sys.argv[1:])
   File "/usr/share/firmware-tools/ftmain.py", line 109, in main
     result, resultmsgs = base.doCommands()
   File "<firmwaretools.peak_util_decorators.rewrap wrapping  
cli.doCommands at 0x2A9B2D3CF8>", line 3, in doCommands
   File "/usr/lib/python2.3/site-packages/firmwaretools/ 
trace_decorator.py", line 81, in trace
     result = func(*args, **kw)
   File "/usr/share/firmware-tools/cli.py", line 134, in doCommands
     self.opts.mode, self.fullCmdLine, self.args)
   File "<firmwaretools.peak_util_decorators.rewrap wrapping  
bootstrap_cmd.doCommand at 0x2A9B81E500>", line 3, in doCommand
   File "/usr/lib/python2.3/site-packages/firmwaretools/ 
trace_decorator.py", line 81, in trace
     result = func(*args, **kw)
   File "/usr/share/firmware-tools/plugins/bootstrap_cmd.py", line 61,  
in doCommand
     for pkg in base.yieldInventory():
   File "/usr/lib/python2.3/site-packages/firmwaretools/__init__.py",  
line 287, in yieldInventory
     for dev in self.systemInventory.iterDevices():
   File "/usr/lib/python2.3/site-packages/firmwaretools/__init__.py",  
line 252, in <lambda>
     fget=lambda self: self._getInventory(),
   File "<firmwaretools.peak_util_decorators.rewrap wrapping  
firmwaretools._getInventory at 0x2A9B2AE848>", line 3, in _getInventory
   File "/usr/lib/python2.3/site-packages/firmwaretools/ 
trace_decorator.py", line 81, in trace
     result = func(*args, **kw)
   File "/usr/lib/python2.3/site-packages/firmwaretools/__init__.py",  
line 227, in _getInventory
     self.plugins.run("inventory", inventory=self._systemInventory)
   File "<firmwaretools.peak_util_decorators.rewrap wrapping  
firmwaretools.plugins.run at 0x2A9B1918C0>", line 3, in run
   File "/usr/lib/python2.3/site-packages/firmwaretools/ 
trace_decorator.py", line 81, in trace
     result = func(*args, **kw)
   File "/usr/lib/python2.3/site-packages/firmwaretools/plugins.py",  
line 182, in run
     getattr(module, hook)(conduitcls(self, self.base, conf), *args,  
**kargs)
   File "<firmwaretools.peak_util_decorators.rewrap wrapping  
dell_dup.dup.inventory_hook at 0x2A9B8096E0>", line 3, in inventory_hook
   File "/usr/lib/python2.3/site-packages/firmwaretools/ 
trace_decorator.py", line 81, in trace
     result = func(*args, **kw)
   File "/usr/lib/python2.3/site-packages/dell_dup/dup.py", line 168,  
in inventory_hook
     for device in svm.genPackagesFromSvmXml(inventoryXml):
   File "/usr/lib/python2.3/site-packages/dell_dup/svm.py", line 121,  
in genPackagesFromSvmXml
     device = int(device, 10)
ValueError: invalid literal for int(): e

[root at pxe9.fi.basen.net]~# rpm -e dell_inventory_collector
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature

# /usr/sbin/firmwaretool --bootstrap
No handlers could be found for logger "trace.firmwaretools"
pci_firmware(ven_0x8086_dev_0x25e2)/system(ven_0x1028_dev_0x01b2)
pci_firmware(ven_0x8086_dev_0x25e2)
[ rest removed ]


Any thoughts? :)



Kaj
-- 
Kaj J. Niemi
<kajtzu at basen.net>
FI +358 45 63 12000
KSA +966 54 52 43277




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20090210/6908faf6/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3833 bytes
Desc: not available
Url : http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20090210/6908faf6/attachment-0001.p7s 


More information about the Linux-PowerEdge mailing list