6930bc24b2f7613bc56bee3d2c34f7bb4890ec39
9033 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Grzegorz Grasza
|
6930bc24b2 |
Memcached client TLS support
This patch specifies a set of configuration options required to build a TLS context, which is used to wrap the client connection socket. Closes-Bug: #1906846 Change-Id: I03a92168b90508956f367fbb60b7712f95b97f60 |
||
|
Zuul
|
e22cad666a | Merge "xlo: 5xx while validating first segment is a server error" | ||
|
Zuul
|
0dc918e71a | Merge "py2: Suppress more CryptographyDeprecationWarnings" | ||
|
Zuul
|
ebfc3a61fa | Merge "Use socket_timeout kwarg instead of useless eventlet.wsgi.WRITE_TIMEOUT" | ||
|
Zuul
|
cd228fafad | Merge "Add a new URL parameter to allow for async cleanup of SLO segments" | ||
|
Clay Gerrard
|
3d787ddff8 |
xlo: 5xx while validating first segment is a server error
With DLO and SLO, we validate that we can read the first segment before sending data to the client; this helps catch auth errors where the user has access to read the manifest but not the segments. Sometimes, though, that validation fails for transient reasons; if the proxy couldn't get enough responses from primaries to determine whether the object exists (for example), we should send back a 503 to indicate to the client that it should retry the request. Change-Id: Ice5358ff85ee2d5fe60785b73b67dea493044a2c |
||
|
Zuul
|
6d988a4518 | Merge "Dep's should be restricted by upper-constraints" | ||
|
Tim Burke
|
104afe56fa |
py2: Suppress more CryptographyDeprecationWarnings
Change-Id: Icdbebb55e85763a7bd2a269753ced61a99e557be |
||
|
Zuul
|
50d28dcfe9 | Merge "gate: Add victoria rolling upgrade job" | ||
|
Tim Burke
|
918ab8543e |
Use socket_timeout kwarg instead of useless eventlet.wsgi.WRITE_TIMEOUT
No version of eventlet that I'm aware of hasany sort of support for eventlet.wsgi.WRITE_TIMEOUT; I don't know why we've been setting that. On the other hand, the socket_timeout argument for eventlet.wsgi.Server has been supported for a while -- since 0.14 in 2013. Drive-by: Fix up handling of sub-second client_timeouts. Change-Id: I1dca3c3a51a83c9d5212ee5a0ad2ba1343c68cf9 Related-Change: I1d4d028ac5e864084a9b7537b140229cb235c7a3 Related-Change: I433c97df99193ec31c863038b9b6fd20bb3705b8 |
||
|
Zuul
|
43216fa9a6 | Merge "Fix a race condition in case of cross-replication" | ||
|
wu.shiming
|
ee641dffc9 |
Dep's should be restricted by upper-constraints
Tox trying to install latest versions for building docs which may not be supported by stable and lower branches, so should be restricted by respective version's upper-constraints.txt Change-Id: I599d4ea430cc1e65bb50d0481617b005febf6de2 |
||
|
Tim Burke
|
e78377624a |
Add a new URL parameter to allow for async cleanup of SLO segments
Add a new config option to SLO, allow_async_delete, to allow operators to opt-in to this new behavior. If their expirer queues get out of hand, they can always turn it back off. If the option is disabled, handle the delete inline; this matches the behavior of old Swift. Only allow an async delete if all segments are in the same container and none are nested SLOs, that way we only have two auth checks to make. Have s3api try to use this new mode if the data seems to have been uploaded via S3 (since it should be safe to assume that the above criteria are met). Drive-by: Allow the expirer queue and swift-container-deleter to use high-precision timestamps. Change-Id: I0bbe1ccd06776ef3e23438b40d8fb9a7c2de8921 |
||
|
Tim Burke
|
711fb302b8 |
gate: Add victoria rolling upgrade job
Change-Id: I6ca407b86658191b2db1e806d284cdd6348c86e1 |
||
|
Tim Burke
|
90c737e355 |
Use swiftclient Connections in sharding probe tests
This gets us retries "for free" and should reduce gate flakiness. Change-Id: Ia2e4c94f246230a3e25e4557b4b2c1a3a67df756 |
||
|
Zuul
|
2b79d0befd | Merge "tests: Increase container-update timeouts for rolling upgrade jobs" | ||
|
Zuul
|
d5618f10ca | Merge "Move config option documentation to separate docs" | ||
|
Zuul
|
2593f7f264 | Merge "memcache: Make error-limiting values configurable" | ||
|
Zuul
|
506dd139dc | Merge "Remove the unused coding style modules" | ||
|
Tim Burke
|
24060f6e62 |
tests: Increase container-update timeouts for rolling upgrade jobs
This should help make tests that rely on up-to-date listings more reliable. Change-Id: Ib888c84fa629cc78f48a8251eda98c0fa51242c0 |
||
|
Zuul
|
ae9c08c2ee | Merge "Increase container_update_timeout in in-process func tests" | ||
|
Zuul
|
f953bc0d49 | Merge "Refactor audit shard tests" | ||
|
Zuul
|
22c778412a | Merge "Add librsvg2-* to bindep.txt" | ||
|
Tim Burke
|
05d8b8fba1 |
Increase container_update_timeout in in-process func tests
This should make us less likely to fail in the gate because of listing consistency issues. Drive-by: Remove the allowed_headers override; that hasn't been necessary since we updated the default value a while back. Change-Id: Id280bc93ed6e899a62b0115fdf144a564ef0cd8d Related-Change: Ib82e175096716e42aecdab48f01f079e09da6a1d |
||
|
Zuul
|
622bae72f1 | Merge "Continue logging deprecation warnings for run_pause" | ||
|
Tim Burke
|
aff65242ff |
memcache: Make error-limiting values configurable
Previously these were all hardcoded; let operators tweak them as needed. Significantly, this also allows operators to disable error-limiting entirely, which may be a useful protection in case proxies are configured with a single memcached server. Use error_suppression_limit and error_suppression_interval to mirror the option names used by the proxy-server to ratelimit backend Swift servers. Co-Authored-By: Alistair Coles <alistairncoles@gmail.com> Change-Id: Ife005cb8545dd966d7b0e34e5496a0354c003881 |
||
|
Tim Burke
|
2b1eec79f6 |
Continue logging deprecation warnings for run_pause
...even after the operator has configured interval. This was raised during the Oct 2020 ops feedback session. Change-Id: Ie44de8f15df63813367b76e1b96be456fac9b2b0 |
||
|
Alistair Coles
|
72786533ea |
Move config option documentation to separate docs
This patch moves the tables describing configuration options for each server type from the deployment_guide.rst doc to separate per-server documents. The new per-server documents are grouped under a config directory with a config index doc. The config index doc is listed in the top level index and provides a single starting point to navigate to the individual server docs. Change-Id: I6cedd98586febb5dc949c088ee44e160385ed324 |
||
|
Alistair Coles
|
f4ce322776 |
Add librsvg2-* to bindep.txt
Add the librsvg2-* package to bindep.txt. This package has been required to build docs since the Related-Change. The package is added to a new 'doc' profile in bindep.txt; if missing, the package will be reported by: bindep doc The 'doc' profile is added to the tox 'bindep' env command so that, if missing, the package will always be reported by: tox -e bindep Change-Id: I6c60c31ca8002133ab77f05f59359b25315b299c Related-Change: I26cefda80d3234df68d7152b404e0a71da74ab90 Closes-Bug: 1903038 |
||
|
Zuul
|
14bd6b916d | Merge "tests: Replace FakeLogger with debug_logger in test_proxy_logging" | ||
|
Zuul
|
e47b854181 | Merge "saio: Stop processes more forcefully in resetswift" | ||
|
Tim Burke
|
6c360a70bf |
saio: Stop processes more forcefully in resetswift
We sometimes see probe test failures in the gate where `resetswift` fails like umount: /mnt/sdb1: target is busy. It seems to be because `swift-init all kill` is just a stop with a status check after the fact. Add an orphan sweep afterwards to make sure worker subprocesses got cleaned up, too. Change-Id: I533b436a35e5c3deb7488e9961b55f2274c14751 |
||
|
Zuul
|
d825fd66bd | Merge "Use TOX_CONSTRAINTS_FILE" | ||
|
Zuul
|
06460cc8a5 | Merge "Do not require the close method for response iterator" | ||
|
Zuul
|
b9a404b4d1 | Merge "ec: Add an option to write fragments with legacy crc" | ||
|
likui
|
26e431498b |
Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ Change-Id: I7e3cdef5b1bcb28019055d29dbd95073e92882fc |
||
|
Zuul
|
c75e23e81f | Merge "Add tasks_per_second option to expirer" | ||
|
Zuul
|
d9902abb19 | Merge "Imported Translations from Zanata" | ||
|
Tim Burke
|
d90ee78966 |
tests: Replace FakeLogger with debug_logger in test_proxy_logging
Change-Id: I4ecc98bbe6d9817fa40fbb54f743859550e84994 |
||
|
Takashi Kajinami
|
7b5868266a |
Do not require the close method for response iterator
Since
|
||
|
OpenStack Proposal Bot
|
f665a6d423 |
Imported Translations from Zanata
For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ic8a087c600ef0624ee815a330119ccc12c287f0f |
||
|
Tim Burke
|
95212ac725 |
Add a slightly more-useful repr for DiskFiles
Change-Id: Ica2b637c9ee015c2cf129715e33d1ed1968b0a94 |
||
|
likui
|
0f97d8e920 |
Remove the unused coding style modules
Python modules related to coding style checks (listed in blacklist.txt in openstack/requirements repo) are dropped from lower-constraints.txt they are not needed during installation. Change-Id: Ic777b435723f663b408c778f661811439b486071 |
||
|
Clay Gerrard
|
b05ad82959 |
Add tasks_per_second option to expirer
This allows operators to throttle expirers as needed. Partial-Bug: #1784753 Change-Id: If75dabb431bddd4ad6100e41395bb6c31a4ce569 |
||
|
Tim Burke
|
6b7eecab5d |
Get unit tests passing on py39
They finally got rid of Thread.isAlive, having added Thread.is_alive as an alias back in 2.6. array.tostring is also gone; use array.tofile instead, but only on py3. Change-Id: I0b7e426c60118a5df879a8908729d7feb12dfc1b |
||
|
Romain LE DISEZ
|
8c0a1abf74 |
Fix a race condition in case of cross-replication
In a situation where two nodes does not have the same version of a ring and they both think the other node is the primary node of a partition, a race condition can lead to the loss of some of the objects of the partition. The following sequence leads to the loss of some of the objects: 1. A gets and reloads the new ring 2. A starts to replicate/revert the partition P to node B 3. B (with the old ring) starts to replicate/revert the (partial) partition P to node A => replication should be fast as all objects are already on node A 4. B finished replication of (partial) partition P to node A 5. B remove the (partial) partition P after replication succeeded 6. A finishes replication of partition P to node B 7. A removes the partition P 8. B gets and reloads the new ring All data transfered between steps 2 and 5 will be lost as they are not anymore on node B and they are also removed from node A. This commit make the replicator/reconstructor to hold a replication_lock on partition P so that remote node cannot start an opposite replication. Change-Id: I29acc1302a75ed52c935f42485f775cd41648e4d Closes-Bug: #1897177 |
||
|
Zuul
|
127bf9707c | Merge "New proxy logging field for wire status" | ||
|
OpenStack Proposal Bot
|
055e7b93a5 |
Imported Translations from Zanata
For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Iaff6cdd9e8de2589a56113867550e35d52cc068f |
||
|
Clay Gerrard
|
fb08d477eb |
New proxy logging field for wire status
Capture the on the wire status code for logging because we change the logged status code sometimes. Closes-Bug: #1896518 Change-Id: I27feabe923a6520e983637a9c68a19ec7174a0df |
||
|
Zuul
|
44ac59ddc3 | Merge "py3: Fix non-ascii chars in staticweb listings" |