Reviewed: https://review.openstack.org/295509 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4951e9e550b86e4135e3312d4957799463e7336d Submitter: Jenkins Branch: stable/kilo
commit 4951e9e550b86e4135e3312d4957799463e7336d Author: Matt Riedemann <email address hidden> Date: Tue Mar 1 17:36:38 2016 -0500
libvirt: don't attempt to get baseline cpu features if host cpu model is None
In certain cases, libvirt can't determine the host's CPU model.
This is fine when you're setting virt_type=qemu and cpu_mode=none, for example (like with nested virtualization).
If we can't determine the host's cpu model, don't attempt to get cpu features on startup of the compute service (since it will crash the service).
Change-Id: I81ae5a04c7b4eb84e976902a575d890d4e850151 Closes-Bug: #1447342 (cherry picked from commit 04bbf658e7998d40ffbdb2b6467dfab8dc5fde55) (cherry picked from commit 1a0e8fce204fa99290de4d6f886371c80ecd2b48)
Reviewed: https:/ /review. openstack. org/295509 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4951e9e550b 86e4135e3312d49 57799463e7336d
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 4951e9e550b86e4 135e3312d495779 9463e7336d
Author: Matt Riedemann <email address hidden>
Date: Tue Mar 1 17:36:38 2016 -0500
libvirt: don't attempt to get baseline cpu features if host cpu model is None
In certain cases, libvirt can't determine the host's CPU model.
This is fine when you're setting virt_type=qemu and cpu_mode=none,
for example (like with nested virtualization).
If we can't determine the host's cpu model, don't attempt to get
cpu features on startup of the compute service (since it will
crash the service).
Change-Id: I81ae5a04c7b4eb 84e976902a575d8 90d4e850151 0ffbdb2b6467dfa b8dc5fde55) 290de4d6f886371 c80ecd2b48)
Closes-Bug: #1447342
(cherry picked from commit 04bbf658e7998d4
(cherry picked from commit 1a0e8fce204fa99