-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rf_sensor_list.py is failing with different errors #165
Comments
For the first error, it looks like you don't have the required redfish module installed. Can you run the following and provide the output?
It looks like the service you're using is not implemented properly and is missing mandatory properties. Can you add |
/usr/local/bin/rf_sensor_list.py
Name: redfish
|
PLease note that I am not able to reproduce second issue now. Not sure if any configuraton got updated on that setup |
For your first issue, do you have other versions of Python installed? It looks like everything is installed under Python3.9, but if it runs from a different Python instance, that might be where you're seeing a conflict. |
└─# rf_sensor_list.py --user --password --rhost https://
Traceback (most recent call last):
File "/usr/local/bin/rf_sensor_list.py", line 17, in
import redfish
ImportError: No module named redfish
$ rf_sensor_list.py --user --password --rhost https://
'Id'
Traceback (most recent call last):
File "/usr/local/bin/rf_sensor_list.py", line 51, in
redfish_obj.logout()
File "/usr/local/lib/python3.10/dist-packages/redfish/rest/v1.py", line 993, in logout
raise BadRequestError("Invalid session resource: %s, "
redfish.rest.v1.BadRequestError: Invalid session resource: /redfish/v1/SessionService/Sessions/Administratordbb81fa8e614428e8f125b8ecc247b2b, return code: 401
gumpana@silver:~/git/ftf/utils$
The text was updated successfully, but these errors were encountered: