Change keystone endpoint

DevStack was changed so that keystone uses uwsgi [1]. This
means we can't call keystone with the port number anymore.

1. https://review.openstack.org/#/c/456344/

Change-Id: I349b689e8030c8c2a7313b9781973952ead29c75
This commit is contained in:
Kaitlin Farr 2017-04-19 15:38:46 -04:00
parent 06be3f5cf2
commit 64207e3035
5 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@ barbican_opts = [
cfg.StrOpt('barbican_api_version',
help='Version of the Barbican API, for example: "v1"'),
cfg.StrOpt('auth_endpoint',
default='http://localhost:5000/v3',
default='http://localhost/identity/v3',
help='Use this endpoint to connect to Keystone'),
cfg.IntOpt('retry_delay',
default=1,

View File

@ -22,7 +22,7 @@ TEST_CONF = None
identity_group = cfg.OptGroup(name='identity')
identity_options = [
cfg.StrOpt('auth_url',
default='http://localhost:5000/v3',
default='http://localhost/identity/v3',
help='Keystone endpoint'),
cfg.StrOpt('username',
default='admin',

View File

@ -39,7 +39,7 @@ class TestOptions(base.TestCase):
self.assertEqual(barbican_api_version,
conf.get(bkm.BARBICAN_OPT_GROUP).barbican_api_version)
auth_endpoint = 'http://test-server.org:5000/'
auth_endpoint = 'http://test-server.org/identity'
options.set_defaults(conf, auth_endpoint=auth_endpoint)
self.assertEqual(auth_endpoint,
conf.get(bkm.BARBICAN_OPT_GROUP).auth_endpoint)

View File

@ -69,7 +69,7 @@ The file should look something like the following:
username = 'admin'
password = 'openstack'
project_name = 'admin'
auth_url = 'http://localhost:5000/v3'
auth_url = 'http://localhost/identity/v3'
Once you have the appropriate services running and configured you can execute
the functional tests through tox.

View File

@ -95,7 +95,7 @@ that is being abstracted.
username = 'admin'
password = 'openstack'
project_name = 'admin'
auth_url = 'http://localhost:5000/'
auth_url = 'http://localhost/identity/v3'
auth = identity.Password(auth_url=auth_url,
username=username,
password=password,