Commit Graph

1019 Commits

Author SHA1 Message Date
Zuul 0c4c8dcd6f Merge "reno: Update master for unmaintained/victoria" 2024-03-20 17:22:39 +00:00
Zuul 99d6e8438d Merge "reno: Update master for unmaintained/wallaby" 2024-03-20 17:22:08 +00:00
OpenStack Release Bot 349a6c7e02 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I046ac690e25686203212674d50b326ee9aa360e1
2024-03-19 10:25:54 +00:00
OpenStack Release Bot b24d437b54 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Ic5336522c97cb37b620c961639c9d62025b8eedf
2024-03-19 10:25:16 +00:00
OpenStack Release Bot 6020f076ff reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: Ib2bb44888c856200c9647267e73a9b6bad1e1943
2024-03-19 10:24:37 +00:00
OpenStack Release Bot 25553495ec 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
2024-03-15 14:36:33 +00:00
OpenStack Release Bot e57ae2e9f3 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Id5b886e2f93588d32fb529a29a4e576357ebab8a
2024-02-19 06:32:58 +00:00
Ghanshyam Mann 607f7a0716 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
2024-01-03 23:57:21 -08:00
Hongbin Lu 36942efa88 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
2023-12-19 07:26:37 +00:00
Hongbin Lu 00ab075497 Remove external cluster store from docker config
Related-Bug: #2007142
Change-Id: I411086127cfaee20c17867adf779200e6e31a2ea
2023-12-19 05:00:31 +00:00
Hongbin Lu 693ffb903b Fix python path due to global virtual environment
Change-Id: Ibcd48c41f00cdac30654d5f90a9ee4b4c829ae85
2023-09-17 22:07:46 +00:00
OpenStack Release Bot 1c53427ea2 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
2023-09-15 14:07:26 +00:00
OpenStack Release Bot 3bce428137 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
2023-03-02 11:51:22 +00:00
Hongbin Lu 7fce4cd925 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
2023-02-25 05:32:45 +00:00
OpenStack Release Bot b33439ba71 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
2022-09-16 09:58:25 +00:00
OpenStack Release Bot 41ac9fe57c 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
2022-09-16 09:58:23 +00:00
Zuul aac61e7cbf Merge "remove unicode from code" 2022-08-12 06:09:11 +00:00
Zuul b5d539a902 Merge "Use TOX_CONSTRAINTS_FILE" 2022-08-12 06:09:09 +00:00
Zuul 602c545268 Merge "Revert "Fix the bindir path"" 2022-08-01 11:52:41 +00:00
hongbin 3035d43c78 Revert "Fix the bindir path"
This reverts commit 9cc51ae2c8.

Reason for revert: it seems distutils has fixed the path so we revert our fix

Change-Id: Ibbe1bdc19dceb1e6fbbf467bfd44aa18f0a7cb78
2022-08-01 06:35:35 +00:00
niuke e659f67b99 remove unicode from code
Change-Id: I03ee94bad87fcf3d3f09849caaa652d2d912f503
2022-07-28 10:46:36 +08:00
niuke 4daa56797d 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
2022-07-26 17:15:05 +08:00
Ghanshyam Mann f73cad3277 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
2022-04-30 20:20:09 -05:00
Hongbin Lu 9cc51ae2c8 Fix the bindir path
It looks the bindir should be "/usr/local/libexec/kuryr" instead.

Closes-Bug: #1970217
Change-Id: I92cb41bf22e28cbbeb9e88699432dbfadef86107
2022-04-25 13:37:51 +00:00
OpenStack Release Bot 9408478444 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
2022-03-10 08:20:45 +00:00
OpenStack Release Bot 151d17c51a 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
2022-03-10 08:20:44 +00:00
OpenStack Release Bot e5daefc3c2 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
2021-09-15 02:30:58 +00:00
OpenStack Release Bot 5c0721832a 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
2021-09-15 02:30:56 +00:00
YuehuiLei dbb7a4dff6 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
2021-05-06 11:01:39 +08:00
OpenStack Release Bot f2edb0c54a 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
2021-03-23 17:02:47 +00:00
OpenStack Release Bot 03958c9dec 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
2021-03-23 17:02:39 +00:00
Maysa Macedo 8f78668092 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
2021-01-05 23:03:40 -03:00
Maysa Macedo e7bc12e5cb 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
2021-01-05 22:42:22 -03:00
Andrew Bonney c34f977cfd 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
2020-12-03 14:12:18 +00:00
Zuul e8ba97ab8d Merge "optimize size and time using --no-cache-dir" 2020-10-09 17:32:57 +00:00
Zuul 3f30c7a4f2 Merge "Run fullstack jobs on available python" 2020-10-06 02:47:01 +00:00
Pratik Raj 952e881922
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>
2020-10-03 11:52:16 +05:30
Ghanshyam Mann 29342ddf6f 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
2020-09-22 20:25:01 +00:00
OpenStack Release Bot c4d74c2d89 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
2020-09-22 14:04:28 +00:00
OpenStack Release Bot d6e710d579 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
2020-09-22 14:04:26 +00:00
Zuul c587fc063d Merge "bump py37 to py38 in tox.ini" 2020-09-19 14:18:09 +00:00
zhoulinhui 1fd18abbc0 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
2020-09-18 22:45:12 +08:00
zhoulinhui 1c0e6f8e45 bump py37 to py38 in tox.ini
in 'victoria' cycle, we should test py38 by default.

Change-Id: Ice109d685d1d74951694caef0c29c656f313abe9
2020-09-18 00:43:48 +08:00
Hongbin Lu b096b19a5f Remove unnecessary "run" and "post-run"
Change-Id: I8fa392718c2a747a99639d0bd1fa1e2e97a7b47a
2020-07-25 23:06:26 +00:00
Hongbin Lu 055745136e 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
2020-07-22 02:06:45 +00:00
Hongbin Lu 8eee0968b9 Use python3 by default in all jobs
Change-Id: I823085b73ec816177a1f63c22eb4b7438bbd560a
2020-07-20 01:12:50 +00:00
Zuul 3c1a92403f Merge "Handle subnet without gateway" 2020-06-26 19:59:02 +00:00
Hongbin Lu 243e500e8c Install tox before running tests
We run tests by using 'tox' so we need to install it.

Change-Id: I95d3354b4f691850af8cc6f4c6af4c9e98e5cb1f
2020-06-26 02:54:56 +00:00
Michał Dulko 47dc0e759f 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
2020-06-23 13:05:36 +02:00
lidong 3fc01f57fd Add blueprints link to README
Change-Id: I0adb8922f36365b9c0e3f436341bd03f77b8a5f7
2020-06-10 09:01:06 +08:00