Skip to content

baremetal: account for different types of CPU.Frequency - #4006

Merged
stephenfin merged 1 commit into
gophercloud:mainfrom
dtantsur:frequency
Sep 14, 2026
Merged

stephenfin merged 1 commit into
gophercloud:mainfrom
dtantsur:frequency

Conversation

@dtantsur

Copy link
Copy Markdown
Contributor

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]

@github-actions github-actions Bot added edit:baremetal This PR updates baremetal code semver:minor Backwards-compatible change backport-v2 This PR will be backported to v2 labels Sep 10, 2026
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 the edit:baremetalintrospection This PR updates baremetalintrospection code label Sep 10, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 63.594% (+0.006%) from 63.588% — dtantsur:frequency into gophercloud:main

@stephenfin
stephenfin added this pull request to the merge queue Sep 14, 2026
Merged via the queue into gophercloud:main with commit fab772e Sep 14, 2026
75 of 76 checks passed
@dtantsur
dtantsur deleted the frequency branch September 15, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v2 This PR will be backported to v2 edit:baremetal This PR updates baremetal code edit:baremetalintrospection This PR updates baremetalintrospection code semver:minor Backwards-compatible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants