Skip to content

Conversation

darmach
Copy link
Member

@darmach darmach commented May 18, 2023

Fix for nova not parsing RequestSpec.pci_request when resizing.

Quoting upstream change:

Nova uses the RequestSpec.pci_request in the PciPassthroughFilter to
decide if the PCI devicesm, requested via the pci_alias in the flavor
extra_spec, are available on a potential target host. During resize the
new flavor might contain different pci_alias request than the old flavor
of the instance. In this case Nova should use the pci_alias from the new
flavor to scheduler the destination host of the resize. However this
logic was missing and Nova used the old pci_request value based on the
old flavor. This patch adds the missing logic.

This behaviour resulted in resize not being executed.

Fix for nova not parsing RequestSpec.pci_request when resizing.
@darmach darmach self-assigned this May 18, 2023
@darmach darmach requested a review from a team as a code owner May 18, 2023 16:35
@markgoddard markgoddard merged commit 4f9ecfd into stackhpc/yoga May 22, 2023
@markgoddard markgoddard deleted the yoga-nova-bump branch May 22, 2023 09:41
Sign up for free to 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.

2 participants