[meta-virtualization] [m-c-s][PATCH 6/6] python-keystone: update endpoints in config to match reality
Mark Asselstine
mark.asselstine at windriver.com
Wed Nov 22 10:28:12 PST 2017
When attempting to validate python-openstackclient it was found that
the old endpoints from previous releases of keystone where still being
used. Update the endpoints to reflect how the current version of
keyston is configured.
Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
meta-openstack/recipes-devtools/python/python-keystone_git.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb
index d7f6400..c3437cd 100644
--- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb
@@ -114,11 +114,11 @@ do_install_append() {
# Edit the configuration to allow it to work out of the box
KEYSTONE_CONF_FILE=${KEYSTONE_CONF_DIR}/keystone.conf
sed "/# admin_endpoint = .*/a \
- public_endpoint = http://%CONTROLLER_IP%:8081/keystone/main/ " \
+ public_endpoint = http://%CONTROLLER_IP%:5000/ " \
-i ${KEYSTONE_CONF_FILE}
sed "/# admin_endpoint = .*/a \
- admin_endpoint = http://%CONTROLLER_IP%:8081/keystone/admin/ " \
+ admin_endpoint = http://%CONTROLLER_IP%:35357/ " \
-i ${KEYSTONE_CONF_FILE}
sed -e "s:%SERVICE_TOKEN%:${SERVICE_TOKEN}:g" -i ${KEYSTONE_CONF_FILE}
--
2.7.4
More information about the meta-virtualization
mailing list