Closed youngsensei144 closed 1 year ago
@youngsensei144 , I suspect you installed the HPE python-ilorest-library
before installing the DMTF redfish
library. Unfortunately, those 2 libraries can't coexist. Not sure where this is documented, but you should try the following:
pip uninstall redfish pip uninstall python-ilorest-library pip install redfish
Hi @youngsensei144, What @donzef has said seems to be right. Just tested the modules and they are working. Please try installing redfish with the below command pip3 install redfish==3.0.2
It should work after that.
This will be closed. Please reopen in case issue reappears
Dear HPE Developers,
I've installed this collection in my environment, but I am not sure if these playbooks and python modules have actually been tested to work.
For instance, when in an attempt to run the role
get_local_drive_details
, I'd get an error like this:But I've got redfish already installed in my current python env, e.g.
pip3 list | grep -i redfish
:Upon closer inspection, when one looks at the underlying python script
./ilo-ansible-collection/plugins/modules/get_logical_drives_details.py
, we see an import like the following:Do we mean
import RedfishClient
? e.g.There are many engineers who administer HPE servers who would really benefit from HPE being able to procure a stable collection for Ansible where they can easily interact with iLO for things like creating logical drives, mounting virtual isos, adding iLO users, changing iLO I.P. addresses, etc. via playbooks. Thank you for your efforts.