Browse code

Set libvirt_cpu_mode=none in nova.conf.

This patch sets the libvirt cpu mode to "none" unconditionally. Optimal
CPU performance isn't really critical with devstack. Without this
option, we are getting some devstack failures on some of the cloud
providers used by jenkins.

Fixes bug 1023513.

Change-Id: I01dc89a3edc6f118e248a965db858b26acbfeafe

Russell Bryant authored on 2012/07/13 00:06:50
Showing 1 changed files
... ...
@@ -1726,6 +1726,7 @@ if [ -n "$FLAT_INTERFACE" ]; then
1726 1726
 fi
1727 1727
 add_nova_opt "sql_connection=$BASE_SQL_CONN/nova?charset=utf8"
1728 1728
 add_nova_opt "libvirt_type=$LIBVIRT_TYPE"
1729
+add_nova_opt "libvirt_cpu_mode=none"
1729 1730
 add_nova_opt "instance_name_template=${INSTANCE_NAME_PREFIX}%08x"
1730 1731
 # All nova-compute workers need to know the vnc configuration options
1731 1732
 # These settings don't hurt anything if n-xvnc and n-novnc are disabled