f4487d7399eef18d56bda0c0ba8609728ab386f9
7889 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Zuul
|
f4487d7399 | Merge "SSYNC: stop sharing global available_map/send_map" | ||
|
Zuul
|
205101eb5a | Merge "SSYNC: Stop sharing a global response" | ||
|
Zuul
|
2cfe31551d | Merge "Allow multiple keymasters" | ||
|
Zuul
|
0e4e58158d | Merge "Simplify the decryption of container listings" | ||
|
Zuul
|
965b056999 | Merge "Unify handle_get/handle_head in decrypter" | ||
|
Zuul
|
79a9143624 | Merge "Follow up s3api ensures any string for secret as bytes string" | ||
|
Zuul
|
f6df4dbeb4 | Merge "s3api: Ensure secret is utf8 in check_signature" | ||
|
Romain LE DISEZ
|
2d1c438191 |
SSYNC: stop sharing global available_map/send_map
Change-Id: Iaba8abb81dec792ee92e3715ecc459b57755fcae |
||
|
Romain LE DISEZ
|
6b94cf204a |
SSYNC: Stop sharing a global response
Change-Id: Ia431d20e1132cc139ac067d66d5d1626ec07117f |
||
|
Romain LE DISEZ
|
e4ad56abb1 |
SSYNC: Stop sharing a global connection
Change-Id: Id5988887f01532b27c3888a126764524d2466011 |
||
|
Romain LE DISEZ
|
46c6fab1cf |
SSYNC: Remove useless self.failures in sender
Change-Id: Ie5264af0bf2a8d557489c597c3fdc5728e69c6e8 |
||
|
Zuul
|
24bf5eea8c | Merge "Fix up the test for .ismount" | ||
|
Zuul
|
d75c29a63b | Merge "py3: port internal_client" | ||
|
Pete Zaitcev
|
1663782459 |
Fix up the test for .ismount
We kept hitting a floating error in the test, where fist ismount in the test succeeds, while it should fail. As it turned out, the return of gettempdir was the plain /tmp. So, a previous test created /tmp/.ismount and the subsequent runs failed on it. Re-generating the root filesystem (e.g. by a container) fixes the problem, but still, there's no need to do this. This change tightens the test up by placing the .ismount into a subdirectory of the test directory instead of the global /tmp. Change-Id: I006ba1f69982ef7513db3508d691723656f576c9 |
||
|
Zuul
|
6bb8229b75 | Merge "Require gettext for all non-SUSE distros" | ||
|
Zuul
|
6e2ad3bc88 | Merge "Add coverage reports to py27/35/36 unit test jobs" | ||
|
Tim Burke
|
b5a91724e7 |
Require gettext for all non-SUSE distros
This fixes the failing release-notes job. I guess there was some change to the base gate images since the related change? We've definitely landed other patches that would've built release notes since then... Change-Id: Iaf6296886b653f0ac3e9db52a886ea3fe4a3bd20 Related-Change: Iff24a2b02b8927113d616a5af06331f1a1e31170 |
||
|
Zuul
|
8067525b24 | Merge "Check for .ismount stubs with symlinks, too" | ||
|
Zuul
|
c2db734571 | Merge "Reduce code duplication in SSYNC sender" | ||
|
Tim Burke
|
0a564d885e |
Check for .ismount stubs with symlinks, too
Related-Change: I9d9fc0a4447a8c5dd39ca60b274c119af6b4c28f Change-Id: Ib6a2edf648397d1d1c875461698f63afcde5b3ed |
||
|
Romain LE DISEZ
|
3bf9f82a5a |
Reduce code duplication in SSYNC sender
Move all the message formatting in one method. Change-Id: I1eb356612fad28c73766af1ec9f7911d4f2cf971 |
||
|
Zuul
|
c6f9a0e57b | Merge "Stop accomodating 5+ year old object-server code in unit tests" | ||
|
Tim Burke
|
781da0704b |
Stop accomodating 5+ year old object-server code in unit tests
Change-Id: Id2597d6a26fa8a1769e8cab1ba5cae29eb1e2942 |
||
|
Pete Zaitcev
|
6676d74f8f |
py3: everything account except the real things
The the 80% of the work still remain in server and replicator, but let's knock this out. Change-Id: I1e1dee8f8c77212183b0ef2b574b57ad1051d57e |
||
|
Zuul
|
ab2abfe3ae | Merge "Change PUT bucket conflict error" | ||
|
Zuul
|
9d9395b782 | Merge "Properly handle custom metadata upon an object COPY operation" | ||
|
Zuul
|
56c06557ac | Merge "py3: adapt account/backend.py and utils.py" | ||
|
Tim Burke
|
b39d2efdab |
Allow multiple keymasters
This allows the migration from one key provider to another. Note that secret_id values must remain unique across all keymasters in a given pipeline. If they are not unique, the right-most keymaster will take precedence. When looking for the active root secret, only the right-most keymaster is used. Change-Id: I6b5c812a54624f56c55164556385e3e475fb2470 |
||
|
Tim Burke
|
00f7732193 |
Simplify the decryption of container listings
Following https://github.com/openstack/swift/commit/4806434 there is only one handler that might be used. Following https://github.com/openstack/swift/commit/2722e49 all EncryptionException errors should be caught and handled in decrypt_obj_dict. Change-Id: Ib4e9db400a58853daa903ae0a625dfde47747552 |
||
|
Tim Burke
|
0d774861cb |
Unify handle_get/handle_head in decrypter
Change-Id: I7058e3b5cd7a7fe7f2f0c3304e4e8b3d97dfec4a |
||
|
Pete Zaitcev
|
28a582f3f4 |
py3: adapt account/backend.py and utils.py
Gradatim Ferociter Change-Id: I6f3fac450c14f8dbc549ab2b0645a31aa0cece89 |
||
|
zhulingjie
|
83a7ce8ce0 |
Python 3 compatibility: fix xrange/range issues
xrange is not defined in python3. Rename xrange() to range(). Change-Id: Ifb1c9cfd863ce6dfe3cced3eca7ea8e539d8a5e9 |
||
|
Kota Tsuyuzaki
|
b90c792a70 |
Follow up s3api ensures any string for secret as bytes string
This is follow up for patch https://review.openstack.org/#/c/605603 That looks fine, that enables s3api to take any string (unicode or bytes) but no tests in the patch. This patch adds some tests (and test cleanups) to asserts the logic works as expected. Change-Id: I6368ba76ca2400482a35da3d407bb4903b578b41 |
||
|
Sam Morrison
|
45c840a565 |
s3api: Ensure secret is utf8 in check_signature
Change-Id: Ieedb54074d9d3494843597395e325a39d59976ad |
||
|
Zuul
|
4ae9ce76e7 | Merge "Pass empty etag override values through encrypter" | ||
|
Zuul
|
8e66d1278b | Merge "Allow EC to ignore invalid request ETag" | ||
|
Zuul
|
b56c5262a5 | Merge "Tighten status code assertions for object POST" | ||
|
Zuul
|
76a3908667 | Merge "Add validation for sorting_method values" | ||
|
Zuul
|
97f1c3be00 | Merge "Refactor obj.server.ObjectController.PUT" | ||
|
Zuul
|
bd9d502910 | Merge "Enabling direct_client users to overwrite X-Timestamp" | ||
|
Tim Burke
|
dd49f17030 |
Add coverage reports to py27/35/36 unit test jobs
...and drop openstack-cover-jobs since it is no longer necessary. Change-Id: Iad12e64f41bbdd8b8e005b0fb14a7e2108fa3bcf |
||
|
Tim Burke
|
ce51893bfc |
Tighten status code assertions for object POST
Now that POST-as-COPY is dead and gone, 202 should be the only successful response code for an object POST. Note that there are already tests requiring 202s in test/functional/test_object.py. Change-Id: I33c8d2c031f8dfdf1e789bb8d6e6908bfff4d739 |
||
|
Zuul
|
11154b5534 | Merge "ratelimit: ignore requests with invalid API versions" | ||
|
karen chan
|
78c9fd9f93 |
Change PUT bucket conflict error
When a bucket already exists, PUT returned a BucketAlreadyExists error. AWS S3 returns BucketAlreadyOwnedByYou error instead, so this changes the error returned by swift3. When sending a PUT request to a bucket, if the bucket already exists and is not owned by the user, return 409 conflict error, BucketAlreadyExists. Change-Id: I32a0a9add57ca0e4d667b5eb538dc6ea53359944 Closes-Bug: #1498231 |
||
|
Zuul
|
a4376a43de | Merge "Tolerate missing containers when trying to clean up" | ||
|
Zuul
|
1cbf0731e0 | Merge "Prevent kmip_protocol logger from logging at DEBUG" | ||
|
Zuul
|
b326628569 | Merge "internal_client: Require that request_tries be positive" | ||
|
Tim Burke
|
4ca605c51e |
Move base64-decoding/unpickling into DatabaseBroker
...which was the one responsible for pickling and encoding the data in the first place. Change-Id: Ia7fad7ddd7cf95c8a0168dd6c899c80ddfdd3521 |
||
|
Tim Burke
|
6e7ca26169 |
DB follow-up
Change-Id: I32cff110f0771d6d92a881ef52e482aa17d8dbe4 Related-Change: I0dab4ff013f300396cff7313bc27b9d5644fe8a7 |
||
|
Tim Burke
|
3770f3f228 |
internal_client: Require that request_tries be positive
This way the error is obvious and at initialization time, rather than being an UnboundLocalError that waits until you actually make requests. Change-Id: I4c8dafe34fcfea354b254b9137f31184cbd6a762 |