Repository navigation
Conversation
Python test results497 tests 497 ✅ 3s ⏱️ Results for commit 198ed34. ♻️ This comment has been updated with latest results. |
stevekeay
force-pushed
the
fix-pci-device-hook
branch
2 times, most recently
from
November 16, 2026 15:38
7646eb0 to
3aea11a
Compare
stevekeay
force-pushed
the
fix-pci-device-hook
branch
2 times, most recently
from
November 20, 2026 21:02
3bf282c to
161e3b1
Compare
We oringinally tried to use Capabilities because they are a more powerful matching tool for flavor matching as the scalar quantity allows for flavor conditions like "at least 2" or "exactly 4". However in practise, capability support is not universal whereas traits are more easily consumable in the current deployment. Therefore we drop the capabilities in favour of baremetal node traits. We also change the configuration to make it easier to pass through Helm chat values and to make it compatible with the upstream built-in ironic hooks.
stevekeay
force-pushed
the
fix-pci-device-hook
branch
from
November 24, 2026 13:50
161e3b1 to
198ed34
Compare
This branch has not been deployed
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.
The original attempted to pass a dictionary through the oslo configuration, but in practice this gets mangled on its journey through helm -> ironic.conf -> olso so we re-implement as a list of strings.
We were also trying to use node capabilities but that causes complications, so we are going to use traits instead.
The configuration to go along with this is in https://github.com/RSS-Engineering/undercloud-deploy/pull/2349
This will, after redfish inspection, add traits of the form
CUSTOM_PCI_8_GPU_AMD_MI350P. This example would indicate that there are eight AMD Instinct 350P cards in the server's inventory.Only cards which are explicitly configured in ironic.ironic_understack.pci_device_alias will be added as traits.
Any existing traits that start with CUSTOM_PCI_ will be removed if they don't match the current inventory/configuration.