Remove cpu_mode option in Nova configuration
The nova code already detects and defaults the cpu_mode, so remove the value from defaults and template to let Nova do the right things. If a deploy wants to change this setting, they can then use the config override mechanism to do so. Change-Id: I930582092d2c9eefc57e54b8620a80da3c35ef37 Closes-bug: #1679707
This commit is contained in:
parent
3fe7e811c7
commit
27872a8cad
@ -312,7 +312,6 @@ nova_external_ssl: false
|
||||
nova_secure_proxy_ssl_header: HTTP_X_FORWARDED_PROTO
|
||||
|
||||
## Nova global config
|
||||
nova_cpu_mode: host-model
|
||||
nova_linuxnet_interface_driver: nova.network.linux_net.NeutronLinuxBridgeInterfaceDriver
|
||||
|
||||
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The ``nova_cpu_mode`` Ansible variable has been removed to allow
|
||||
Nova to detect the default value automatically. Hard-coded values
|
||||
can cause problems.
|
@ -258,7 +258,6 @@ inject_partition = {{ nova_libvirt_inject_partition }}
|
||||
inject_password = {{ nova_libvirt_inject_password }}
|
||||
inject_key = {{ nova_libvirt_inject_key }}
|
||||
use_virtio_for_bridges = True
|
||||
cpu_mode = {{ nova_cpu_mode }}
|
||||
virt_type = {{ nova_virt_type }}
|
||||
remove_unused_resized_minimum_age_seconds = {{ nova_remove_unused_resized_minimum_age_seconds }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user