Package list python-castellan / 64207e3
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 Kaitlin Farr 4 years ago
5 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
5252 cfg.StrOpt('barbican_api_version',
5353 help='Version of the Barbican API, for example: "v1"'),
5454 cfg.StrOpt('auth_endpoint',
55 default='http://localhost:5000/v3',
55 default='http://localhost/identity/v3',
5656 help='Use this endpoint to connect to Keystone'),
5757 cfg.IntOpt('retry_delay',
5858 default=1,
2121 identity_group = cfg.OptGroup(name='identity')
2222 identity_options = [
2323 cfg.StrOpt('auth_url',
24 default='http://localhost:5000/v3',
24 default='http://localhost/identity/v3',
2525 help='Keystone endpoint'),
2626 cfg.StrOpt('username',
2727 default='admin',
3838 self.assertEqual(barbican_api_version,
3939 conf.get(bkm.BARBICAN_OPT_GROUP).barbican_api_version)
4040
41 auth_endpoint = 'http://test-server.org:5000/'
41 auth_endpoint = 'http://test-server.org/identity'
4242 options.set_defaults(conf, auth_endpoint=auth_endpoint)
4343 self.assertEqual(auth_endpoint,
4444 conf.get(bkm.BARBICAN_OPT_GROUP).auth_endpoint)
6868 username = 'admin'
6969 password = 'openstack'
7070 project_name = 'admin'
71 auth_url = 'http://localhost:5000/v3'
71 auth_url = 'http://localhost/identity/v3'
7272
7373 Once you have the appropriate services running and configured you can execute
7474 the functional tests through tox.
9494 username = 'admin'
9595 password = 'openstack'
9696 project_name = 'admin'
97 auth_url = 'http://localhost:5000/'
97 auth_url = 'http://localhost/identity/v3'
9898 auth = identity.Password(auth_url=auth_url,
9999 username=username,
100100 password=password,