Commit Graph

2400 Commits

Author SHA1 Message Date
Zuul 1211d7e2b5 Merge "reno: Update master for unmaintained/victoria" 2024-03-20 17:22:17 +00:00
Zuul df0b1fcac7 Merge "reno: Update master for unmaintained/wallaby" 2024-03-20 17:22:04 +00:00
OpenStack Release Bot 69c1a6af02 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

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

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

Change-Id: I3dd1a0cd2ebf2e5bee2e72d0702417c5d63d1062
2024-03-19 10:24:24 +00:00
OpenStack Release Bot d92cee17f0 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: I800219473effc1cbd0d2c801a7d70abcc259aa2a
2024-03-15 14:39:46 +00:00
Ayumu Ueha 0c1fe5fd3c Change k8s package repository
Closes-Bug: #2055979
Change-Id: Ib43164901cbc23038eff7c2b110078555d5e4ba3
2024-03-05 13:03:19 +00:00
Zuul 9540c87b3f Merge "Drop dependency on pytz" 2024-02-28 20:41:41 +00:00
Takashi Kajinami fd1bacf738 Remove deprecated [pod_vif_nested] worker_nodes_subnet
This option was deprecated in 4.0.0[1] in favor of the new subnet"s"
option. The latest release is 9.0.0, so we can assume enough times has
been given to users so that they can switch to the new option.

[1] b3814a33d6

Change-Id: Ie86c019bbb560cca9b5a3a77319ed639a2245a2d
2024-02-28 18:25:54 +09:00
Takashi Kajinami 52ae921e28 Drop dependency on pytz
Current usage of pytz can be easily replaced by the built-in datetime
library and this allows reducing dependency on 3rd party libraries.

Change-Id: I74c5b8ebce7600cc5986f48a9874ab1882a49ed4
2024-02-28 11:35:24 +09:00
Roman Dobosz a3095c0485 Added pytz to requirements.
Change-Id: Ife9e645d6d9dbf298f08201366a2075d74f80258
2024-02-26 09:53:57 +01:00
Ai Hamano 15125a46a1 Update RDO_REPO used to build CNI
Closes-Bug: #2054376
Change-Id: Ie92017f9be0b6c528fe1e1e8ce41b0c194553c16
2024-02-22 01:49:33 +00:00
OpenStack Release Bot c85513970f reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: If09ac6b0a50bccc8574056dff6dcb001a48637d7
2024-02-19 06:32:29 +00:00
Ghanshyam Mann 02492ad314 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: I98bddf58600c7e616fcf89a16064277695f10a65
2024-01-03 23:57:53 -08:00
Ashutosh Mishra 88b47f30d4 Kubeadm installation for CentOs.
Kubernetes repo added for CentOs and installed kubeadm using yum.

Closes-Bug: #2041844
Change-Id: I08e591d616ebea772bd8d87b3c8ab194bce7fb5b
2023-11-01 12:56:19 +00:00
Zuul 071b5f3236 Merge "Bump kubernetes version to 1.28" 2023-10-11 19:59:07 +00:00
Zuul 2891c69e53 Merge "Installation docs update." 2023-10-11 19:59:06 +00:00
Zuul 18c81d8bfe Merge "Update RDO used to build CNI" 2023-10-11 19:59:05 +00:00
Zuul 2b628fd1ad Merge "Bump jobs base to Ubuntu 22.04 Jammy" 2023-10-11 19:59:03 +00:00
Zuul e381957904 Merge "Cleanup py27 support" 2023-10-11 14:13:58 +00:00
Roman Dobosz eae38b9559 Bump kubernetes version to 1.28
Change-Id: I921b165092c9bf81d7223933c508eda6c9eae935
Depends-On: https://review.opendev.org/c/openstack/kuryr-kubernetes/+/896008
2023-10-11 12:19:30 +02:00
Michał Dulko 042eaef61e Update RDO used to build CNI
Change-Id: I07b11d4d4ecb5a1a461edcb1e2ea2bc4ff5189c9
2023-09-21 11:02:42 +02:00
Michał Dulko a3130bf641 Bump jobs base to Ubuntu 22.04 Jammy
DevStack stopped accepting Ubuntu 20.04 Focal, so we need to bump the
version we use to Jammy. This commit does so.

