Skip to content

[v2] baremetal: account for different types of CPU.Frequency - #4011

Merged
winiciusallan merged 1 commit into
v2from
bp-v2-0bffcd8
Sep 15, 2026
Merged

winiciusallan merged 1 commit into
v2from
bp-v2-0bffcd8

Conversation

@gophercloud-backport-bot

Copy link
Copy Markdown

Backport: #4006

Ironic has two full-featured inspection implementations: via IPA
(in-band) and via Redfish. Unfortunately, the implementations disagreed
on the type of the Frequency field: IPA uses a string, while the Redfish
implementation returns a proper number.

We'll eventually clean it up on the Ironic side, but existing API
versions will have to live with this duality. This patch updates
Gophercloud to handle Frequency as a number of convert it to the current
string format, while also exposing the actual value.

Ref: https://bugs.launchpad.net/ironic/+bug/2166878

Signed-off-by: Dmitry Tantsur [email protected]

Ironic has two full-featured inspection implementations: via IPA
(in-band) and via Redfish. Unfortunately, the implementations disagreed
on the type of the Frequency field: IPA uses a string, while the Redfish
implementation returns a proper number.

We'll eventually clean it up on the Ironic side, but existing API
versions will have to live with this duality. This patch updates
Gophercloud to handle Frequency as a number of convert it to the current
string format, while also exposing the actual value.

Signed-off-by: Dmitry Tantsur <[email protected]>
@github-actions github-actions Bot added v2 This PR targets v2 edit:baremetal This PR updates baremetal code edit:baremetalintrospection This PR updates baremetalintrospection code semver:minor Backwards-compatible change labels Sep 14, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 64.015% (+0.005%) from 64.01% — bp-v2-0bffcd8 into v2

@winiciusallan
winiciusallan merged commit 7c680e5 into v2 Sep 15, 2026
19 checks passed
@winiciusallan
winiciusallan deleted the bp-v2-0bffcd8 branch September 15, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

edit:baremetal This PR updates baremetal code edit:baremetalintrospection This PR updates baremetalintrospection code semver:minor Backwards-compatible change v2 This PR targets v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants