Skip to content

feat(nova): Adds custom Nova scheduler filter for host traits - #2092

Open
nicholaskuechler wants to merge 1 commit into
mainfrom
PUC-1736-20260622-0936
Open

feat(nova): Adds custom Nova scheduler filter for host traits#2092
nicholaskuechler wants to merge 1 commit into
mainfrom
PUC-1736-20260622-0936

Conversation

@nicholaskuechler

@nicholaskuechlernicholaskuechler commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

This is a custom nova scheduler filter allowing us to target ironic baremetal nodes based on their traits:

Set a custom trait on a baremetal node:

openstack baremetal node add trait 609a8c97-32a2-4308-95ff-e4256706d28f CUSTOM_NICK

Then we can target a build to the node with the CUSTOM_NICK trait:

openstack server create \
--flavor gp2.small \
--image 5048de36-4c01-4047-b638-195e639cb1e3 \
--nic net-id=demo-project \
--key-name nick \
--use-config-drive \
--hint trait:CUSTOM_NICK=required \
nick-traits-20260625

@nicholaskuechler
nicholaskuechlerforce-pushed the PUC-1736-20260622-0936 branch 10 times, most recently from d806068 to 9d444b0CompareJune 26, 2026 14:52
@nicholaskuechler
nicholaskuechler marked this pull request as ready for review June 26, 2026 14:52
@nicholaskuechler
nicholaskuechler requested a review from a teamJune 26, 2026 14:56
@nicholaskuechler
nicholaskuechlerforce-pushed the PUC-1736-20260622-0936 branch 2 times, most recently from 0b9267b to 3615d8cCompareJune 30, 2026 17:04
@nicholaskuechler
nicholaskuechlerforce-pushed the PUC-1736-20260622-0936 branch 2 times, most recently from 368550c to a92881cCompareJuly 7, 2026 15:37
@nicholaskuechler
nicholaskuechlerforce-pushed the PUC-1736-20260622-0936 branch 2 times, most recently from 74b090b to 6441ef2CompareJuly 21, 2026 14:17
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@nicholaskuechler