Some Redfish implementations advertise collection members in their JSON responses that don't actually exist. For example, some HGX boards list LogServices/FDR as a member, but return 404 when sushy tries to fetch it. This causes sushy to fail during System initialization. Change get_members() to catch ResourceNotFoundError for individual members and log a warning instead of failing the entire operation. This allows sushy to work with incomplete/buggy Redfish implementations. Closes-Bug: #2141499 Change-Id: If10583d3ac106bfa242a795ab46877362b219257 Signed-off-by: Marcus Furlong <furlongm@gmail.com>
Overview
Sushy is a Python library to communicate with Redfish based systems.
The goal of the library is to be extremely simple, small, have as few dependencies as possible and be very conservative when dealing with BMCs by issuing just enough requests to it (BMCs are very flaky).
Therefore, the scope of the library has been limited to what is supported by the OpenStack Ironic project. As the project grows and more features from Redfish are needed we can expand Sushy to fulfill those requirements.
- Free software: Apache license
- Includes Redfish registry files licensed under
-
Creative Commons Attribution 4.0 License: https://creativecommons.org/licenses/by/4.0/
- Documentation: https://docs.openstack.org/sushy/latest/
- Usage: https://docs.openstack.org/sushy/latest/reference/usage.html
- Source: https://opendev.org/openstack/sushy
- Bugs: https://bugs.launchpad.net/sushy
- Release Notes: https://docs.openstack.org/releasenotes/sushy/
Description
Languages
Python
100%