Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keystone needs to accept region name as parameter. #236

Closed
imkarrer opened this issue Jan 16, 2015 · 5 comments
Closed

Keystone needs to accept region name as parameter. #236

imkarrer opened this issue Jan 16, 2015 · 5 comments
Assignees

Comments

@imkarrer
Copy link

A user can only benchmark the proxies on the default first region. I would like the ability to target any region's proxies with keystone auth.

@yllions yllions self-assigned this Jan 21, 2015
@yllions
Copy link
Contributor

yllions commented Jan 26, 2015

You can't specify a region name when you access the storage service with keystone auth. The region name of a storage service is initialized when you setup the storage service and its endpoint with keystone

@imkarrer
Copy link
Author

When there are multiple Regions in a Swift deployment, it is standard for there to be an endpoint for each Region for keystone. OS_REGION_NAME is the parameter which keystone evaluates to determine which Region's endpoint to use.

Below is a direct quote from the python-keystoneclient readme
https://github.com/openstack/python-keystoneclient

Since the Identity service can return multiple regions in the service catalog, you can specify the one you want with --os-region-name (or export OS_REGION_NAME):

export OS_REGION_NAME=north
Warning

If a region is not specified and multiple regions are returned by the Identity service, the client may not access the same region consistently.

@yllions
Copy link
Contributor

yllions commented Jan 28, 2015

In COSBench, we just used keystone REST API. It seems that there is no Region parameter in keystone REST API.
This is the quote from openstack identity api: http://developer.openstack.org/api-ref-identity-v2.html

@yllions
Copy link
Contributor

yllions commented Mar 6, 2015

We have added a region parameter for keystone auth to specify the target region. Thanks for your advice.

@yllions
Copy link
Contributor

yllions commented Mar 6, 2015

23a22ce

@yllions yllions closed this as completed Mar 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants