[patch] keystone: Use v3 for admin endpoint 43/49843/3
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 2 Jan 2018 04:45:42 +0000 (05:45 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 3 Jan 2018 00:14:45 +0000 (01:14 +0100)
Now that v2 API is obsolete, also switch 'admin' endpoint to v3
(previously it was kept back for OCL compatibility).

Change-Id: I9775d59d5e6b93d7351157f7550a0dd7114bee2f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/patches/reclass-system-salt-model/0004-Revert-Admin-endpoint-for-keystone-v3.patch [new file with mode: 0644]

diff --git a/mcp/patches/reclass-system-salt-model/0004-Revert-Admin-endpoint-for-keystone-v3.patch b/mcp/patches/reclass-system-salt-model/0004-Revert-Admin-endpoint-for-keystone-v3.patch
new file mode 100644 (file)
index 0000000..8731c13
--- /dev/null
@@ -0,0 +1,35 @@
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+: Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+:
+: All rights reserved. This program and the accompanying materials
+: are made available under the terms of the Apache License, Version 2.0
+: which accompanies this distribution, and is available at
+: http://www.apache.org/licenses/LICENSE-2.0
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+Date: Tue, 2 Jan 2018 05:40:20 +0100
+Subject: [PATCH] Revert "Admin endpoint for keystone v3"
+
+Now that v2 API is obsolete, the 'admin' endpoint is unavailable,
+forcing clients to try the next endpoint (i.e. 'public'), which
+usually works, but implies external routing between mgmt and public
+is in place.
+For isolated networks, no valid endpoint is found.
+
+This reverts commit a045e8ef192b5a729e25c616cade70c2b0ad0761.
+
+Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+---
+ keystone/client/service/keystone3.yml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/keystone/client/service/keystone3.yml b/keystone/client/service/keystone3.yml
+index bd0c63b..cc385f2 100644
+--- a/keystone/client/service/keystone3.yml
++++ b/keystone/client/service/keystone3.yml
+@@ -20,4 +20,4 @@ parameters:
+                 internal_path: '/v3'
+                 admin_address: ${_param:keystone_service_host}
+                 admin_port: 35357
+-                admin_path: '/v2.0'
++                admin_path: '/v3'