Because Kubernetes will stop propagating metadata.selLink field in
release 1.20 and it will be removed in release 1.21, we need to adapt
and calculate selfLink equivalent by ourselves.
In this patch new function is introduced, which will return the path for
provided resource.
Also, we need to deal with list of resources, since for some reason CRs
do have information regarding apiVersion and the kind, while as for core
resources the apiVersion is only on top of the list object, kind is
something like *List, and object within 'items' are without either
apiVersion nor kind.
Implements: blueprint selflink
Change-Id: I721a46ea0379382f7eb2e13c59bd193314f37e7f
A new Devstack setting was recently introduced[1] for OVN
OVN_BUILD_FROM_SOURCE allowing to use the packaged
version when set to False. The value of OVS_RUNDIR
changes accordingly that setting, so we needs to make sure
ovs will always run on same path to avoid database
connection failures.
[1] https://github.com/openstack/devstack/
commit/e651d9ef8840bb7dd497b557125ce1cd5290993d
Change-Id: I3a7b7dcd46cb5efa747d72517b5c26560db698af
The Octavia API already supports SCTP, though the support for
Amphora driver and OVN driver is still in development. This change
ensures that Octavia loadbalancer has listeners and pools/members
created with SCTP protocol. Kuryr already handles the case where
listener's protocol is not supported by Octavia.
Partially-Implements: blueprint sctp-support
Change-Id: Ia320760807cdffacb91b45d858b90d79354ef962
This is follow up to dce5939c242d44417b74e00382fd0a08a8c34f7b, as
apparently same problem can happen on NP creation. This patch makes sure
we skip unscheduled pods there too.
Change-Id: I20bab73f3adcc12cc103ba82d2f2dfda9841efde
Closes-Bug: 1904040
While we are still using Kubernetes v1.18, this change enables
SCTPSupport in the cluster via features gate.
Change-Id: I985ef66a72183dfacb1cb90841f572aff966ed72
Seems like quay.io/app-sre is no longer available to public and builds
fail. This commit fixes that by using registry.centos.org to get
centos:8 container image and our own quay.io/kuryr to host the
golang:1.15 image.
Change-Id: I044092e83b1a525ffd7692971a2e3313dfa1e421
Bump requirements and lower-constraints libs to allow kuryr to work with
the new pip resolver.
Also update the DevStack plugin to query for docker's cgroup driver
correctly, because the old way suddenly stopped working.
Change-Id: I4f176e2eda194b060abc33e7d1541078cb78d97f
Details about Kuryr support for OVN Octavia driver are included in the
Kubernetes services networking documentation. This change, also adds an
extra section about how to enable ovn-octavia driver usage on Kuryr for
DevStack.
Change-Id: Idf73dbfdd776be443bd8272eaf8e24bf47aaab39
Closes-Bug: #1899295
This commit includes the enablement of octavia driver
agent service on ovn local.conf, which is required for
an installation with ovn.
Change-Id: I46dff0391820d1d22ac01f95e42fbd61c6ccaf17
Seems like new requests lib is somehow raising
urllib3.exceptions.SSLError more often. This commit adds it to the
exceptions expected by the Watcher and silenced with a retry.
Closes-Bug: 1906498
Change-Id: I214c08c197483c00a5caecc47ef117cdd07a7652
We see a lot of issues regarding fetching images from docker.io, due to
their latest changes to the quota policy, so that we decided to move to
registry quay.io.
Change-Id: Ia91ad1c3384a35bb9c87c092e20862a188aa2fdf
With the recent support added to Neutron to allow adding a tag to multiple
Ports at one call, this change stops Kuryr from performing two separate
requests to create the Ports and then Tagging them and just does it one
request.
Change-Id: I09496a9cd9cce4c3ae2c6a75c242aa46fa79a07d
Closes-Bug: #1899028
The targetRef field is optional for the Endpoints object,
and when service without selectors are created that field
is more likely to not be specified. This commit ensures
Kuryr properly wires Endpoints without targetRef.
Change-Id: Ib43e88aafd9e0907556a0e740990a6acbd173fb0
Seems like we were still using Ussuri's RDO to get openvswitch package
and now that it broke it's an issue. This commit updates that to use
Victoria RDO release.
Change-Id: Ide317ac064dcc2a1a2e2bdbf8129bd9021f57a0d
Change documentation and tests from 'demo/kuryr' which by default will
use docker registry to 'quay.io/demo/kuryr' which will hint about
quay.io registry.
Change-Id: I7edc6bd8fed2943acf78ce2b66c44c91b1c33114
This patch ensures that endpoints scale down to 0 event is handled
and therefore members are deleted from the loadbalancer pool
Change-Id: Idb879245607a6f0f914a44220312d54aa40e2e3d
Closes-Bug: 1904395
Tempest Tests related to KuryrNetworks are enabled by default
on Devstack, but the Namespace and KuryrNetwok handler might
not be. This commit ensures the tempest config is only updated
when the respective Kuryr handler/driver is enabled.
Change-Id: I109afd8ab797d99a3fd85793f049af30d90a3784
There were two situations, where we were missing security group, one for
LB VIP port, which have security group list empty, and on the request
VIF in kuryrport, where we cannot create port, because SG was gone
during that process.
Closes-Bug: 1903641
Change-Id: I6958ebc4ce888e5d8d68e6458e2a6a270fe6c834