+++ This bug was initially created as a clone of Bug #1576799 +++
Backport the following commit to RHOS-12:
Author: Kashyap Chamarthy <email@example.com>
Date: Sat Apr 28 18:55:25 2018 +0200
libvirt: Make `cpu_model_extra_flags` case-insensitive for real
When we introduced `cpu_model_extra_flags` config attribute (in
commit: 6b601b7 -- "libvirt: Allow to specify granular CPU feature
flags"), we said it was case-insensitive; but unfortunately I missed to
_really_ make it so (despite proposing code for it in one of the
Address that mistake by making `cpu_model_extra_flags` case-insensitive
for real, from Nova's point of view.
NB: Internally, this patch is normalizing 'extra_flags' to _lower_
casing -- because CPU flags _must_ be lower case from libvirt's point of
view. Nova must honour that; otherwise, launching instances with an
upper case CPU flag, 'FOO', will fail with: "libvirtError: internal
error: Unknown CPU feature FOO".
Reported-by: Daniel P. Berrangé <firstname.lastname@example.org>
Signed-off-by: Kashyap Chamarthy <email@example.com>
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.