commit 5f994a18b3105047a2231231815d09f96c920958
Author: Sean Mooney <email address hidden>
Date: Wed Jan 6 18:56:39 2021 +0000
Test numa and vcpu topologies bug: #1910466
This change reproduces bug #1910466
When hw:cpu_max_[sockets|cores|threads] is configured
in addition to an explict numa topologies and cpu pinning
nova is currently incapable of generating the correct
virtual CPU topology resulting in an index out of range
error as we attempt to retrieve the first topology
from an empty list.
This change reproduces the error via a new functional
test.
Related-Bug: #1910466
Change-Id: I333b3d85deed971678141307dd06545e308cf989
(cherry picked from commit fe25fa13e0572aafb62b28bf7fa843a1860e5010)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /797652 /opendev. org/openstack/ nova/commit/ 5f994a18b310504 7a2231231815d09 f96c920958
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 5f994a18b310504 7a2231231815d09 f96c920958
Author: Sean Mooney <email address hidden>
Date: Wed Jan 6 18:56:39 2021 +0000
Test numa and vcpu topologies bug: #1910466
This change reproduces bug #1910466 max_[sockets| cores|threads] is configured
When hw:cpu_
in addition to an explict numa topologies and cpu pinning
nova is currently incapable of generating the correct
virtual CPU topology resulting in an index out of range
error as we attempt to retrieve the first topology
from an empty list.
This change reproduces the error via a new functional
test.
Related-Bug: #1910466 1678141307dd065 45e308cf989 fb62b28bf7fa843 a1860e5010)
Change-Id: I333b3d85deed97
(cherry picked from commit fe25fa13e0572aa