Account HEAD failed: 401 Unauthorized [closed]
HI,
We have configured SWIFT as an object storage with HAVANA. All the services is working fine but we are not able to authenticate is with keystone. It is showing the below error. We have checked all the configuration but not able to figure out the issue.
Please help in providing the solution.
root@Storage:/etc/swift# swift stat Account HEAD failed: http://Storage.abc.com:8080/v1/AUTH_c.. . 401 Unauthorized
There are 2 tokens involved. One is the user token and other is the service token. Easy way to debug is to hit keystone directly and find out which token is failing. Since all your services are fine, most probably the service token is the one that is failing.
Service user/ service tenant/ service password are in the swift.conf ( middleware configuration ). Check them
Hi,
Swift.conf only contain the below details. As per the docs there is no middleware configuration in the swift.conf.
========================================================================= [swift-hash]
random unique string that can never change (DO NOT LOSE)
swift_hash_path_suffix = fLIbertYgibbitZ