Reviewed: https://review.openstack.org/286868 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=04bbf658e7998d40ffbdb2b6467dfab8dc5fde55 Submitter: Jenkins Branch: master
commit 04bbf658e7998d40ffbdb2b6467dfab8dc5fde55 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
Reviewed: https:/ /review. openstack. org/286868 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=04bbf658e79 98d40ffbdb2b646 7dfab8dc5fde55
Committed: https:/
Submitter: Jenkins
Branch: master
commit 04bbf658e7998d4 0ffbdb2b6467dfa b8dc5fde55
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
Closes-Bug: #1447342