Commit Graph

41 Commits

Author SHA1 Message Date
Michał Dulko
bf50385f62 Move OpenShift job to experimental
There are several issues with the OpenShift job.

First of all it's running OpenShift 3.11, based on Kubernetes 1.11 which
was released almost 2 years ago. According to K8s deprecation policy [1]
the minimum support period for an API is just one year, so we might now
start to see some mismatches between supported features (as e.g. with
CRDs beta version, which just got deprecated, but stable version is not
supported by API 1.11).

Second of all - it's now constantly failing on every patch for an
unknown reason.

It's worth noting that upgrading the CI to use OpenShift 4.x is
extremely troublesome, as now OpenShift expects the installation to be
run with the full installer, which only supports nested deployments. And
nested deployments are really hard to do in the gate as we don't have
any guarantee of nested virtualization here.

This commit moves the OpenShift job to experimental queue.

[1] https://kubernetes.io/docs/reference/using-api/deprecation-policy/

Change-Id: Ibe683d008f26debd45bc0a0713d8141653860455
2020-02-25 13:12:39 +01:00
Michał Dulko
ca770736ed Basic IPv6 support in DevStack
This commit enables basic support for IPv6 pod and service subnet. Also
two gates are added - an OVS and OVN one, both as non-voting at the
moment.

The DevStack changes are mostly about putting correct --ethertype on
SGs, using ip6tables and IPv6 subnetpool.

The Kuryr change required putting IPv6 address of K8s API in brackets.

Please note that this unblocks just the most basic use case, network
policy support will still not work with IPv6.

Depends-On: https://review.opendev.org/#/c/707103/
Implements: blueprint kuryr-ipv6-support
Change-Id: Id56b622a5038d8e5c072aa00a9f38a2418e6268f
2020-02-14 14:48:34 +01:00
Maysa Macedo
0814ccaac6 Remove openshift routes(Ingress) support
Route pods from openshift can be used instead and the code
is not being used/maintained.

Change-Id: I76448752ba07f4b30dbfa783c2ae99d46e730eaf
2020-02-01 16:09:28 +00:00
Luis Tomas Bolivar
11b7bd4e40 Make OpenShift gates to use NPs
It also make network policy gates voting

Change-Id: I3f8573e1284e26891e09e6b8e3204f3e02220363
2020-01-10 17:51:52 +01:00
Michał Dulko
28b27c5de2 Remove Python 2 support
Ussuri release is the one in which we drop Python 2 support, as its EOL
is pretty close now. This commit does so in kuryr-kubernetes by
removing Python 2 unit test jobs, switching all tempest jobs to Python
3, removing specific jobs for Python 3 and updating Dockerfiles to
centos:8 that includes Python 3 from the box.

Also CentOS 7 job is removed from check queue as it seems it doesn't
play well with Python 3. A CentOS 8 job will get created soon.

Change-Id: Id9983d2fd83cef89e3198b2760816cf4a851008b
2019-11-19 12:34:54 +01:00
pengyuesheng
1fc9cdce5d Switch to Ussuri jobs
Change-Id: I7e01e1bf827e130a1b491db78b80d877356881a3
2019-10-23 15:42:15 +08:00
Corey Bryant
0b7f8fafb5 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I8064c9a1bc66a79b9a8f3fa02abc87f92965ca16
Story: #2005924
Task: #34217
2019-07-05 11:40:28 -04:00
Michał Dulko
1ec05b5581 Add Tempest gate with lower-constraints
Numerous times we hit issues when testing packaged versions of Kuryr
that use dependencies with versions between our lower-constraints.txt
and global requirements/upper-constraints.txt. Each time we found
issues and that's because our lower-constraints gate was not functional.
To further increase test coverage of lower-constraints this commit adds
a functional gate that will run Kuryr with old dependencies.

This is implemented by simply overwriting UPPER_CONSTRAINTS_FILE
build-arg when building Kuryr containers.

Besides that cotyledon's minimum version is raised to 1.5.0 as we're
actively using a feature added back then (it was in late 2016, so we
should be safe here).

Change-Id: Ic148020d1a0ec98150d8c61b21bbbe44b7be2075
2019-06-14 09:32:52 +02:00
Ghanshyam Mann
d193767135 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I46b077f268d3a812e36f3de532ce1bfe7636166c
2019-04-14 22:58:11 +00:00
Michał Dulko
faa95934b4 Remove dragonflow job from experimental jobs
This job is failing on DevStack's execution for a while and nobody seems
to care, so let's remove it from our experimental job list. This will
conserve some infra resources. Note that I'm leaving its definition in
the yaml files and will happily welcome it back once there's someone who
fixes it.

Change-Id: I0f58239660048b9100ee3ca1872df677c3463ebd
2019-02-07 18:23:09 +01:00
Michał Dulko
f4ba0dd6c5 Fixup gate names after LBaaS v2 removal
As Octavia is now the only supported LBaaS option, we can remove
"-octavia" suffix from job names. Also neutron-lbaasv2 is removed from
required projects in base job definition.

