While uploading a text file to container I was getting authorization failure.
Error:
Authorization Failure. Authorization failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-ba4faaad-4c19-4248-b474-b898ad8975a1)
In the Liberty version you need additional configurations in the swift proxy server.
Solution:
Edit the proxy config file and modify the content like below,
[filter:authtoken]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
auth_uri = http://controller/5000
auth_url = http://controller/35357
memcached_servers = controller:11211
auth_plugin = password
project_domain_name = default
user_domain_name = default
project_name = service
username = swift
password = swiftpassword
delay_auth_decision = True
Error:
Authorization Failure. Authorization failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-ba4faaad-4c19-4248-b474-b898ad8975a1)
In the Liberty version you need additional configurations in the swift proxy server.
Solution:
Edit the proxy config file and modify the content like below,
[filter:authtoken]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
auth_uri = http://controller/5000
auth_url = http://controller/35357
memcached_servers = controller:11211
auth_plugin = password
project_domain_name = default
user_domain_name = default
project_name = service
username = swift
password = swiftpassword
delay_auth_decision = True