I try to connect to a HP Blade Server (HP BladeSystem c3000 Enclosure ) using Python's HP-ILO module.

obj=hpilo.Ilo('', login='Administrator', password='<redacted>', timeout=60, port=443, protocol=None, delayed=False)

Created a HP-ILO object using python library and try to get the asset tag details, i got the below error.

hpilo.IloError: Remote returned bogus data, maybe it's not an iLO

Python API : https://pythonhosted.org/python-hpilo/ilo.html

I can connect the server via browser and ssh client too, but i couldn't connect the server via RIBCL scripts or using python.

  • Good thing the maintainer of the module frequents this site. I'll ask him to comment.
    – ewwhite
    Apr 22 '14 at 11:05

This Python module is likely meant to work with the individual and standalone server ILO interfaces.

It is probably not intended for use with C7000 and C3000 blade enclosure Onboard Administrator modules.

  • 5
    As the author of that module, I can verify that this answer is correct :) Apr 22 '14 at 11:14

The python-hpilo module can only speak to iLO interfaces, either using hponcfg to talk to the local iLO, or via the network. It cannot use the chassis onboard administrator, as it does not expose the same XML interface.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.