Make nova use fatal_deprecations=true
We should not be using deprecated config options here, so lets set fatal_deprecations=True to make sure. Stop using deprecated LibvirtHybridOVSBridgeDriver Change-Id: I0a43780270d092a42ede6c0667343f0d02b3aa67
This commit is contained in:
parent
ff38d464e4
commit
e095daa732
@ -73,13 +73,7 @@ function _neutron_ovs_base_configure_l3_agent() {
|
||||
}
|
||||
|
||||
function _neutron_ovs_base_configure_nova_vif_driver() {
|
||||
# The hybrid VIF driver needs to be specified when Neutron Security Group
|
||||
# is enabled (until vif_security attributes are supported in VIF extension)
|
||||
if [[ "$Q_USE_SECGROUP" == "True" ]]; then
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver"}
|
||||
else
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.LibvirtGenericVIFDriver"}
|
||||
fi
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.LibvirtGenericVIFDriver"}
|
||||
}
|
||||
|
||||
# Restore xtrace
|
||||
|
1
lib/nova
1
lib/nova
@ -377,6 +377,7 @@ function create_nova_conf() {
|
||||
iniset $NOVA_CONF DEFAULT ec2_workers "4"
|
||||
iniset $NOVA_CONF DEFAULT metadata_workers "4"
|
||||
iniset $NOVA_CONF DEFAULT sql_connection `database_connection_url nova`
|
||||
iniset $NOVA_CONF DEFAULT fatal_deprecations "True"
|
||||
iniset $NOVA_CONF DEFAULT instance_name_template "${INSTANCE_NAME_PREFIX}%08x"
|
||||
iniset $NOVA_CONF osapi_v3 enabled "True"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user