Change-Id: I35abbb73249dd907b3b5055287624929b121afb3
Implements: blueprint remove-lbaasv2
2019-02-04 12:53:00 +01:00
Michał Dulko
3e3ed9dbb3 Remove way of running without kuryr-daemon
Deploying without kuryr-daemon is deprecated since Rocky and we
announced that it will be removed in the Rocky release notes. This
commit removes all the code that allows that, updates the documentation,
DevStack plugin and gates definitions.

Implements: blueprint remove-non-daemon

Change-Id: I65598d4a6ecb5c3dfde04dc5fefd7b02fc72a0cb
2019-02-04 12:53:00 +01:00
Paul Belanger
28d2935f57 Remove non-voting job from gate
This results is wasted CI resources, so we can remove it from gate.

Change-Id: Id1f1fcf32521998826f495fc80b0d754338b0389
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-01-28 11:40:41 -05:00
Luis Tomas Bolivar
176b860083 Removing lbaasv2 related code
LBaaSv2 was deprecated in favor of Octavia. This patch is removing
the remaining gates for lbaasv2 and the specific code for handling
the services when haproxy was used

Implements: blueprint remove-lbaasv2

Change-Id: I601a62640838557697887aea1a778e67449f68a5
2019-01-22 10:14:09 +00:00
Daniel Mellado
a2ab673502 Test multi worker k8s
Change-Id: Id72b248848f685634b47f275a6565a48d4f4b9d7
2018-12-18 08:08:38 +00:00
Michał Dulko
54a221a5d7 Move job list to project-template
This commit moves lists of our Tempest CI jobs into a project-template
and makes our project definition use that template. This way we enable
the list to be reused in our kuryr-tempest-plugin to always keep it in
sync.

Also the lower-constraints jobs are removed here and a template with
them is added instead.

Change-Id: I34e328322538127d9c7d0b1d8f9b8edf853b8ace
2018-12-07 18:43:40 +01:00
Michał Dulko
cbc614174a Add experimental gate with cri-o
This commit adds experimental gate running cri-o instead of Docker as
container engine.

Implements: blueprint crio-support
Change-Id: I5bfedbabb6a458b17f07422372306a1860daa9ce
2018-12-04 18:20:28 +01:00
Michał Dulko
18715964b3 Add HA gate
Implements: blueprint high-availability

Depends-On: I1cd88056a6f7b719b8b58128ec8fffbce3e816f3
Change-Id: Ic5a88280a0b45888ee6be4c7fdbfd23f586b9205
2018-11-05 15:10:52 +01:00
Michał Dulko
92becbdd8f Remove kuryr-kubernetes-tempest-lbaasv2 job
This commit removes kuryr-kubernetes-tempest-lbaasv2 job from the gate,
as with deprecation of deployments without kuryr-daemon it becomes
obsolete and redundant to similar Octavia job.

Change-Id: Ib8794c3f4d104fe699e80999019cd644300489ca
2018-10-19 14:39:44 +00:00
Michał Dulko
984e8e55f8 Move Python 3.6 jobs to check and gate as voting
To finish up with Python 3.6 goal, this commit moves experimental py36
jobs to be voting on gate and check.

Change-Id: Ia19b4e7196338f90d0dbac607f732bd7390ab5e5
Implements: blueprint goal-python36
2018-10-16 16:57:44 +00:00
Genadi Chereshnya
a85a02744e Merging port pool and namespace gates
Removing port pool gate
Adding port pool configuration to the namespace gate

Change-Id: I106886d42b58f2ded32d5380cd5b2134d124fc9a
2018-10-10 11:17:55 +03:00
Michał Dulko
8a38f84dd7 Add non-containerized Python 3.6 gate
Patch also changes the way we run kuryr-controller in the DevStack
plugin by removing the scripts/run_server.py and using the Python
executable in the system directly.

Implements: blueprint goal-python36

Change-Id: I1e1c62023b6018bf49163be12fdca5b42d5f46d6
2018-09-17 14:57:53 +02:00
Antoni Segura Puimedon
e20dcadb1f Add support for python3 containerized kuryr-kubernetes
This patch adds dockerfiles and helper scripts to build the Kuryr-Kubernetes
containers using Python3 and get it automated in devstack.

Implements: blueprint goal-python36
Change-Id: I2066aacfebc7339d5a86b717327bdad428b0e54c
Signed-off-by: Antoni Segura Puimedon <celebdor@gmail.com>
2018-09-12 14:10:23 -06:00
Zuul
69f4d8eb2b Merge "Add a new gate for network policies" 2018-09-11 10:54:24 +00:00
Zuul
573fbe3f9f Merge "Add experimental check for NPWG multi-vif driver" 2018-09-06 12:05:16 +00:00
Michał Dulko
6183d8f518 Move dragonflow job to experimental
The dragonflow job seems to be constantly failing and nobody is working
on fixing that, so let's move it to experimental to conserve some infra
resources.

