-
Notifications
You must be signed in to change notification settings - Fork 187
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
Redfish API Logout rises exception on Dell PowerVault ME5024 due to missing session_location #172
Comments
I see there is no When you say you tried to manually delete the session, was this by using the value of the |
Yes, that is right.
Is there a way to save the "Body Response of /redfish/v1/SessionService/Sessions"? |
As an experiment, would you be willing to try changing this line here: https://github.com/DMTF/python-redfish-library/blob/main/src/redfish/rest/v1.py#L292 to the following:
|
Yes, this fix worked!
|
Hi there!
I'm collecting information from a Dell PowerVault ME5024 storage device using its Redfish API. Everything works fine —I can authenticate and gather the required data— but I'm having trouble with session cleanup. The logout function doesn't work, causing sessions to accumulate over time.
Environment
Issue
It seems that the session location is not returned in the Location header of the auth request, but rather within the response body. This prevents the standard Redfish logout function from working as expected.
Follows one example session log:
What I've Tried
I attempted to manually call the delete() function, but I wasn't able to correctly extract and use the Id field from the authentication response body.
Help
Is there a workaround for it? Thanks in advance!
The text was updated successfully, but these errors were encountered: