Swift Authentication Issues in Ceph & OpenStack Clusters
Symptom
The ceph1 node is used as an example. The following message is displayed when Swift is running:
Account GET failed: http://ceph1:10001/swift/v1?format=json 401 Unauthorized [first 60 chars of response] {"Code":"AccessDenied","RequestId":"tx000000000000000000002-
Failed Transaction ID: tx000000000000000000002-005de8c155-125adb-default

Key Process and Cause Analysis
The problem is generally caused by the authentication failure between Keystone and Ceph.
Conclusion and Solution
The ceph1 node is used as an example. Check whether the Keystone configurations in the /etc/ceph/ceph.conf file on the ceph1 node are correct.
The configurations include rgw keystone admin user, rgw keystone admin password, rgw keystone admin tenant, and rgw keystone admin domain.
Parent topic: OpenStack & Ceph