Skip to content
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

Ignore if redfish fails to logout #78

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

gabrielcocenza
Copy link
Member

@gabrielcocenza gabrielcocenza commented Jul 17, 2024

Redfish sometimes fails to logout after scraping the data and this end up generating the metric redfish_collector_failed that trigger prometheus alerts that can be noise for production clouds.

This can be a BMC problem that might not be properly closing sessions.

For more info see:
DMTF/python-redfish-library#160

Closes: #76

Redfish sometimes fails to logout after scraping the data and this
end up generating the metric redfish_collector_failed that trigger
prometheus alerts that can be noise.

This can be a BMC problem that might not be properly closing
sessions.

For more info see:
DMTF/python-redfish-library#160

Closes: canonical#76
@gabrielcocenza gabrielcocenza requested review from jneo8 and Pjack July 18, 2024 12:52
@gabrielcocenza gabrielcocenza changed the title Igonore if redfish fails to logout with 401 as as response Igonore if redfish fails to logout Jul 18, 2024
@chanchiwai-ray
Copy link
Contributor

I don't know what's the best choice, if redfish can't logout properly, in the long run it will still cause issue like this canonical/hardware-observer-operator#136

@aieri aieri changed the title Igonore if redfish fails to logout Ignore if redfish fails to logout Jul 29, 2024
@gabrielcocenza gabrielcocenza merged commit 5ddd4d2 into canonical:main Aug 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid session resource errors cause CollectorFailed alerts
4 participants