From 5a3f90bea7296a9b9ec5b99452c03280a056a232 Mon Sep 17 00:00:00 2001 From: Daniel Salinas Date: Fri, 8 Feb 2013 17:17:53 -0600 Subject: [PATCH] Fixes openvz driver support for nova when deployed with devstack. Change-Id: I70599333a09267cbe2cd8afd075658f3f7d8bc9d Fixes: bug #1119859 --- stack.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stack.sh b/stack.sh index 8a814a012e..11fafc12d6 100755 --- a/stack.sh +++ b/stack.sh @@ -1092,9 +1092,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"