Closed tpdean closed 11 years ago
Hmm, looks like get_embedded_health output was changed significantly. I'll make hpilo.py cope.
Hi, just for your info, I got a similar issue when executing the same method against an ILO 3 server with firmware 1.28.
Traceback (most recent call last):
File "/usr/lib/wingide-101-4.1/src/debug/tserver/_sandbox.py", line 1, in
File "/usr/lib/python2.6/site-packages/hpilo.py", line 712, in get_embedded_health process=process) File "/usr/lib/python2.6/site-packages/hpilo.py", line 508, in _info_tag return self._process_info_tag(message, returntags or [tagname], process) File "/usr/lib/python2.6/site-packages/hpilo.py", line 519, in _process_info_tag return process(self._element_children_to_dict(message)) File "/usr/lib/python2.6/site-packages/hpilo.py", line 430, in _element_children_to_dict val = self._element_to_list(elt) File "/usr/lib/python2.6/site-packages/hpilo.py", line 472, in _element_to_list return [self._element_children_to_dict(x) for x in element] File "/usr/lib/python2.6/site-packages/hpilo.py", line 443, in _element_children_to_dict retval[key].update(val) AttributeError: 'int' object has no attribute 'update'
Not sure this may be of any help but HP's iLO 3 Scripting and Command Line Guide mentions (pag. 141):
'If you are using a utility other than CPQLOCFG (such as PERL), the following steps help ensure that the iLO 3 firmware returns properly formatted XML. You must incorporate the following tag into the script sent to iLO 3:
Yeah, I have an incomplete fix locally that prevents the crash, but hides some data. Need to polish the test suite a bit more and I'll do another release.
Version 2.1, just released, has a complete test suite and a new implementation of get_embedded_health that works on ilo3 and ilo4.
great ! thanks for the good work :-)
Encountering a python traceback when attempting to execute the get_embedded_health method against ilo4 w/firmware 1.13:
Debug output: