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

REGION_NAME not configurable #77

Closed
valerytschopp opened this issue Jan 19, 2017 · 6 comments
Closed

REGION_NAME not configurable #77

valerytschopp opened this issue Jan 19, 2017 · 6 comments

Comments

@valerytschopp
Copy link
Contributor

We have a multi-region OpenStack deployment, but it is not possible to configure the OS_REGION_NAME for the Django Swift Storage.

A new SWIFT_REGION_NAME parameter is required.

@valerytschopp
Copy link
Contributor Author

valerytschopp commented Jan 19, 2017

There is a workaround for this issue.

Using the SWIFT_EXTRA_OPTIONS to set the region name like this:

SWIFT_EXTRA_OPTIONS = { 
  'region_name': 'MY_SECOND_REGION'
}

But it would be more consistent with OpenStack to add a new SWIFT_REGION_NAME parameter.

@einarf
Copy link
Contributor

einarf commented Jan 19, 2017

Definitely. Specifying region name is a natural part of authentication in OpenStack, so having a parameter for it is good.

@einarf
Copy link
Contributor

einarf commented Jan 19, 2017

Lunch commit #78

@einarf
Copy link
Contributor

einarf commented Jan 20, 2017

@valerytschopp It's merged, so you can close this one.

@dennisv
Copy link
Owner

dennisv commented Jan 20, 2017

It's also on PyPI

@valerytschopp
Copy link
Contributor Author

Thanks a lot for adding the SWIFT_REGION_NAME config parameter, and releasing it

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

3 participants