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
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
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
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
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
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
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
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
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
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
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
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
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