Change-Id: I041072bae1c0212c9100ab7d2e44e543c224454f
2018-09-04 07:19:37 +00:00
Peng Liu
68367dc493 Add experimental check for NPWG multi-vif driver
Add experimental check with NPWG multi-vif driver enabled, in
order to test the NPWG tempest case.

Depends-On: https://review.openstack.org/#/c/590643
Change-Id: I054b55bf1db1bfacf3596edc6b92b9ba54931200
2018-09-04 02:10:25 +00:00
Doug Hellmann
9ac72c8045 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ifab72776d81fe0e3be4253286efb63fb5636d40d
Story: #2002586
Task: #24306
2018-08-22 14:21:59 -04:00
Doug Hellmann
5174db44a5 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Iee0eb9f2b9585bedf0685e0b90f3d61e3dc30e58
Story: #2002586
Task: #24306
2018-08-22 14:21:54 -04:00
Doug Hellmann
9baf629707 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I10e6fe2eaa10ecf9307c2040f84bcd54811e863e
Story: #2002586
Task: #24306
2018-08-22 14:21:28 -04:00
Daniel Mellado
8e8c3fcca7
Add a new gate for network policies
This commit adds a new gate for network policy tests.

Change-Id: Ia479af4b4fd9b5387af08cb0fa843166784fbfb1
Depends-On: https://review.openstack.org/#/c/589521/
2018-08-21 10:03:20 +02:00
Zuul
d40fbab053 Merge "OCP-Router: Add Zuul experimental gates for Openshift Route" 2018-08-17 12:16:23 +00:00
Zuul
ed35f57a70 Merge "Move tempest-octavia-centos-7 back to check" 2018-07-16 06:52:36 +00:00
Yossi Boaron
4f607301c1 OCP-Router: Add Zuul experimental gates for Openshift Route
This patch adds experimental gates for Openshift Route.

Partially Implements: blueprint openshift-router-support

Change-Id: I1c5d83c53f05a759b8654fc354db20e1d77245ba
2018-07-15 09:09:36 +03:00
Zuul
11858d67d8 Merge "Running tests in serial" 2018-07-12 11:47:11 +00:00
Itzik Brown
fe5b79b5ff Running tests in serial
Adding the following job which runs tempest tests in serial:
kuryr-kubernetes-tempest-daemon-containerized-openshift-octavia-serial

This is needed, for example, to a test like "Test restart of CNI and
Controller kuryr pods" which can cause problems when running in parallel with
other tests.

Also configured kuryr-kubernetes-tempest-daemon-pools-octavia to run the
tests in serial

Change-Id: Ie961a0ceeb33a6da285afba0019551ce5b54f905
2018-07-11 15:15:09 +03:00
Shachar Snapiri
65c67ae843 Move tempest-octavia-centos-7 back to check
Currently there is no check gate job that runs on centos.
The only job we have is kuryr-kubernetes-tempest-octavia-centos-7 which
was moved to the experimental gate.
I have moved it to the check gate so we will keep checking it.

Change-Id: Id13e86192b4834744c097c1a52ac5e95d64b4415
2018-07-10 13:57:05 +03:00
Daniel Mellado
ad211c0deb Move multinode gate to check pipeline
After the split of .zuul.yaml into .zuul.d/ files multinode gate, which
was added to check by [1] was left back on experimental. This commit
moves it back to check pipeline.

[1] https://review.openstack.org/#/c/578792/

Change-Id: I6d1622891c874f6477b37f37a0249ab636dcadab
2018-07-03 09:36:48 +00:00
Shachar Snapiri
fcadf5eeb2 Add octavia based tests to replace LBaaSv2 tests
The LBaaS tests were removed in a previous patch

Change-Id: If657738c3334749659d1d23f27f3f53f0c0c79e7
2018-07-01 09:04:35 +03:00
Daniel Mellado
e9fd1004ab Deprecate running Kuryr-Kubernetes with lbaasv2
This commit marks the deprecation of the support of neutron-lbaasv2 in
Kuryr-Kubernetes. It adds a deprecation message, release note and
removes the usage of lbaasv2 in the upstream gates.

From now on, the default option for lbaasv2 will always be octavia.

Change-Id: I528fc7c0462445c880d13268435c993c2e2ff00f
2018-07-01 09:04:31 +03:00
Daniel Mellado
c626127e43 Split .zuul.yaml into smaller files
This commit splits .zuul.yaml into smaller yaml files inside .zuul.d
repo for easier handling.

Partially-Implements: blueprint zuulv3-native-gates
Change-Id: I73ac4381eaaf14d515eb45c7020881247428e33a
2018-07-01 08:53:35 +03:00