| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This bumps the tenacity dependency to
>= 5.0.0 because that is what should have
been done with the fix in [1] where that
new support was added.
[1] https://review.opendev.org/c/openstack/tooz/+/829412
Change-Id: I5aef75c3dba44b975b850c0745bfe317837d2c12
|
|
|
|
|
|
|
| |
Instead of lambda func use the defined
retry_never Retrying class.
Change-Id: I756b44443d8b5892c04bd1be9faa010e39c763fc
|
|
|
|
|
|
|
| |
Sometimes, connections get closed by the server. This change
adds retrying to the code.
Change-Id: Iaab5ce609c0dcf7085f5dd43efbd37eb4b88f17b
|
|
|
|
|
|
|
| |
Recent version 7 changed retry and dropped the
retry_state parameter.
Change-Id: I109d3b5770c3cd8fe0bdeae78517f4d36ba3b65f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
md5 is not an approved algorithm in FIPS mode, and trying to
instantiate a hashlib.md5() will fail when the system is running in
FIPS mode.
md5 is allowed when in a non-security context. There is a plan to
add a keyword parameter (usedforsecurity) to hashlib.md5() to annotate
whether or not the instance is being used in a security context.
In the case where it is not, the instantiation of md5 will be allowed.
See https://bugs.python.org/issue9216 for more details.
Some downstream python versions already support this parameter. To
support these versions, a new encapsulation of md5() has been added to
oslo_utils. See https://review.opendev.org/#/c/750031/
This patch is to replace the instances of hashlib.md5() with this new
encapsulation, adding an annotation indicating whether the usage is
a security context or not.
Reviewers need to pay particular attention as to whether the keyword
parameter (usedforsecurity) is set correctly.
Change-Id: Idbef0f0896753765372c8dfac8ab15e6be49922f
Depends-On: https://review.opendev.org/#/c/760160
|
|
|
|
|
|
|
| |
The tooz project doesn't support Python 2 anymore, using the
six library should not be necessary.
Change-Id: I9886cabcd13cbc615065ceb372efbf037dff1aeb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenStack is dropping the py2.7 support in ussuri cycle.
Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Parent tox py36/py37 jobs to openstack-tox-py36/37 so that the correct
interpreter is installed.
Change-Id: I14a01f0a9989195e30c3ed0dadec35490f41bd48
|
|
|
|
|
|
| |
It is only needed for the etcd3 driver.
Change-Id: I0a0215f56b37d9a4286097b7f748f68d59afcb35
|
|
|
|
|
|
|
|
|
|
| |
Sphinx 2.0 no longer works on python 2.7, so we need to start capping it there.
grpcio-1.16.0 introduced a bug that is breaking the tooz unit tests.
cf. I8b026a0680a91a68281e354a59012565f4db1b95 for more info. 1.18.0
fixes the problem, so bump our minimum requirement to that version.
Change-Id: I4b672563f4a80ce0e0478c867b7f85842ac3b0d3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have a couple of issues blocking tooz test jobs right now. This
is a combination of two commits that fix the problem.
Cap grpcio<1.16.0
1.16.0 introduces a bug that is causing our etcd3 tests to fail on
a consistent basis. Until that is resolved we can't use any higher
versions of grpcio.
1.0.0 is used as the lower bound on the assumption that any version
of the current major release will work. Since we weren't setting a
bound before that seems relatively safe.
Partial-Bug: 1808046
Fix requirements
The requirements check job is failing on a couple of the entries in
this project. enum34 needs a lower bound, and futurist has an
exclusion that isn't in global-requirements.
enum34 is given the same lower bound as oslo.upgradecheck, and
futurist's lower bound is increased to the last global lower bound
(before lower bounds were removed), which eliminates the need for
the exclusion.
Change-Id: I1b279e138325b596f5ec2c61717029d2f7bdd075
Depends-On: https://review.openstack.org/#/c/624759/
|
|
|
|
|
| |
Change-Id: I92cb78b4e361023f04424b3c52ac8ec8e0c82d5f
Related-Bug: #1743445
|
|
|
|
|
| |
Change-Id: I1f4710ac0b7a3fd32cd3406254ecbd6b7ae1dfa2
Closes-Bug: #1635406
|
|
|
|
| |
Change-Id: Ic03b166406e4b43f99c71de2d4ff50dbde0b5737
|
|
|
|
| |
Change-Id: I3fdc2c1e9b42e52d2b9d21781b968542af68a987
|
|
|
|
| |
Change-Id: I820f2f82e98671a87fc8ccf2482d192943de0bf8
|
|
|
|
|
|
|
| |
This makes sure we install the correct and only the correct dependencies
when installing tooz, based on the driver one wants to use.
Change-Id: I58825cf228771a00b28d515a552141b42f884efa
|
|
|
|
| |
Change-Id: I3d91a6548de6dfa655a1e485a78db2337b728568
|
|
|
|
| |
Change-Id: I31800fa778009a20802c49bb042f817234b417dd
|
|
|
|
| |
Change-Id: I4324dc5ccd7766589578b0264fad506fcc80ab99
|
|
|
|
| |
Change-Id: Ia85537281753383058c70529a821f15afcf19c72
|
|
|
|
| |
Change-Id: I5d8c739cda2d4f2b7c47258106114c977262e2ca
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For now it only supports locks, in the
future it may support more functionality
as time allows (and/or if people want to
add it).
Co-Authored-By: Joshua Harlow <harlowja@gmail.com>
Implements: bp add-consul-driver
Change-Id: I6064383e9db4e90fd16f17065bd7b0934ca7e125
|
| |
| |
| |
| | |
Change-Id: I8004b9b0baa5347c5fb74135ac0dba88316f5916
|
| |
| |
| |
| |
| |
| |
| |
| | |
See the following thread for more details.
http://lists.openstack.org/pipermail/openstack-dev/2016-April/thread.html#92510
Change-Id: I70a5118d289d95559a3b0500a6853d2a88048941
|
| |
| |
| |
| | |
Change-Id: Ie8a763a2e335bbe80584ab0b34800de06204433d
|
| |
| |
| |
| | |
Change-Id: I43f17dfefe1e80939d93f19dd8f43261ae31df2e
|
| |
| |
| |
| | |
Change-Id: I062ef06ab2843dc5ea2f7603dde0a9f999e5c7da
|
|/
|
|
| |
Change-Id: I0d5ab27c75efbc58d4baf5da14a42d01846673b7
|
|
|
|
| |
Change-Id: I6fbd3ecb40d03f0cda21f24bf42e956efaa15125
|
|
|
|
| |
Change-Id: Iafa97879f99837bc7dea4fce0be2742c3975895f
|
|
|
|
| |
Change-Id: I7e206ac84796527b47e9c41ca9dcce5197d8ec0a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The voluptuous is easier to use for non-rest oriented
library & services (which is really the place for jsonschema
to be used, as the schema for rest-services can be sent
to the user in json if needed) so use voluptuous internally
instead of jsonschema for simplicity and ease of use.
Change-Id: I0246708a5f8b60a9bedcddd0a8971d7d18eb589a
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Icf187db9ba7d076b1a0f3cc9343acb0eaa1862cb
|
| |/
|/|
| |
| | |
Change-Id: I64854e89646274bb44e600d69ab5f0d63807dcfb
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: Ibac90b9b2a751eb4f502e2f8b723e5608dcaad18
|
| |
| |
| |
| | |
Change-Id: Ic593db906bfc570c019f70f485f7cfb0d3298257
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Using jsonschema we can validate (at a basic level)
that the files created and the contents written were
not altered to be of a different format so add some
basic format validation to help in detecting format
issues/changes.
This also avoids having to use type errors to try to
detect this same kind of tampering/data format change.
Change-Id: I80b4e560f24162e079cf4adab06d35ec75f4b70c
|
|
|
|
| |
Change-Id: I6be25677470a03a3d45877442e4e9fd1d93ab995
|
|
|
|
| |
Change-Id: I6aa1d9767f5da59c88b940f6ca7ed56abff41166
|
|
|
|
| |
Change-Id: I1fb982064db18005f1df6b5d44a7f8cafe00779b
|
|
|
|
| |
Change-Id: I82a9eef2426db1478c4f4542a4c0630f3bcf1ca7
|
|
|
|
| |
Change-Id: I1362b8e0313f9ce353468905ba0713c9ffa13ece
|
|
|
|
| |
Change-Id: I6055a8249e653a572cf1b86e30f830f8965c3b80
|
|
|
|
| |
Change-Id: Iedea200bc9fb9244713d7227b8305055a0424ea5
|
|
|
|
| |
Change-Id: Ibc718f2d80ab2b464f630b02f11b3d8554572c4f
|
|
|
|
| |
Change-Id: I74bf61f0d1311d398f1b1d9961066f623d02b476
|