Change-Id: I7b227dfb29b49ff6a561209938a2c263f5dd2f90
2023-09-21 11:02:42 +02:00
OpenStack Release Bot 4f130a3018 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: Iedde80a136f94cd740956f34b3efe14c9f6c303d
2023-09-15 14:06:57 +00:00
Zuul 4993c7a4b2 Merge "Bump kubernetes to version 1.27." 2023-08-03 13:58:11 +00:00
Roman Dobosz d95893b503 Installation docs update.
Change-Id: I1504c1037c17e1a8cd68989567533d69e9b4eb8d
Closes-Bug: #2029122
2023-08-03 12:27:35 +02:00
Roman Dobosz cf560896e3 Cleanup hyperkube leftovers.
We've switched to the kubernetes binaries from kubernetes project itself
a while ago. There are still some of the mentions in the sample
local.conf about it and a wrapper shell script for the kubectl. In this
commit it will be removed.

Change-Id: Id2ea00db502a9a77c7686c1f2c60637f37bd72df
2023-07-24 13:45:58 +02:00
Roman Dobosz fa62887fe1 Bump kubernetes to version 1.27.
Change-Id: I7876322b48ca28edf54629dc27551c2dd00f921b
2023-07-24 11:14:17 +02:00
Ayumu Ueha 430ae62e4f Bump Kubernetes and cri-o version to 1.26
Change-Id: I477f1bb1fefd211b4f5e43ec4182967c89d0f106
2023-07-14 11:48:26 +00:00
Michał Dulko 74b41a9846 Update CNI to v0.8.1
Change-Id: I686cbd62020139d64dcf00a07c89e53d53d0eab2
2023-06-27 13:10:22 +02:00
Maysa Macedo 4030f2706a Skip retry of Network Policy event
When attempting to Handle a Network Policy and one Namespace
which is affected by it is in the process of getting handled
by Kuryr, the Network Policy event would be often retried.
This commit removes the retry to make sure the Network Policy
gets updated only once the Namespace handling has finsihed.

Change-Id: I73c9488dca21f73070ca84352e3ba3780ea7298f
2023-04-28 16:25:32 +02:00
Michał Dulko 2141dba99c KuryrPort cleanup: Fix issue of subport not found
It can happen that during the cleanup of KuryrPort when Pod is already
gone we'll fail trying to find the parent port ID. We have a bug that in
this case finalizing of KuryrPort fails.

This commit changes the way we look for the hostIP of the pod to
actually look up a node using the info from KuryrPort CRD. If this fails
(node removed?) we try querying OpenStack API to get this information.
If this fails too, we just don't pass hostIP to mocked Pod.

Change-Id: I72aea5713f90c8df2f5d0269fa83b8fdd5220c59
2023-04-25 12:46:08 +02:00
Maysa Macedo 2b69e039a8 Fix value ValueError when Pod has no IP address
In case the Pod has no IP address we shouldn't attempt to
convert it to a Python address. Instead, we should skip that
operation and expect it to be retried later.

Change-Id: I1eb9c2f51fd792405cbb87742645518a00fdc890
2023-04-14 13:53:26 +02:00
Michał Dulko 9cd15b6d37 Revert "Nit: Change from dict to object notation"
This reverts commit feec91cec1. Turns out
this wasn't okay, sub_ports property on Trunk objects is a list of
dictionaries.

This also fixes unit tests to account for that.

Change-Id: I17f217a6f2bfc833019ba407c248564e74b663d2
2023-03-28 15:54:11 +02:00
Roman Dobosz 6b4992e585 Turn on pod security context on master.
Change-Id: If982af87ddd1fe41670a42fe23a8e11490f4a100
2023-03-21 06:58:48 +01:00
Roman Dobosz 8aaa92c6df Added devstack option to turn on pod security on tempest.
Change-Id: I037eb8122b768ac986b3d9b66212bb03a680f529
2023-03-21 06:58:48 +01:00
Michał Dulko 1168863473 Make Amphora jobs non-voting
For a long time gate jobs with Amphora are unstable due to LBs being
unstable due to Amphora somehow not working as expected. The gates with
OVN Octavia provider are much more stable for the same cases. This
commit makes all the jobs with Amphora non-voting to fight constant
rechecks that we're forced to do.

Change-Id: I94a7403fa1dd038b7f9f8a922a4f635ed5816067
2023-03-17 15:26:32 +01:00
Zuul f3cef8fdd9 Merge "Remove network policy tests from zuul." 2023-03-17 11:48:41 +00:00
Roman Dobosz 5ba0681e8c Remove network policy tests from zuul.
Network Policy e2e tests are broken for some time now. It doesn't bring
any value to run them at current state. This patch will disable those
tests.

