Revert "compute: don't use 'host-model' CPU mode"

This reverts commit d0c55cd2f0.

Change-Id: If15fd288178563c7bfc91a8d5a56fabf4ef21b8b
Closes-bug: #1640559
Related-bug: #1618473
This commit is contained in:
Alexey Stupnikov 2016-11-09 18:20:00 +00:00
parent d0c55cd2f0
commit 5b9b135984
1 changed files with 5 additions and 9 deletions

View File

@ -265,15 +265,11 @@ class openstack::compute (
nova_shell => '/bin/bash',
}
# CPU configuration created using host-model may not work as expected.
# The guest CPU may differ from the configuration and it may also confuse
# guest OS by using a combination of CPU features and other parameters (such
# as CPUID level) that don't work. Until these issues are fixed, it's a good
# idea to avoid using host-model
# http://libvirt.org/formatdomain.html#elementsCPU
# https://bugs.launchpad.net/mos/+bug/1618473
$libvirt_cpu_mode = 'none'
if str2bool($::is_virtual) {
$libvirt_cpu_mode = 'none'
} else {
$libvirt_cpu_mode = 'host-model'
}
# Install / configure nova-compute
# From legacy ceilometer notifications for nova