From ba1acf80efeb98296e9dc9fa89330550f82f3a7b Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Mon, 3 Mar 2014 18:34:53 +0400 Subject: [PATCH] Use keystone v3 api by default It's needed to support transient clusters. Keystone v3 api was enabled by default in Keystone starting from the Havana release, so, we could use it by default too. Change-Id: I10bec790c72b07983e2bc908cc24485005ed6536 --- etc/savanna/savanna.conf.sample | 2 +- savanna/utils/openstack/keystone.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/savanna/savanna.conf.sample b/etc/savanna/savanna.conf.sample index b835178c..f2dff038 100644 --- a/etc/savanna/savanna.conf.sample +++ b/etc/savanna/savanna.conf.sample @@ -293,7 +293,7 @@ # Enables Savanna to use Keystone API v3. If that flag is # disabled, per-job clusters will not be terminated # automatically. (boolean value) -#use_identity_api_v3=false +#use_identity_api_v3=true # diff --git a/savanna/utils/openstack/keystone.py b/savanna/utils/openstack/keystone.py index facf51a8..bed2ce47 100644 --- a/savanna/utils/openstack/keystone.py +++ b/savanna/utils/openstack/keystone.py @@ -25,7 +25,7 @@ CONF = cfg.CONF opts = [ cfg.BoolOpt('use_identity_api_v3', - default=False, + default=True, help='Enables Savanna to use Keystone API v3. ' 'If that flag is disabled, ' 'per-job clusters will not be terminated automatically.')