From a64ce3bf00d51e6e7f360197e2bf7061100c1b64 Mon Sep 17 00:00:00 2001 From: venkatamahesh Date: Mon, 22 Aug 2016 17:47:30 +0530 Subject: [PATCH] Keystone CLI is removed and so replaced with openstack CLI Change-Id: I3a304b042e15de9354c4c58c09e732346cdd3f6d Closes-Bug: #1581810 --- doc/source/tutorial-tenant-sharing.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/source/tutorial-tenant-sharing.rst b/doc/source/tutorial-tenant-sharing.rst index c495a1af2..86f7e482a 100644 --- a/doc/source/tutorial-tenant-sharing.rst +++ b/doc/source/tutorial-tenant-sharing.rst @@ -35,10 +35,16 @@ The first step is to install and configure Devstack + Congress: 2) The Devstack installation script will automatically create a data source instance of the neutronv2 driver. If you are not using Devstack, you will - need to create the data source:: + need to create the data source: + a.) If your environment supports identity v3 then, - $ AUTH_URL=`keystone endpoint-get --service=identity | grep "publicURL" | awk '{print $4}'` - $ openstack congress datasource create neutronv2 neutronv2 --config username=admin --config tenant_name=admin --config password=password --config auth_url=$AUTH_URL + $ AUTH_URL=`openstack endpoint list --service identity | grep "public" | awk '{print $14}'` + + b.) If your environment only supports identity v2 then, + + $ AUTH_URL=`openstack endpoint show identity | grep "public" | awk '{print $4}'` + + $ openstack congress datasource create neutronv2 neutronv2 --config username=admin --config tenant_name=admin --config password=password --config auth_url=$AUTH_URL 3) Change auth_strategy from "keystone" to "noauth" in /etc/congress/congress.conf