Commit Graph

22 Commits

Author SHA1 Message Date
Roman Dobosz 2ac0190bfa Raise kubernetes tests version to 1.22.5 and fix legacy tests.
Also, there is a need to bump golang version to 1.16.x.

Change-Id: I453b04e97b556033e3f30a7406ccb6e4870f2d3c
2022-01-12 14:12:27 +01:00
Roman Dobosz fb994ecddb Use CRI-O with kubeadm.
Before switch to kubeadm we used to use manual approach for installing
all the bits with option for switching container runtimes between docker
and cri-o. With this patch we re-gain that ability with simply setting
appropriate container engine variable for devstack-plugin-contaier to
use either CRI-O or default Docker.

Depends-On: https://review.opendev.org/c/openstack/devstack-plugin-container/+/817231
Change-Id: I273888a7428611b40802dc5dd53fcee864ce43da
2021-11-17 11:10:22 +01:00
Maysa Macedo bb41c3889d Move jobs to use Ubuntu Focal
According to the docs[0] Ubuntu Focal is the
version supported for Xena. This commit
updates the jobs and the Amphora image.

[0] https://governance.openstack.org/tc/reference/runtimes/xena.html
Depends-On: https://review.opendev.org/c/openstack/kuryr-kubernetes/+/812154

Change-Id: I869040d9b05ef3d1cded5f91e1634214b83fd348
2021-10-06 08:32:24 +00:00
Roman Dobosz c034b0060e Use kubeadm for installing Kubernetes on devstack.
Till now, for installing kuryr-kubernetes and one of the crucial service
- kubernetes, there has been used manual method for installing it in
specified version. Over time it became a burden to follow requirements
and constraints, therefore decision has been made to use recommended way
of installing Kubernetes - kubeadm. In this patch devstack installation
of the kuryr-kubernetes and its dependences has been heavily reworked.

Other than that, OpenShift related functions has been removed, since
they were all outdated and non-working for the long time.

Change-Id: Ife21874c0a71ba07723094c0f880aabcf5825b77
2021-05-21 13:07:21 +02:00
Tabitha 3807f8ebf4 Adds SCTPConnectivity tests to e2e network policy tests
Depends-On: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/754429
Change-Id: Ibd1ae1d2cb22f82ebf2aabd1e74b97213df93034
2021-03-12 11:52:39 +01:00
Tabitha 65711ea95e Run k8s e2e tests for network policy
Check exactly what tests are failing

Change-Id: I63507d7a4278a046b40d5ac1dfeef260beba9003
2021-02-01 21:01:36 +01:00
Michał Dulko 6457a9dee8 Disable colors for K8s NP e2e tests
In the gate logs are critically unreadable when color tags are thrown
into them. This commit disables colors on K8s e2e NP gate.

Change-Id: I9620173d048fd273b77f66dcc1e3710c06f84b89
2020-07-21 16:57:42 +02:00
Michał Dulko e912b2755f Run K8s e2e network policy tests
This commit adds a new gate to run Kubernetes
network policy tests with OVN-Octavia provider.

Depends-On: https://review.opendev.org/#/c/740381/
Depends-On: https://review.opendev.org/#/c/738457/
Change-Id: I766bff754a4632b2833fbe12fc95c5e7c0fead4e
2020-07-13 11:34:18 +02:00
Michał Dulko b5fdeeafaa Switch to use Ubuntu Bionic Octavia Amphora
In Ia30435b3bb19acd1d2f9fe217251c393d4f7480e Octavia dropped Python 2
support. This made some unsupported requirements to not be installed
against Python 2. In our gates however we used CentOS 7 amphora, which
only have Python 2. This means the agent is exectued without some
dependencies and fails.

This commit switches our gates to use Ubuntu Bionic Amphora.

Change-Id: Ic5f8cd287bbee959cba6091ce1a64791fba7c9b3
2019-12-03 16:30:24 +01:00
Michał Dulko b35b08724b Switch to CentOS Amphora
Looks like Ubuntu's Amphora is broken, probably due to latest update of
ubuntu-minimal cloud image (which includes cloud-init version bump that
might be the culprit). This commit switches our gates to CentOS amp to
work the problem around until we fix the Ubuntu one.

Also the timeout for the jobs is raised to 3 hours because it seems like
building containers in the gate take ages.

Closes-Bug: 1822862
Change-Id: I3650aac01334e924ca64fcc4e79928141e010e5a
2019-04-04 12:33:42 +02:00
Daniel Mellado 612b1a6023
Clean up legacy playbooks
After finishing the migration to Zuulv3, there were some legacy
leftovers inside the playbooks directory. This commit fixes it by
deleting non-used playbooks from it.

