e274741f25d7da02199398d287a58961bba2190d
865 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
gholt
|
e274741f25 | Remove the misleading "Always" | ||
|
gholt
|
778cb9dedc | In-depth documentation on paste.deploy configuration files | ||
|
Chris Wedgwood
|
e724580e60 |
Fixes to get audit to run cleanly over datasets where people have i18n strings (ie. bit 7 set utf-8 bytes) in container and object names.
Arguably these fixes aren't the most elegant or complete, but for now it suffices to get things working until we re-factor things later. Also tweak output from foo... to "foo" (so cut & paste works a little better). |
||
|
Colin Nicholson
|
d32def26fc | During a CNAME lookup, exception NXDOMAIN isn't caught by the check for DNSException, so need to also check for it. | ||
|
Chris Wedgwood
|
4b4f07a039 | Additional utf-8 encoding fixes to deal with containers. | ||
|
Chris Wedgwood
|
92e3364622 |
Make sure we pass strings correctly to functions that will behave
badly otherwise (fix suggested by Chuck Thier). Tweak account & container name output slightly (makes cut & paste easier). |
||
|
Colin Nicholson
|
1ab9614bfb | Merged lp:~notmyname/swift/cname_exception_bug - added NoAnswer error catching | ||
|
John Dickinson
|
74a39c0f26 | added NoAnswer error catching | ||
|
Colin Nicholson
|
66bef83cbc | also catch NXDOMAIN exception | ||
|
Clay Gerrard
|
e784f1c3a4 | obsolete PATH_TO_TEST_XFS | ||
|
gholt
|
f623f910c9 | Updates to remove _ usage that is not i18n related | ||
|
FUJITA Tomonori
|
6f1cb46a4f |
This modifies http_connect() and http_connect_raw() to use the default ports if not given.
Modyfing only http_connect_raw is enough to fix swauth bins but both for symmetry. |
||
|
gholt
|
9dd1e2ae84 | Updates to remove _ usage that is not i18n related | ||
|
Clay Gerrard
|
e64e21dd01 | pep8 | ||
|
Clay Gerrard
|
29eddb8c24 | made tests play nice with standalone unittest, fixed some doc stuff | ||
|
FUJITA Tomonori
|
b2673df124 |
http_connect and http_connect_raw use the default http ports if no
port is given |
||
|
Clay Gerrard
|
105315dfc4 | obsolete PATH_TO_TEST_XFS | ||
|
Clay Gerrard
|
efda6c0736 | mocked out xattr in test_proxy | ||
|
Michael Barton
|
56791413b8 | break up that giant chunked put test | ||
|
FUJITA Tomonori
|
72999be598 | Update swift3 docs for auth changes | ||
|
FUJITA Tomonori
|
1abfc07bc7 | Fixes swift3 middleware so that container listings work correctly with utf-8 encoded container names. | ||
|
Michael Barton
|
2fc5c401fa | break up that chunked put test | ||
|
FUJITA Tomonori
|
7e392b70e9 | s3api: update the comment for the id scheme change | ||
|
John Dickinson
|
97053abdd7 |
Stats system access log processor now allows for extra log fields to be at the end of the access log lines.
This allows the proxy server to freely append logged fields to log messages without breaking the stats system. |
||
|
gholt
|
6024b39314 | client.py: Reset of streams during upload retries | ||
|
Michael Barton
|
20c23dfcbd | shuffle nodes and cache files for better public serving performance | ||
|
Michael Barton
|
9ec4cf0023 | shuffle nodes and cache files for public access performance | ||
|
Chris Wedgwood
|
fe8c09999d | More fixes. | ||
|
Chris Wedgwood
|
8a5f21b3ac |
Fix output formatting (missing tuple).
Fix to be robust when container and object counts are None (this happens if accounts can't be located). |
||
|
FUJITA Tomonori
|
5582fcd69b | Fixes devauth error if s3 auth fails | ||
|
Michael Barton
|
50f3c9379b | modify default_swift_cluster option format | ||
|
FUJITA Tomonori
|
ec32c55e40 | s3api: fix devauth auth failure handling | ||
|
FUJITA Tomonori
|
48bade1a11 | s3api: fix unicode name container and object | ||
|
FUJITA Tomonori
|
0996cd9b3a |
s3api: fix AWSAccessKeyId
We use cfaccount as AWSAccessKeyId (something like AUTH_89308df71f274e33af17779606f08fa0). However, users with the same account use the same cfaccount. In such case, we can't know which password should be used as a secret key to calculate the HMAC. This changes AWSAccessKeyId to the combination of account and user: Authorization: AWS test:tester:xQE0diMbLRepdf3YB+FIEXAMPLE= The auth validates the HMAC and sends a cfaccount back to the proxy. The proxy rewrites the path with the cfaccount. |
||
|
gholt
|
56738b161f | client.py: Dead code removal | ||
|
gholt
|
eed8c670d0 | Merged from trunk | ||
|
gholt
|
a623aa5be5 | client.py: Reset of streams during upload retries | ||
|
Chuck Thier
|
6fac078f71 | Updates client.py to green HTTPS connections if eventlet is available | ||
|
Chuck Thier
|
9b702c64df | Removed the bare excepts | ||
|
Chuck Thier
|
c63e6c7c9b | Fixes issue of HTTPS not being greened | ||
|
Michael Barton
|
2fac1d53ef | modify default_swift_cluster option format | ||
|
John Dickinson
|
d8810a1ed7 | access processor now handles extra fields in the log line | ||
|
FUJITA Tomonori
|
d7b59e0b94 | s3api: update unit tests for AWSAccessKeyId change | ||
|
FUJITA Tomonori
|
af1813ba4e |
s3api: fix AWSAccessKeyId
We use cfaccount as AWSAccessKeyId (something like AUTH_89308df71f274e33af17779606f08fa0). However, users with the same account use the same cfaccount. In such case, we can't know which password should be used as a secret key to calculate the HMAC. This changes AWSAccessKeyId to the combination of account and user: Authorization: AWS test:tester:xQE0diMbLRepdf3YB+FIEXAMPLE= The auth validates the HMAC and sends a cfaccount back to the proxy. The proxy rewrites the path with the cfaccount. |
||
|
Michael Barton
|
b3c914e875 | Execute object server fsyncs in a thread pool so they don't hold up the workers. | ||
|
Chuck Thier
|
1a17788071 | Add docstrings and pointers in the docs for swift3 | ||
|
Michael Barton
|
a4de88c3b4 | Execute fsyncs in a thread pool. | ||
|
Chuck Thier
|
782b98b5bb | Moved the main middleware docs to the module level | ||
|
Chuck Thier
|
e2c0a23839 | Added doc strings and pointers to docs for swift3 | ||
|
Michael Barton
|
d0651b914d | Support more query args and headers in the swift3 middleware |