Merge "Fixes openvz driver support for nova when deployed with devstack."
This commit is contained in:
commit
3143ac5734
4
stack.sh
4
stack.sh
@ -1059,9 +1059,7 @@ if is_service_enabled nova; then
|
||||
|
||||
elif [ "$VIRT_DRIVER" = 'openvz' ]; then
|
||||
echo_summary "Using OpenVZ virtualization driver"
|
||||
# TODO(deva): OpenVZ driver does not yet work if compute_driver is set here.
|
||||
# Replace connection_type when this is fixed.
|
||||
# iniset $NOVA_CONF DEFAULT compute_driver "openvz.connection.OpenVzConnection"
|
||||
iniset $NOVA_CONF DEFAULT compute_driver "openvz.driver.OpenVzDriver"
|
||||
iniset $NOVA_CONF DEFAULT connection_type "openvz"
|
||||
LIBVIRT_FIREWALL_DRIVER=${LIBVIRT_FIREWALL_DRIVER:-"nova.virt.libvirt.firewall.IptablesFirewallDriver"}
|
||||
iniset $NOVA_CONF DEFAULT firewall_driver "$LIBVIRT_FIREWALL_DRIVER"
|
||||
|
Loading…
Reference in New Issue
Block a user