Closed richotero closed 1 year ago
On my servers, the CHIF shared library is provided by the ilorest
Debian package from HPE's SDR. I noticed that the current version number of the Python API is 4.5.0.0 whereas the latest version of ilorest
in the SDR is 4.0.0.0. I thought there might be a compatibility problem between the v4.0.0.0 CHIF shared library and iLO 6 that would affect both the Python API and the ilorest
program.
I found newer ilorest
packages for RHEL on support.hpe.com, so I downloaded the v4.5.0.0 RPM, extracted the shared library file ilorest_chif.so
, and replaced the old version on my servers (in /usr/lib/x86_64-linux-gnu
). There was no change in behavior.
My problem can apparently be attributed to user error. I've been searching the web for information and I eventually came across some forum posts that mentioned an hpilo
kernel module. I found that hpilo
was loaded on the server with iLO 5 but not installed or loaded on the server with iLO 6.
I'm working with a custom Linux distribution that is derived from Ubuntu. The hpilo
module should be provided by the linux-modules-extra
package. It seems that the installer I built and used on the newer server had a slightly different set of packages or some other issue with package dependencies that resulted in linux-modules-extra
and the hpilo
module not being installed. After I corrected that, I can no longer reproduce the problem that's described here. Using the Python API to connect and make requests to iLO 5 and iLO 6 works as expected as long as hpilo
is loaded and the CHIF driver shared library from the ilorest
package is installed.
Example scripts from this repository work as expected with iLO 5 but fail with
ChifDriverMissingOrNotFound
with iLO 6. The problem can be demonstrated with get_ilo_ip.py. The CHIF driver is provided by theilorest
package from HPE's APT repository.Modify get_ilo_ip.py for Local iLO
Failure on DL380 Gen11 (iLO 6, v1.30)
Success on Apollo 4510 Gen10 (iLO 5, v2.60)