032cf3b3b4599bd720131c8f02cc6ed8a155683d
8228 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Thiago da Silva
|
032cf3b3b4 |
Update docker secret.
Removed trailing newline Change-Id: I8b100b8213d6efde67b0452ce988bc47c830a2e2 |
||
|
Zuul
|
4343c253e4 | Merge "Add Dockerfile to build a SAIO container image" | ||
|
Zuul
|
e85dda286e | Merge "Require logger passed to broker in unit tests for account-reaper" | ||
|
Thiago da Silva
|
37e257913c |
Add Dockerfile to build a SAIO container image
Added Dockerfile and configuration files under the new `docker` directory to build a Swift All in One container image. The primary goal of this container image is to provide application developers with a Swift/S3 endpoint that can be tested against during the development cycle. Added Zuul jobs to build docker container Change-Id: Ib10975a1862a4fa8c4eeaba139837cf1f22b272a |
||
|
Zuul
|
4473fd9ba1 | Merge "py3: port unit/proxy/test_sysmeta.py" | ||
|
Zuul
|
f9898ec8f3 | Merge "[Trivial fix]Remove unnecessary slash" | ||
|
Takashi Kajinami
|
211cf3983c |
Require logger passed to broker in unit tests for account-reaper
This patch removes default value for logger passed to faked BrokerClass in some unit tests for account reaper, to make sure that a logger instance is properly passed when generation BrokerClass instance. This patch also removes unnecessory parameter, which is added to confirm logger passed to broker, but is not useful in fact. NOTE: This patch is a follow-up of my previous commit[1] [1] https://review.opendev.org/#/c/295875/ Change-Id: Ica10e3ac42375c2dc141478e647408df90028ae9 |
||
|
Zuul
|
631b704e17 | Merge "py3: Make StoragePolicy objects hashable" | ||
|
Zuul
|
4aa33a2cc2 | Merge "py3: start porting for unit/proxy/test_server.py" | ||
|
zhufl
|
6d63297f02 |
[Trivial fix]Remove unnecessary slash
This is to remove the unncessary slash when the line doesn't exceed the length of 79, to make the code more readable. Change-Id: I31070067913560d6147f95d0fdfba4f9f9ce0936 |
||
|
Tim Burke
|
767872210f |
py3: port unit/proxy/test_sysmeta.py
Change-Id: I378705a8d9ad51dbfa85287d44e6313aa7680c23 |
||
|
Tim Burke
|
fed0204e86 |
py3: Make StoragePolicy objects hashable
Change-Id: I2e233afff26878ba94e268c71f6779bcca7b641c |
||
|
Tim Burke
|
b8284538be |
py3: start porting for unit/proxy/test_server.py
Mostly this ammounts to
Exception.message -> Exception.args[0]
'...' -> b'...'
StringIO -> BytesIO
makefile() -> makefile('rwb')
iter.next() -> next(iter)
bytes[n] -> bytes[n:n + 1]
integer division
Note that the versioning tests are mostly untouched; they seemed to get
a little hairy.
Change-Id: I167b5375e7ed39d4abecf0653f84834ea7dac635
|
||
|
Clay Gerrard
|
34bd4f7fa3 |
Clarify usage of dequeue_from_legacy option
Change-Id: Iae9aa7a91b9afc19cb8613b5bc31de463b853dde |
||
|
Zuul
|
fd73353bb1 | Merge "Enable to configure object-expirer in object-server.conf" | ||
|
Zuul
|
506d0fa821 | Merge "Unify auth_host/port/ssl/prefix func test options into auth_uri" | ||
|
Zuul
|
310416abf3 | Merge "py3: port s3api" | ||
|
Zuul
|
de7c7f1007 | Merge "Remove py35 unit test job" | ||
|
Zuul
|
2f05025255 | Merge "versioned_writes: stop trying to catch HTTPPreconditionFailed" | ||
|
Zuul
|
89f2f7e8cd | Merge "Fix wrong tox env name from func-post-ec to func-ec" | ||
|
Kazuhiro MIYAHARA
|
443f029a58 |
Enable to configure object-expirer in object-server.conf
To prepare for object-expirer's general task queue feature [1], this patch enables to configure object-expirer in object-server.conf. Object-expirer.conf can be used in the same manner as before, but deprecated. If both of object-server.conf with "object-expirer" section and object-expirer.conf are in a node, only object-server.conf is used. Object-expirer.conf is used only if all object-server.conf doesn't have "object-expirer" section. There are two differences between "object-expirer.conf" style and "object-server.conf" style. The first difference is `dequeue_from_legacy` default value. `dequeue_from_legacy` defines task queue mode. In "object-expirer.conf" style, the default mode is legacy queue. In "object-server.conf" style, the default mode is general queue. But general mode means no-op mode for now, because general task queue is not implemented yet. The second difference is internal client config. In "object-expirer.conf" style, config file of internal client is the object-expirer.conf itself. In "object-server.conf" style, config file of internal client is another file. [1]: https://review.openstack.org/#/c/517389/ Co-Authored-By: Matthew Oliver <matt@oliver.net.au> Change-Id: Ib21568f9b9d8547da87a99d65ae73a550e9c3230 |
||
|
Zuul
|
b8824f052b | Merge "Fix ostestr invocation" | ||
|
Tim Burke
|
1e4cdca339 |
Fix ostestr invocation
More-recent versions of stestr are rather picky about wanting an integer for concurrency [1], but ostestr prior to [2] defaults it to None. As a result, all our func tests would fail with: TypeError: int() argument must be a string or a number, not 'NoneType' Also, move the rolling upgrade job to non-voting since it's going to pull in the old version but try to run with new deps. [1] https://github.com/mtreinish/stestr/commit/c93bc81 [2] https://review.openstack.org/#/c/651275/ Change-Id: Icba6c46bcff0e0516107e0f6742d32c92488ae20 |
||
|
Zuul
|
1c899f78d4 | Merge "py3: Stop using stdlib's putrequest(); it only does ASCII" | ||
|
Kota Tsuyuzaki
|
f5b472cdc7 |
Fix wrong tox env name from func-post-ec to func-ec
Change-Id: I789fb2413985942460d3275b479d6410c62c380f |
||
|
Zuul
|
4ee9545805 | Merge "py3: Be able to parse non-RFC-compliant request lines" | ||
|
Zuul
|
8585c8742e | Merge "Make log format for requests configurable" | ||
|
Tim Burke
|
359d136c29 |
Unify auth_host/port/ssl/prefix func test options into auth_uri
Retain support for the old way, though (at least for now). Change-Id: Id3c2ed87230c5918c18e2c01d086df8157f036b1 |
||
|
Tim Burke
|
a239f4ec35 |
Remove py35 unit test job
Change-Id: Iadb3bed811907740f85bd9277ba09a4ca17fc025 |
||
|
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 |
||
|
Tim Burke
|
3a9f3f8419 |
py3: port s3api
Drive-by: When passing a list or tuple to swob.Response as an app_iter, check that it's full of byte strings. Change-Id: Ifc35aacb2e45004f74c871f08ff3c52bc57c1463 |
||
|
Tim Burke
|
c0ae48ba9a |
py3: Stop using stdlib's putrequest(); it only does ASCII
Note that this only affects the functest client. See also: https://bugs.python.org/issue36274 Change-Id: I1359c475fbe93db2f0fcc4b450be6dd5073f922e |
||
|
Tim Burke
|
93b49c5e48 |
py3: Be able to parse non-RFC-compliant request lines
There's a bug in CPython [1] that causes servers to mis-parse request lines that include the bytes \x85 or \xa0. Naturally, we have functional tests that (with high probability) will send such request lines. There's a fix proposed, but the earliest it's likely to land would be for 3.8, and we need to be able to target an earlier Python. So, intercept the request line immediately before parsing and re-write it to be RFC-compliant. Note that this is done for Python 2 as well, though there should be no change in the request environment that eventlet eventually hands to us. [1] https://bugs.python.org/issue33973 Change-Id: Ie648f5c04d4415f3b620fb196fa567ce7575d522 |
||
|
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 |