fix(collector): support legacy Redfish firmware - #4354
Open
orangeCatDeveloper wants to merge 1 commit into
Open
Conversation
orangeCatDeveloper
force-pushed
the
fix/3210-redfish-legacy-schema
branch
3 times, most recently
from
September 1, 2026 05:51
5d9e964 to
fa0a043
Compare
orangeCatDeveloper
force-pushed
the
fix/3210-redfish-legacy-schema
branch
from
September 1, 2026 06:02
fa0a043 to
f05fab6
Compare
orangeCatDeveloper
marked this pull request as ready for review
September 1, 2026 06:29
Older BMC firmware embeds fan and power-supply data in legacy documents, while current collection paths only support newer standalone resources. Preserve compatibility without allowing server-provided resource URIs to send session tokens outside the monitored endpoint.
orangeCatDeveloper
force-pushed
the
fix/3210-redfish-legacy-schema
branch
from
September 6, 2026 23:21
f05fab6 to
f6eb885
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3210
Fan and PowerSupply collection fails on older Dell iDRAC firmware with
StatusCode 404, and cached Redfish sessions are not released.Newer Redfish schemas expose fans and power supplies as standalone collections, while older iDRAC firmware embeds them in
ThermalandPower; the collector only probes the newer paths. Session cleanup also resolves the server-providedLocationagainst the session service path, producing an invalid DELETE target.Probe modern and legacy layouts per chassis, resolve embedded
#JSON Pointer members from their containing document, reuse fetched documents, and map legacy fanReadingto RPM. Session requests now resolve relative and same-origin absolute resource URIs, reject cross-origin or downgraded targets before attachingX-Auth-Token, and accept every Redfish DELETE success status.Boundary: the session-creation
405still needs HTTP Basic Auth fallback, and no verified pre-2020.4 Battery resource is available.Validation uses a temporary Docker HTTP service seeded with the user-reported legacy iDRAC payload; hardware validation is still pending.