8585c8742e6fac698a488fc28514c9b3f078e5eb
8196 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Zuul
|
8585c8742e | Merge "Make log format for requests configurable" | ||
|
Zuul
|
ce1ba6a51d | Merge "Pass logger instances to AccountBroker/ContainerBroker" | ||
|
Gilles Biannic
|
a4cc353375 |
Make log format for requests configurable
Add the log_msg_template option in proxy-server.conf and log_format in a/c/o-server.conf. It is a string parsable by Python's format() function. Some fields containing user data might be anonymized by using log_anonymization_method and log_anonymization_salt. Change-Id: I29e30ef45fe3f8a026e7897127ffae08a6a80cd9 |
||
|
Takashi Kajinami
|
4b2ac606b1 |
Pass logger instances to AccountBroker/ContainerBroker
There are some processes which don't pass their logger instances when creating AccountBrokers/ContainerBrokers, which causes some error messages with a different setting from the other logs generated by the processes. This patch makes them pass logger instances, to make sure they generate all logs according to their log settings. Change-Id: I914c3a2811e1a2b7f19ad2bc9b3d042fcba63820 |
||
|
Zuul
|
f55167a735 | Merge "Increase node_timeout in gate" | ||
|
Clay Gerrard
|
58352b285d |
s3api multi upload test clean up
Add a test assertion for invalid ETag of MPU manifest and make some global constants more obvious. Change-Id: I830c0d2e473d1740f9138ebc6efd64a39d85d1dc Related-Change-Id: I7df13e670f702a2956a9c8057fcb971f4bfb7319 |
||
|
Tim Burke
|
c51db382cb |
s3api: Block ETag header from CompleteMultipartUpload requests
Change-Id: I7df13e670f702a2956a9c8057fcb971f4bfb7319 Closes-Bug: 1810397 |
||
|
ZhongShengping
|
32bf43990c |
Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org counterparts. Change-Id: I5e77307de6a484fd69b2a5863423ceb357e8601f |
||
|
OpenDev Sysadmins
|
89eced960c |
OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have. |
||
|
Zuul
|
3be4d2f64b | Merge "Clean up dlo unit tests" | ||
|
Zuul
|
1a1b44df6f | Merge "py3: port dlo" | ||
|
Zuul
|
5e6b7f32ac | Merge "Move from py35 to py37 for gating py3 jobs" | ||
|
Tim Burke
|
b6ebabee78 |
Clean up dlo unit tests
We don't actually need so many py2/py3 branches, and once we clean those up, there's hardly any reason to import six. Change-Id: Ia3b4f02e7eb99ad1a76aa35c39dc198528fd39ad |
||
|
Pete Zaitcev
|
893acffbc0 |
py3: port dlo
Change-Id: I7236ddea0acde93d0789ad8affa76df0097a86aa |
||
|
Tim Burke
|
7cb276da42 |
Move from py35 to py37 for gating py3 jobs
Looking at https://governance.openstack.org/tc/reference/runtimes/train.html OpenStack is no longer targetting Python 3.5, so it doesn't really make sense to gate on it. Move to Python 3.7, just to make it so we can go longer before having to do this shuffle again. Presumably, once we actually declare support for Python 3.6, we should make that job voting, too? We've had enough gate flaky-ness lately that I'm not keen on it. Change-Id: I9c9e5df76a6592ab9c512b7c1ba807f9a0053059 |
||
|
zhufl
|
65d3cb75f8 |
Use assertIn to check whether substring is in str
This is to use assertIn to check whether substring is in str, go get clearer failure message. Change-Id: I40aff29454c423389755a5330751d2f69a227a05 |
||
|
Zuul
|
5090a15f52 | Merge "Make staticweb return URL-encoded Location headers" | ||
|
Zuul
|
d7ef9f8f80 | Merge "Add tests for unexpected names in part dir" | ||
|
Tim Burke
|
e5ff405ec9 |
Make staticweb return URL-encoded Location headers
Also, enhance tests to verify proper encoding in generated responses. Change-Id: Ib696b1c3a34722f3a6de010973b90ef8b1917012 Partial-Bug: 1774238 |
||
|
Zuul
|
b27026f6c7 | Merge "py3: port staticweb middleware" | ||
|
Zuul
|
f21fe6f479 | Merge "Remove our urlparse wrapper" | ||
|
Tim Burke
|
049e56a5d0 |
Remove our urlparse wrapper
It has not been necessary since we dropped support for Python 2.6. See https://github.com/python/cpython/commit/8c6d9d7 and https://bugs.python.org/issue2987. Be sure to keep a `urlparse` name in utils, though; swauth (at least) still expects there to be a swift.common.utils.urlparse. Change-Id: If2502868f251b8a83aa929ee22b10046e708d111 |
||
|
Clay Gerrard
|
5b40f69ede |
Add tests for unexpected names in part dir
An earlier revision of the related change had a bug that this test would have discovered. Related-Change-Id: I85dcaf65b9f19ac4659fa5937f9b0b0e804fc54e Change-Id: Iedd85ec65a11de189ce73e650d674aee0dc7e402 |
||
|
Matthew Oliver
|
b86bc51607 |
py3: port staticweb middleware
This patch is porting the staticweb middleware to py3. Change-Id: I5d9a13baecedd13d2b7a8ae3dd639eaff0894441 |
||
|
Zuul
|
48a2e5c311 | Merge "Change partition name from string to integer" | ||
|
Zuul
|
4f45f28ea5 | Merge "Update openstack repo for libec install" | ||
|
Zuul
|
880e4e4a09 | Merge "py3: test/unit/common/middleware/s3api/test_s3token.py" | ||
|
Thiago da Silva
|
621e924883 |
Update openstack repo for libec install
Update to rocky release Change-Id: Id35a41d689a24bf68d17647879780f5daaecdf37 |
||
|
Joe Yang
|
08d59ebcd4 |
Change partition name from string to integer
Object-replicator let user to input target partition numbers and run the replicator job, and partition input will be stored as integer list. But in build_replication_jobs method, it use os.listdir method to retreve partitions in string list, so it is failed to compare with target partition numbers. Change-Id: I85dcaf65b9f19ac4659fa5937f9b0b0e804fc54e Closes-Bug: #1822731 |
||
|
Zuul
|
0df50b5124 | Merge "Clean up more things before running unit tests" | ||
|
Zuul
|
05a6f6aad7 | Merge "Make symlink work with Unicode account names" | ||
|
Tim Burke
|
e5e22ebeba |
Make symlink work with Unicode account names
Also, ensure that the stored symlink headers really *are* url-encoded as we've been assuming. Change-Id: I1f300d69bec43f0deb430294da05a4ec04308040 Related-Bug: 1774238 Closes-Bug: #1821240 |
||
|
Zuul
|
ef7a3b4240 | Merge "s3token: Add an underscore to the end of reseller_prefix if not present" | ||
|
Zuul
|
1214bb83cc | Merge "api-ref: add link to SLO docs from multipart-manifest=put param" | ||
|
Pete Zaitcev
|
52bc11f097 |
Use labels to mount filesystems in the guide
It was a recommended practice for years to get away from straight names in /dev, like /dev/sda1, when mounting filesystems. The man page for mount(8) says: The device name of disk partitions are unstable; hardware reconfiguration, adding or removing a device can cause change in names. This is reason why it's strongly recommended to use filesystem or partition identificators like UUID or LABEL. Nonetheless, novice operators sometimes follow our deployment guide to the letter and then get into trouble when device names shift from under their deployments. This patch fixes the problem without bloating up the guide with general explanations. Change-Id: I5faae158b62e0395d6e774cd67bd868c785c2186 |
||
|
Tim Burke
|
0294836d9b |
py3: test/unit/common/middleware/s3api/test_s3token.py
Change-Id: Ibbff151703395d517452c3d6927652506a9eab66 |
||
|
Zuul
|
e611f9e481 | Merge "add more detail to s3api test failure" | ||
|
Tim Burke
|
adc826f376 |
Clean up more things before running unit tests
Apparently some versions of py3 will drop symlinks in the venv. Change-Id: I77c52b6ad776ab75c4f9713290cc42a1fcb6e0f7 |
||
|
Zuul
|
934074856c | Merge "s3api: Fix get_container_info missing some sysmeta info." | ||
|
Zuul
|
0169a0c8a3 | Merge "s3api: fix partition between S3 and Swift headers" | ||
|
Zuul
|
161366bd0f | Merge "Run docs tox env under py3" | ||
|
Clay Gerrard
|
9d9f8b0ff2 |
add more detail to s3api test failure
Change-Id: I89d19c299cf67c459ee893cde7ed6f6716c04f9b |
||
|
Zuul
|
045ad1aae1 | Merge "Remove "gross hack" for py3pep8 env; run releasenotes under py3" | ||
|
Zuul
|
20f53a3df7 | Merge "Make reconciler test more stable in the gate" | ||
|
Tim Burke
|
e3e79a6e48 |
Remove "gross hack" for py3pep8 env; run releasenotes under py3
Change-Id: Ib853f79bc062ec550627342d0fc5b2b92029f25c |
||
|
Tim Burke
|
6c93c57685 |
Run docs tox env under py3
...and fix this one warning-treated-as-error that crept in since https://github.com/openstack/swift/commit/d185b60 Change-Id: Id46ee3ab23e2703170191528427aaa2788aba1ee |
||
|
Tim Burke
|
ffe51501c2 |
api-ref: add link to SLO docs from multipart-manifest=put param
Drive-by: run api-ref tox env under py3. Change-Id: Iebce47eabcb3b198d4aa7c1b8cfaf8f53300f7f9 |
||
|
Tim Burke
|
9b694a3324 |
s3token: Add an underscore to the end of reseller_prefix if not present
This matches the behavior of tempauth/keystoneauth with regard to reseller_prefix. Change-Id: I10f8bc354d0f45dd692915de86857679e9ca3446 |
||
|
Zuul
|
d016693875 | Merge "Fix lower-constraint deps handling" | ||
|
Clay Gerrard
|
8f23dbad6c |
Make reconciler test more stable in the gate
Change-Id: I3a831ac2cd2ef7ef83445b8d374d1435ab7292ab |