Browse code

Fixes openvz driver support for nova when deployed with devstack.

Change-Id: I70599333a09267cbe2cd8afd075658f3f7d8bc9d
Fixes: bug #1119859

Daniel Salinas authored on 2013/02/09 08:17:53
Showing 1 changed files
... ...
@@ -1092,9 +1092,7 @@ if is_service_enabled nova; then
1092 1092
 
1093 1093
     elif [ "$VIRT_DRIVER" = 'openvz' ]; then
1094 1094
         echo_summary "Using OpenVZ virtualization driver"
1095
-        # TODO(deva): OpenVZ driver does not yet work if compute_driver is set here.
1096
-        #             Replace connection_type when this is fixed.
1097
-        #             iniset $NOVA_CONF DEFAULT compute_driver "openvz.connection.OpenVzConnection"
1095
+        iniset $NOVA_CONF DEFAULT compute_driver "openvz.driver.OpenVzDriver"
1098 1096
         iniset $NOVA_CONF DEFAULT connection_type "openvz"
1099 1097
         LIBVIRT_FIREWALL_DRIVER=${LIBVIRT_FIREWALL_DRIVER:-"nova.virt.libvirt.firewall.IptablesFirewallDriver"}
1100 1098
         iniset $NOVA_CONF DEFAULT firewall_driver "$LIBVIRT_FIREWALL_DRIVER"