Comments (5)
It is actually a bug in the ilo firmware that I think locfg.pl works around (or it has the same bug, I've not actually investigated) and locfg.pl: In XML documents, an & needs to be escaped, the XML generated by python-hpilo does this correctly. However, the iLO firmware does not properly unescape the password field.
I'm a bit hesitant to "fix" python-hpilo, so I would recommend working around this by using a password that does not contain a & character.
from python-hpilo.
I understand your point of view, you want to respect XML standards.
But as this is a bug in iLO and your code is only designed to work with iLOs (as far as I know ?), maybe would it be good to make it works ?
Regards.
from python-hpilo.
It's not just about standards. Fixing this is going to require really nasty hacks to make sure it works on all supported python versions. Look at how the CDATA support in hpilo.py is implemented and think "three times uglier".
from python-hpilo.
Actually, I've come up with a fairly OK way of doing this. At least it doesn't make me hide in the corner with shame. See commit 095d784, which will be in the next release.
from python-hpilo.
Thanks, it's great ! Many thanks for your reactivity.
from python-hpilo.
Related Issues (20)
- Is iLO5 supported? HOT 2
- hpilo_cli import_certificate - Internal CA singed cert import error
- ilo2 / ilo3 ssl unsupported protocol
- 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
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.