Correctly configure S3 Token Middleware for Swift
According the documentation [1] there need to configure auth_uri in the [filter:s3token] section instead of www_authenticate_uri which cause an error 'swift.common.wsgi.ConfigFileError: Invalid auth_uri; must include scheme and host' during start the swift-proxy-server container. 1. https://docs.openstack.org/swift/ussuri/middleware.html#s3-token-middleware Change-Id: I6b8f5807ebb746428a501dca13eae30763dede8d Closes-Bug: 1862765 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
parent
02371e0c82
commit
835920782f
@ -99,5 +99,5 @@ use = egg:swift#s3api
|
|||||||
|
|
||||||
[filter:s3token]
|
[filter:s3token]
|
||||||
use = egg:swift#s3token
|
use = egg:swift#s3token
|
||||||
www_authenticate_uri = {{ keystone_internal_url }}/v3
|
auth_uri = {{ keystone_internal_url }}/v3
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
5
releasenotes/notes/bug-1862765-a6cad9fd2d3f0f48.yaml
Normal file
5
releasenotes/notes/bug-1862765-a6cad9fd2d3f0f48.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fix the issue when Swift deployed with S3 Token Middleware enabled.
|
||||||
|
Fixes `LP#1862765 <https://bugs.launchpad.net/kolla-ansible/+bug/1862765>`__
|
Loading…
Reference in New Issue
Block a user