Also, selfLink occurrences in unit tests has been removed (besides
those, which actually make sense), and documentation.
Implements: blueprint selflink
Change-Id: Ib0bcc9f5cb6c4cdc27c3393dcb3f665b21cb64ac
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