Comments (4)
HPiLO_CLI command output if it helps
[root@localhost iLO]# hpilo_cli -dd '16.114.189.214' -l Administrator -p ***** get_fw_version
Connecting to 16.114.189.214 port 443
Connecting to 16.114.189.214 port 443
Sending XML request, 132 bytes
POST /ribcl HTTP/1.1
Host: localhost
Content-Length: 52
Connection: Close
Received 424 bytes
HTTP/1.1 200 OK
Content-Type: text/xml
Transfer-Encoding: chunked
Cache-Control: no-cache
Connection: close
Date: Sun, 06 Oct 2013 13:41:03 GMT
Server: HP-iLO-Server/1.30
Traceback (most recent call last):
File "/usr/local/bin/hpilo_cli", line 280, in
main()
File "/usr/local/bin/hpilo_cli", line 194, in main
results = [getattr(ilo, method)(**params)]
File "/usr/local/lib/python3.4/site-packages/hpilo.py", line 950, in get_fw_version
return self._info_tag('RIB_INFO', 'GET_FW_VERSION')
File "/usr/local/lib/python3.4/site-packages/hpilo.py", line 623, in _info_tag
header, message = self._request(root)
File "/usr/local/lib/python3.4/site-packages/hpilo.py", line 186, in _request
xml = b("\r\n").join(etree.tostringlist(xml)) + b('\r\n')
File "/usr/local/lib/python3.4/xml/etree/ElementTree.py", line 1151, in tostringlist
short_empty_elements=short_empty_elements)
File "/usr/local/lib/python3.4/xml/etree/ElementTree.py", line 778, in write
short_empty_elements=short_empty_elements)
TypeError: _serialize_xml() got an unexpected keyword argument 'short_empty_elements'
from python-hpilo.
Your environment is messed up. You're using a python 3.4 stdlib with python 2.6/2.7. This will never work and is in no way related to anything python-hpilo does.
from python-hpilo.
Ah, no, I need to read better :) You're using python-hpilo 2.6, not python 2.6 :)
Looking at the actual output: you're using a buggy version of the iLO firmware that uses single quotes to quote attributes. I believe python 3.4's elementtree will barf if it does that. Please upgrade the firmware of this iLO device.
from python-hpilo.
Fixed in 02dca19
from python-hpilo.
Related Issues (20)
- From Ansible, when targeting iLO version 5, only hw_eth0 and hw_eth_ilo show details, missing all other hw_ethX. HOT 1
- hpilo 4.4.3 : iLO2 : XML or text declaration not at start of entity: line 2, column 0
- HP download site seems to be missing intermediate certs.
- HPE Smart Array version details displayling null using latest version 4.4.3.
- [feature] Add ability to connect to ILO over HTTPS proxy
- Outdated COMPAQ (HP) iLO v2 sslv3 (tls1/aes-128) issue HOT 1
- Support for roles and/or new privileges gen10/ilo5 HOT 1
- (Debian) how to run tests
- get_one_time_boot not work
- python-hpilo can't connect anymore to an iLO2 server on python3.10 HOT 13
- EPEL 8 & 9 Package Maintainers Needed HOT 1
- missing BIOS setting feature
- hponcfg is being deprecated by HPE
- iLoError not clear after 100% download completion from hpilo_cli HOT 2
- Remove IRS Direct Connect functionality, as it has been discontinued.
- ilo6 compatibility HOT 2
- Some Python2 code still in hpilo_cli file
- hpilo_cli: cannot execute: required file not found
- Compatibility issues with Python3.12: SSL: WRONG_SIGNATURE_TYPE HOT 1
- Multiple "SyntaxWarning: invalid escape sequence" in hpilo.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-hpilo.