Change-Id: I8ce459edddf6f8307376eae68bbc75d173f0d19a
2023-03-13 14:11:53 +01:00
Michał Dulko feec91cec1 Nit: Change from dict to object notation
Looks like we have one last occurrence of usage of dictionary notation
to access properties of the openstacksdk object. This commit replaces it
with object notation.

Change-Id: I033e6166ecfbccd5e05dba4f7d66422212bc15c9
2023-03-08 09:59:29 +01:00
OpenStack Release Bot efd3e63b17 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: I8577a0324694d23962fd5b6f3795929694f898b2
2023-03-02 11:31:51 +00:00
Stephen Finucane 6f2a8daf36 Remove munch
openstacksdk no longer uses this and we don't need to either. Instead,
create fake version of the actual resources openstacksdk would return.
This is more realistic and let's us remove munch entirely.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I4549340611cf4da74d525e2adaf724c3cb749f57
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-02-22 12:05:41 +00:00
Roman Dobosz 3f80fc43a3 Use new registry for all the kubernetes images.
Turns out, that all the images has been moved from k8s.gcr.io to
registry.k8s.io, so that there is no need to distinguish between those
two locations for older version of k8s (especially the one which we are
relaying on for docker gate). In this patch we switch over to the
registry.k8s.io for all of the supported kubernetes versions.

To make it work it is also requires to bump kubernetes 1.23 to latest
minor version, otherwise there will be issues with pulling coredns
image.

Change-Id: I7ed0ae76108a409bc72bc61ab7c12164e8277257
Depends-On: https://review.opendev.org/c/openstack/devstack-plugin-container/+/874573
2023-02-21 14:24:09 +01:00
Michał Dulko ed9f348e87 Fix VIF revert on KuryrPort status update error
There's argument number mismatch on release_vif() call while reverting
port association. This commit fixes that.

Change-Id: I54816e86910d9328d703fd7e7010d95995085cbf
2023-01-17 15:17:55 +00:00
Roman Dobosz e849734c4e Fix tox4 error.
tox.ini started failing with Tox 4.x which introduce different
interpretation for 'skipsdist' option. If set to true, application will
not be installed in the tox virtualenv, while on previous version (3.x)
it will be installed, if usedevelop is set to true.

Change-Id: I7716c14a3f18d78a3da15c8e27e60b740c659ef6
2023-01-17 12:57:14 +01:00
Roman Dobosz ba4cc2b8f0 Use either subnet name or id for Machines.
Currently, we support only subnet id for primarySubnet field for
OpenShift Machines. Even though it's possible to create objects in
OpenStack with the same name, it is more natural to use names instead of
id especially in OpenShift world. In this patch we introduce support
for using names as well.

Change-Id: Ib21646b4b7cf0e3c07ddef15b3569a0fb4539e8a
2022-12-19 07:57:32 +00:00
Roman Dobosz 5fb8104abf Bump cri-o version.
We recently bumped Kubernetes version to 1.25.x, but we forgot to do
this on cri-o as well.

Change-Id: If57888d6f48fad904bf4c7cdd5bc6c70233b95be
Depends-On: https://review.opendev.org/c/openstack/devstack-plugin-container/+/866130
2022-12-02 08:56:14 +01:00
Roman Dobosz a874180b94 Bumb Kubernetes version to 1.25
Change-Id: I49d9502db2a83eb52d42289054bb021eb7eaa027
2022-10-24 08:34:24 +02:00
Roman Dobosz de73800ae3 Pin docker gate to Kubernetes 1.23
1.23 version of Kubernetes is the last one, which supports
dockershim[1], therefore it needs to be pinned to that version to make
it work with docker. Any upcoming Kubernetes version bump will be
ignored for this particular gate, and it will be removed when Kubernetes
makes it EOL[2].

[1] https://kubernetes.io/blog/2022/02/17/dockershim-faq/
[2] https://kubernetes.io/releases/patch-releases/#1-23

Change-Id: Ia509264ad45ef5321412ba244b160dffc1c5cc60
2022-10-20 09:27:05 +02:00
Roman Dobosz 45d8b5fbad Support for kubernetes version >1.24.
Starting from 1.24 kubernetes started to use different registry for it's
images. That results with inability for kuryr to use the newer versions.
In this commit support for both registry is added.

Closes-Bug: #1991757
Change-Id: I3576159e5afbeb788369519fee12788260b0555f
2022-10-19 13:29:06 +02:00