Repository navigation
chore(ironic): clean up base policy overrides - #2839
Merged
Merged
Conversation
Also correct the clean_steps default, which was a guess and did not match the actual upstream rule.
The ucadmin-role keystone role is not created anywhere, so the rule reduces to role:admin. No change in effective policy. Also correct the clean_steps comment: the override does not strictly broaden the upstream default.
cardoe
enabled auto-merge
December 2, 2026 15:35
haseebsyed12
approved these changes
Dec 2, 2026
nicholaskuechler
approved these changes
Dec 2, 2026
1 task
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.
What does this change do?
Tidies the ironic policy overrides in
components/ironic/values.yaml:baremetal:node:set_console_staterule.baremetal:node:inventory:get), matching how the console rules already extend to the lessee. Upstream only allows system/owner readers and the service role.# default:comment, taken fromoslopolicy-sample-generator --namespace ironic.apiin the 2026.1 and 2026.2 ironic images. This corrects theclean_stepsdefault, which was a guess (role:admin and system_scope:all) and is actually much broader upstream.role:ucadmin-rolefrom theclean_stepsanddisable_cleaningrules. No such keystone role is created (ucadminis a group grantedadmin), so the rules reduce torole:adminwith no change in effective policy. Both overrides are kept for now because the Argo workflow still uses project-scoped credentials.The new inventory rule was checked with oslo.policy from the 2026.2 image: lessee reader and owner reader are allowed, a reader in an unrelated project is denied.
Upgrade impact
upgrade-impactlabel and a release note: runscriv createfrom therepository root and describe the required action in the generated
changelog.d/file. See RELEASING.md.Operator action means anything a deployment has to do beyond a normal resync:
deploy repo or values changes, new or removed secrets, enabling or disabling a
component, or a manual one-time step.