nova: unset cpu_model on aarch64
Without this, running DevStack on an `aarch64` environment will end up in cpu_model set to "Nehalem" and cpu_mode set to "host-passthrough" which does not work. This patch drops that value under aarch64 environments. Change-Id: I30be5a388dda5ccf08718670dbb14a28a4a8a8eb
This commit is contained in:
parent
d380858b2d
commit
28bed125a2
@ -56,6 +56,10 @@ function configure_nova_hypervisor {
|
||||
# arm64-specific configuration
|
||||
if is_arch "aarch64"; then
|
||||
iniset $NOVA_CONF libvirt cpu_mode "host-passthrough"
|
||||
# NOTE(mnaser): We cannot have `cpu_model` set if the `cpu_mode` is
|
||||
# set to `host-passthrough`, or `nova-compute` refuses to
|
||||
# start.
|
||||
inidelete $NOVA_CONF libvirt cpu_model
|
||||
fi
|
||||
|
||||
if isset ENABLE_FILE_INJECTION; then
|
||||
|
Loading…
Reference in New Issue
Block a user