Skip to content

Allow admins to list all baremetal nodes #1369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions etc/kayobe/kolla/config/ironic/policy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Retrieve multiple Node records
# GET /nodes
# GET /nodes/detail
# Intended scope(s): system, project
# Overridden: added role:admin
"baremetal:node:list_all": "role:admin or (role:reader and system_scope:all) or (role:service and system_scope:all) or rule:service_role"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
features:
- |
Added a custom policy to Ironic that allows users with the `admin` role to
list all baremetal nodes. This is required at sites where baremetal
provisioning targets a specific node, as we need to look up the node's uuid
to pass as the hypervisor hostname.
Loading