Change-Id: I226870fbb147e1d7455842e531f5515b11acba80
2018-04-26 09:38:28 +02:00
Daniel Mellado d471484e0e Switch amphora tarball to ubuntu xenial
Centos Amphora doesn't work properly with L2 configuration as it doesn't
reach its own VIP address. This commit switches the host os to ubuntu until
[1] is fixed.

[1] https://storyboard.openstack.org/#!/story/1715166

Change-Id: I43047fa4cc03d8c14ccaa7eebab1bdaa69e25360
2018-04-20 10:04:21 +02:00
Daniel Mellado cfa3e49a0c Add tarballed amphora.
This commit modifies the base kuryr-kubernetes/octavia job so it
downloads and uses a tarballed amphora image instead of building it on
the CI for each run.

Change-Id: Ie80e663b906e6f76826319ccccce831aceb9e606
2018-04-16 13:16:27 +02:00
Michał Dulko 45b2ec99cd Add Kuryr pods logs to gate results
When Kuryr is run in pods, logs of its services are not available in the
gate. This commit adds a post-run playbook that will copy information
about Kubernetes resources and logs of all pods into the results.

Change-Id: Idac654854f0b968fe0c3024fd4f0436279a945a5
Partial-Implements: enhance-upstream-gates
2018-04-05 14:14:58 +02:00
Daniel Mellado b0b961de4e
Refactor Kuryr-Kubernetes gates to Zuul-V3
This commit refactors the Kuryr-Kubernetes gates to Zuul-V3 native
format.

Depends-On: https://review.openstack.org/546120
Partially-Implements: blueprint zuulv3-native-gates
Change-Id: I597b1df228493b727eb2470213edb954a63ce0bf
2018-02-20 16:52:57 +01:00
Michał Dulko 657ade15cc Remove Cinder from tempest gates
In a bit pathetic attempt to reduce number of Tempest (especially
Octavia) jobs timing out, this commit removes installation of Cinder to
save some precious minutes of running time.

Cinder is unused in the Tempest jobs, so it's removal should be safe.

Change-Id: Ia75e924039aac423a49fe2e69555c28b5e273419
2017-12-20 20:46:46 +01:00
Michał Dulko b689288e7a Add OpenShift gates
This commit adds gates that test Kuryr with OpenShift. Complex gates
that test with both OpenShift and CNI daemon enabled are added to
experimental queue only.

Partial-Implements: blueprint enhance-upstream-gates

Change-Id: I4162b31e6af3ca4b527dc5eb17e53be46e013daf
2017-11-23 16:27:31 +01:00
Michał Dulko 3acc25d52d Add CNI daemon Tempest job
This commit adds a job that will run Tempest tests with CNI daemon being
enabled.

Change-Id: Idad3dea389d8fc3aac1176d5907cb8458a954815
2017-11-22 10:26:45 +01:00
Zuul 7bc0a9540a Merge "Enable Neutron Metadata Agent in Tempest jobs" 2017-11-06 19:46:17 +00:00
Michał Dulko db4b51442b Enable Neutron Metadata Agent in Tempest jobs
Neutron Metadta Agent and Nova Metadata API are responsible for
providing cloud init with networking config, but also for injecting
keys. Our Tempest gates were having those services disabled which
resulted in VMs not getting correct keypairs. This made them impossible
to SSH into from Tempest tests.

This commit solves it by adding q-meta and n-api-meta services to
Tempest gates.

Change-Id: I61629b3054549f8c89d73a65188f711414c91937
2017-11-06 19:13:04 +01:00
Michał Dulko 353c193600 Fix mistakes in tempest playbook
There were two mistakes in tempest playbook causing LBaaS v2 and Octavia
jobs to fail:

* if clause in bash requires usage of [ ] syntax to get the comparisons
  to work.
* $PROJECTS additions cannot be defined in local.conf.

This commit fixes both.

Change-Id: I7eda3b5e263565b8845ffeaa480f406a3a3f0731
Closes-Bug: 1727668
2017-10-26 12:59:35 +02:00
Kien Nguyen 39f615bce5 Migrate to Zuulv3
Move legacy jobs to projects

Co-Authored-By: Daniel Mellado <dmellado@redhat.com>
Change-Id: I0e981e2bf3b3df2a920f169b6194f064a92eb023
2017-10-06 08:47:46 +00:00