* Update kuryr-libnetwork from branch 'master'
to 0c4c8dcd6f2eb9c5a31b4d24ce6a85e7503e7d7c
- Merge "reno: Update master for unmaintained/victoria"
- reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.
Change-Id: Ib2bb44888c856200c9647267e73a9b6bad1e1943
* Update kuryr-libnetwork from branch 'master'
to 99d6e8438dafb5e114b4543df4e55610b81bc89a
- Merge "reno: Update master for unmaintained/wallaby"
- reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: Ic5336522c97cb37b620c961639c9d62025b8eedf
* Update kuryr-libnetwork from branch 'master'
to 349a6c7e024c33dd1c9548e816460e4f0b688373
- reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.
Change-Id: I046ac690e25686203212674d50b326ee9aa360e1
* Update kuryr-libnetwork from branch 'master'
to 25553495ec242241657a466c98eea4f68a0e9de1
- Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I0c663209a51704bdb0954e2e418deb92baad745a
* Update kuryr-libnetwork from branch 'master'
to e57ae2e9f33966a527c44d7fba9ad4854c5c1116
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: Id5b886e2f93588d32fb529a29a4e576357ebab8a
* Update kuryr-libnetwork from branch 'master'
to 607f7a0716ca574b8d9a83264c07910e15158b8a
- Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg
Change-Id: I5581aaba3bbb214b906e9743ddc7085632a94787
* Update kuryr-libnetwork from branch 'master'
to 36942efa88efce2f9c6df1b9cdfc1ec704666afa
- Allow repeated creation of subnetpool
After we switch to 'local' capacity scope, each host will call
kuryr to create a subnetpool. To handle this, we create the
subnetpool at the first call, and return the existing subnetpool
at subsequent calls.
Change-Id: I987dba992fa5fe590c17a8ee49d14d03bcc08dd3
* Update kuryr-libnetwork from branch 'master'
to 00ab075497d03e62c9c57adf5d5e1f2210acb61f
- Remove external cluster store from docker config
Related-Bug: #2007142
Change-Id: I411086127cfaee20c17867adf779200e6e31a2ea
* Update kuryr-libnetwork from branch 'master'
to 693ffb903b409abd18f321af05871b64d9cb5084
- Fix python path due to global virtual environment
Change-Id: Ibcd48c41f00cdac30654d5f90a9ee4b4c829ae85
* Update kuryr-libnetwork from branch 'master'
to 1c53427ea26dba7713beb904864d5daede245fe5
- Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: Ie1a955e7cab548b617401c27217728f40fbb4a6a
* Update kuryr-libnetwork from branch 'master'
to 3bce4281376615a1a5b3cc347670261155f4ea50
- Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I077335241d7be4a47c78d0ccb935695e7abdc9a0
* Update kuryr-libnetwork from branch 'master'
to 7fce4cd9251f29ede3659b41a8cbd099134be29f
- Fix tox4 error
tox.ini started failing with Tox4 which had some
incompatible changes.
Fixing tox.ini for tox4 changes.
The latest version of docker broke kuryr-libnetwork since
it removes external k/v support. We have to hardcode
to an older version of docker to workaround.
The CI failed to delete subnetpool since the subnet haven't
been deleted yet. This commit also fixed it.
Depends-On: https://review.opendev.org/c/openstack/devstack-plugin-container/+/875113
Change-Id: Id48bb7d92f2f5d9d08b44acf651dbba3bf2e924e
* Update kuryr-libnetwork from branch 'master'
to b33439ba71b73e7f34474eecad9756d689c173db
- Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I78f1d614be405c919862ca7db758d51844a2d270
* Update kuryr-libnetwork from branch 'master'
to 41ac9fe57c6256d6778257b8c9909577c199dda4
- Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I1bfbf0e9fd9416bccac9a902a02108548874b806
* Update kuryr-libnetwork from branch 'master'
to b5d539a902a73b390b1b461fcf821b723a621399
- Merge "Use TOX_CONSTRAINTS_FILE"
- Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: I0be74cd810fce7ac98d97a4d362fc92190721bb5
* Update kuryr-libnetwork from branch 'master'
to 602c545268683b7cf5ebded0dbbdcad2bd4994fa
- Merge "Revert "Fix the bindir path""
- Revert "Fix the bindir path"
This reverts commit 9cc51ae2c8b8064c3d9ae5f23c121215dd0b4ff6.
Reason for revert: it seems distutils has fixed the path so we revert our fix
Change-Id: Ibbe1bdc19dceb1e6fbbf467bfd44aa18f0a7cb78
* Update kuryr-libnetwork from branch 'master'
to f73cad32770a6a00c9ee55aee6fbde2b0f87e25d
- Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.
[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal
Change-Id: I5c7e56384172751411ecf0394884feda1cfc3a3f
* Update kuryr-libnetwork from branch 'master'
to 9cc51ae2c8b8064c3d9ae5f23c121215dd0b4ff6
- Fix the bindir path
It looks the bindir should be "/usr/local/libexec/kuryr" instead.
Closes-Bug: #1970217
Change-Id: I92cb41bf22e28cbbeb9e88699432dbfadef86107
* Update kuryr-libnetwork from branch 'master'
to 940847844452a0f6b9acd52965c5b8c687dbcce1
- Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Iec8c12c82e21a53aec31245144d4131e1a077134
* Update kuryr-libnetwork from branch 'master'
to 151d17c51a167b3e861f4706712539bec8ebc149
- Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: Ia7dca0e96be41cde7303a9b8d9a40f1478de66d2
* Update kuryr-libnetwork from branch 'master'
to e5daefc3c2dae2d4f65ef584eb257e841cd417e7
- Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Iaba13af368373fa604c0a198b6ebb8f585a43e84
* Update kuryr-libnetwork from branch 'master'
to 5c0721832a1797188f1917fcbf44b7cc29f06f25
- Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: If5886e167889b1c02aeee932dda70d386b6968f7
* Update kuryr-libnetwork from branch 'master'
to dbb7a4dff64326d547243ce092d5064a13bfabb0
- setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: Ie4e3366ad01e219971595464122a6b262e55cb91
* Update kuryr-libnetwork from branch 'master'
to f2edb0c54a1b2303bd1c7a45b3e7342daa854b99
- Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I60b72e28a81bd8536e48ed25f6e8beb7d0ab9863
* Update kuryr-libnetwork from branch 'master'
to 03958c9dec885284204556919f12f1f2795d2cc5
- Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: I3ce8b6ac6d8a666b75ef943d0c35dc58262c8c94
* Update kuryr-libnetwork from branch 'master'
to 8f7866809240acd52667f9e47a5df4a700d9290b
- Add doc/requirements
Specify doc requirements needs to be moved out from
test-requirements.txt to in doc/requirements.txt
to avoid problems with the pip resolver as announced by
the release team [1].
[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
Change-Id: Iac9a3421c23370f19f57d6aa84c2862ccfce2a94
* Update kuryr-libnetwork from branch 'master'
to e7bc12e5cbf9c9abe2ef69ffa3113558d60c88a6
- Fix lower-constraints job
This commit upgrades versions of kuryr-lib, MarkupSafe and
pyroute, which were required for the new pip resolver.
Change-Id: I214bcb70d05c871dc7e35ce1d0d861911f728650
* Update kuryr-libnetwork from branch 'master'
to c34f977cfda2d52af86249c6234bc86469a2af5f
- docs: add CAP_NET_ADMIN to service AmbientCapabilities
This adds CAP_NET_ADMIN to the list of capabilities available
to the service. This is most relevant when the service runs as a
non-root user.
Related-Bug: #1852105
Change-Id: Ie50c092b723a4e5e8fc501370547711b06f77f1c
* Update kuryr-libnetwork from branch 'master'
- Merge "optimize size and time using --no-cache-dir"
- optimize size and time using --no-cache-dir
Using --no-cache-dir flag in pip install ,make sure dowloaded packages
by pip don't cached on system . This is a best practise which make sure
to fetch ftom repo instead of using local cached one . Further , in case
of Docker Containers , by restricing caching , we can reduce image size.
In term of stats , it depends upon the number of python packages
multiplied by their respective size . e.g for heavy packages with a lot
of dependencies it reduce a lot by don't caching pip packages.
Further , more detail information can be found at
https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6
Change-Id: Ia635ecb0eaea3a400a0b03031efec354d0c3c77e
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
* Update kuryr-libnetwork from branch 'master'
- Merge "Run fullstack jobs on available python"
- Run fullstack jobs on available python
fullstack jobs via tox env are hardcoded to run on python3.6 which
is not available on all the etsting runtime distro version for example
Ubuntu Focal.
Story: #2007865
Task: #40192
Depends-On: https://review.opendev.org/#/c/734700/
Change-Id: I7dd539f4723983c7a7ddf54f2c3010713d84f257
* Update kuryr-libnetwork from branch 'master'
- Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I1bbe63570cae0e8e5de2a50629e1553b28141e4f
* Update kuryr-libnetwork from branch 'master'
- Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: I33898b6cd8f9c00db7672603aec85636cff71cce
Sem-Ver: feature
* Update kuryr-libnetwork from branch 'master'
- Merge "bump py37 to py38 in tox.ini"
- bump py37 to py38 in tox.ini
in 'victoria' cycle, we should test py38 by default.
Change-Id: Ice109d685d1d74951694caef0c29c656f313abe9
* Update kuryr-libnetwork from branch 'master'
- Clean debug-py35 up from tox.ini
kuryr-libnetwork require python >= 3.6[1], so the debug-py35 is stale and
should be removed
[1]: https://github.com/openstack/kuryr-libnetwork/blob/master/setup.cfg#L9
Change-Id: I145008bae1789284ff6850b8c0c5f47c274ccf5a
* Update kuryr-libnetwork from branch 'master'
- Migrate jobs to zuulv3 native
Migrate the following jobs to zuul v3:
* kuryr-libnetwork-fullstack-py3
* kuryr-libnetwork-kuryr_lib-src-fullstack
* kuryr-libnetwork-install
* kuryr-libnetwork-fullstack-ipv6-only
Remove the following unused jobs:
* kuryr-libnetwork-install-multinode
Change-Id: I54d784fe0bded5f461ba9f26ed901ec042a6bd0d
* Update kuryr-libnetwork from branch 'master'
- Merge "Handle subnet without gateway"
- Handle subnet without gateway
* When libnetwork requests the IP address of the gateway
(via /IpamDriver.RequestAddress) and the neutron subnet has gateway
as None, return '0.0.0.0/0' as a placeholder.
* Disable default docker gateway via the 'DisableGatewayService' flag
(see https://github.com/moby/libnetwork/pull/778).
Change-Id: I3033d28eb268a01de8cf038b1ed20110ca9a31ea
Closes-Bug: #1881910
* Update kuryr-libnetwork from branch 'master'
- Install tox before running tests
We run tests by using 'tox' so we need to install it.
Change-Id: I95d3354b4f691850af8cc6f4c6af4c9e98e5cb1f
* Update kuryr-libnetwork from branch 'master'
- Inform that single +2 is required to merge patches
This was agreed with active devs of the project and raised on the
mailing list [1]. From now on, we can merge patches with only a single
+2 vote in Gerrit.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-June/015440.html
Change-Id: I0b631401cdb9a293a4eaeda6c7d9e0d41cb01cee
* Update kuryr-libnetwork from branch 'master'
- drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.
These changes will help us to drop `mock` from openstack/requirements
Change-Id: I264cfc61d6f20ac0842931b793bf72935fdd550d
* Update kuryr-libnetwork from branch 'master'
- Merge "Remove six"
- Remove six
We don't need this in a Python 3-only world.
Change-Id: I14ed209a18ab572c073400fabdd28fd639d55240
* Update kuryr-libnetwork from branch 'master'
- Merge "Cap jsonschema 3.2.0 as the minimal version"
- Cap jsonschema 3.2.0 as the minimal version
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.
[1] https://github.com/Julian/jsonschema/pull/627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
Change-Id: Ib5308485e50cc076855cc8e1df72b02d208febe1
* Update kuryr-libnetwork from branch 'master'
- Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: If74b848e1f63a0e116737553fec8ab76d63457f5
* Update kuryr-libnetwork from branch 'master'
- Merge "Add releasenotes link to README"
- Add releasenotes link to README
Change-Id: I37f2acd77a953c67e18f0772cd1aa3d47e62f6a0
* Update kuryr-libnetwork from branch 'master'
- Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I71b869fc509cb46b55b1e88fae20422bcba085f7