On 21/01/10 14:52, jeffrey_l_mend...@dell.com wrote: >> Running IE Submodule for /usr/libexec/dell_dup/dell_ie_bmc-1.0.8 >> Plugin command is bmcie.sh -xml > inv.xml Output file is inv.xml >> Plugin timeout is 300 output from the cmd was: Starting Systems >> Management Device Drivers: Starting dell_rbu: Already started[ OK >> ] Starting ipmi driver: [ OK ] <?xml version="1.0" >> encoding="UTF-8" ?> <SVMInventory lang="en"/> > > Problem here is this module is outputting non-xml, it should only > output xml. The bmcie.sh script is starting services before it runs > the main module, and we are getting that output. > >> File >> "/usr/lib/python2.4/site-packages/dell_ft_ie_interface/ie_interface.py", >> >> line 213, in inventory_hook >> for device in svm.genPackagesFromSvmXml(stdout): File >> "/usr/lib/python2.4/site-packages/dell_ft_ie_interface/svm.py", >> line 69, in genPackagesFromSvmXml dom = >> xml.dom.minidom.parseString(xmlstr) File >> "/usr/lib64/python2.4/xml/dom/minidom.py", line 1925, in >> parseString > > Here I'm parsing the output with minidom. An improvement would be to > catch the exception and move on, ignoring this module. > > As a workaround, inspect the bmcie.sh module and see what services it > is starting. Start those before running bootstrap_firmware.
Jeff, Thanks for the pointer. Here's a patch that fixes the problem: --- /usr/libexec/dell_dup/dell_ie_bmc-1.0.8/bmcie.sh.orig 2010-01-21 15:01:20.000000000 +0000 +++ /usr/libexec/dell_dup/dell_ie_bmc-1.0.8/bmcie.sh 2010-01-21 14:59:31.000000000 +0000 @@ -10,8 +10,8 @@ [ $_SERVICE_STARTED -eq $_TRUE ] } [ -f $_INSTSVCDRV ] && { - $_INSTSVCDRV status >/dev/null 2>&1 || { - $_INSTSVCDRV start >/dev/null 2>&1 + $_INSTSVCDRV status 2>&1 >/dev/null || { + $_INSTSVCDRV start 2>&1 >/dev/null _SERVICE_STARTED=$_TRUE } } R. _______________________________________________ Linux-PowerEdge mailing list Linux-PowerEdge@dell.com https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq