]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
set default auth_strategy to keystone
authorChristian Berendt <berendt@b1-systems.de>
Mon, 5 May 2014 07:09:38 +0000 (09:09 +0200)
committergit-harry <git-harry@live.co.uk>
Thu, 9 Apr 2015 14:22:58 +0000 (15:22 +0100)
Like in change Ife63dc7ab680fcf0588d95c98fc9f29901485c64 for Nova
the default for auth_strategy should be keystone instead of noauth.

DocImpact Changed default config option 'auth_strategy' to 'keystone'.

Change-Id: Ia72c5bf9be641b438a4d428ba43e501d1aa333d6
Closes-Bug: #1327503

cinder/common/config.py
cinder/tests/conf_fixture.py

index f6a49c7c255941719a76ded1107c789a481e361b..cee3b518d4400167f138556f40f4ff78abd9e8ce 100644 (file)
@@ -167,7 +167,7 @@ global_opts = [
                default='cinder.backup.api.API',
                help='The full class name of the volume backup API class'),
     cfg.StrOpt('auth_strategy',
-               default='noauth',
+               default='keystone',
                choices=['noauth', 'keystone', 'deprecated'],
                help='The strategy to use for auth. Supports noauth, keystone, '
                     'and deprecated.'),
index 009928cc148e8673f29dfc430c4b43ae420396a4..b1c4ccffc70318482016a955e79d824a516bd4a7 100644 (file)
@@ -51,3 +51,4 @@ def set_defaults(conf):
     conf.set_default('state_path', os.path.abspath(
         os.path.join(os.path.dirname(__file__), '..', '..')))
     conf.set_default('policy_dirs', [])
+    conf.set_default('auth_strategy', 'noauth')