lp:~notmyname/swift/stats_log_lines
- Get this branch:
- bzr branch lp:~notmyname/swift/stats_log_lines
Branch merges
- gholt (community): Approve
-
Diff: 78 lines (+46/-4)2 files modifiedswift/stats/access_processor.py (+3/-2)
test/unit/stats/test_access_processor.py (+43/-2)
Related bugs
Related blueprints
Branch information
Recent revisions
- 173. By Mike Barton
-
Execute object server fsyncs in a thread pool so they don't hold up the workers.
- 169. By anticw
-
Small fixes to make audit work robustly in the case where people liked to put funny chars in their container and object names.
- 168. By Mike Barton
-
use python-netifaces to get local IP addresses.
I'll add that to the package depends right after this is merged. - 165. By FUJITA Tomonori
-
Seems that the following operations work with boto:
- List of buckets
- Create bucket
- Delete bucket
- List of objects in a bucket
- PUT object
- GET object
- DELETE object
- HEAD objectSwift account (something like AUTH_89308df71f
274e33af1777960 6f08fa0) is used as AWSAccessKeyId.
Swift password (passed to swift-auth-add-user) is used as AWS Secret Access Key. S3 client concatenates selected elements of a request to form a string, uses AWS Secret Access Key to calculate the HMAC of that string, and then put the HMAC value to the HTTPAuthorization header.
The proxy server sends the account info, the formed string of a request, and the HMAC value included with the request to the auth server. The auth server finds AWS Secret Access Key from the account info, use the key to calculate the HMAC of the string, and sees if it matches the HMAC value.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~hudson-openstack/swift/trunk