Add support for the 'cpu_models' option in nova.conf
Since OpenStack Train release the 'cpu_models' config option
has superseded the 'cpu_model' config option in the nova.conf.
This patch adds support for the new 'cpu_models' allowing a user
to provide a comma separated list of supported, named CPU models.
This patch also includes a unit test for the cpu_mode='custom'.
Closes-bug: #2025914
Change-Id: I30328abc07d3304f1bfb67c81360fb5229214c97
(cherry picked from commit b57593f86dc0627d74a9264a9035a2c67fd69c01)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- nova-compute/ +/917721 /opendev. org/openstack/ charm-nova- compute/ commit/ 9c7a63c9e31e6b3 1674c591f47412e f36fd4e31c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit 9c7a63c9e31e6b3 1674c591f47412e f36fd4e31c
Author: Marcin Wilk <email address hidden>
Date: Mon Apr 15 13:59:51 2024 +0200
Add support for the 'cpu_models' option in nova.conf
Since OpenStack Train release the 'cpu_models' config option
has superseded the 'cpu_model' config option in the nova.conf.
This patch adds support for the new 'cpu_models' allowing a user
to provide a comma separated list of supported, named CPU models.
This patch also includes a unit test for the cpu_mode='custom'.
Closes-bug: #2025914 4f1bfb67c81360f b5229214c97 d74a9264a9035a2 c67fd69c01)
Change-Id: I30328abc07d330
(cherry picked from commit b57593f86dc0627