From e0e91d2c697522083827abc0f20637ab01b28e2d Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 11 Jul 2012 09:35:42 -0400 Subject: [PATCH] convert from connection_type to compute_driver connection_type is deprecated for Folsom, now using compute_driver to specify virt driver. This makes the change so that devstack uses the prefered way. Change-Id: I35c5ce64dc329121a61b888d44c05e3c70c6aecc --- stack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stack.sh b/stack.sh index 87865dcff3..f12eca944f 100755 --- a/stack.sh +++ b/stack.sh @@ -1803,7 +1803,7 @@ done if [ "$VIRT_DRIVER" = 'xenserver' ]; then read_password XENAPI_PASSWORD "ENTER A PASSWORD TO USE FOR XEN." - add_nova_opt "connection_type=xenapi" + add_nova_opt "compute_driver=xenapi.XenAPIDriver" XENAPI_CONNECTION_URL=${XENAPI_CONNECTION_URL:-"http://169.254.0.1"} XENAPI_USER=${XENAPI_USER:-"root"} add_nova_opt "xenapi_connection_url=$XENAPI_CONNECTION_URL" @@ -1814,7 +1814,7 @@ if [ "$VIRT_DRIVER" = 'xenserver' ]; then XEN_FIREWALL_DRIVER=${XEN_FIREWALL_DRIVER:-"nova.virt.firewall.IptablesFirewallDriver"} add_nova_opt "firewall_driver=$XEN_FIREWALL_DRIVER" else - add_nova_opt "connection_type=libvirt" + add_nova_opt "compute_driver=libvirt.LibvirtDriver" LIBVIRT_FIREWALL_DRIVER=${LIBVIRT_FIREWALL_DRIVER:-"nova.virt.libvirt.firewall.IptablesFirewallDriver"} add_nova_opt "firewall_driver=$LIBVIRT_FIREWALL_DRIVER" fi