Commit Graph

34 Commits

Author SHA1 Message Date
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
Daniel Mellado 5278998538
Move multinode and centos jobs to check pipeline
This commit moves these jobs to the check pipeline as non-voting. We'll
start marking them as voting once they've proved to be stable enough.

Change-Id: I399ef54e8f855990b12d1b159ef58500d2169a96
2018-06-28 16:50:11 +02:00
Zuul 472bf34c4d Merge "Fix the experimental multinode jobs" 2018-06-28 08:57:51 +00:00
Zuul 0480a94971 Merge "Add contrib folder to irrelevant files" 2018-06-27 20:33:01 +00:00
Daniel Mellado bbdfb8d4f3 Fix the experimental multinode jobs
Some changes related to the way multinode works (merged after the PTG
and recently) have been fixing the way it was handled just until now.

Before, multinode would just setup networking in two identical
devstacks. Now proper multinode can be set using group-vars. This commit
adds the needed changes to the kuryr multinode gates so they can be
properly used now.

Depends-On: https://review.openstack.org/#/c/578304/
Change-Id: I8b955e5dc8eb3c86f69e77849348c08d0d0e1a69
2018-06-27 16:51:41 +02:00
Daniel Mellado 7ac69c842c Add contrib folder to irrelevant files
Disable tempest test run if the only files changed are in the contrib
directory.

Change-Id: I48cff3856af2c4e70c9f26442d52876815ffd461
2018-06-27 09:46:27 +00:00
Shachar Snapiri 361c5cf099 Remove redundant line from dragonflow config
Dragonflow is configured to work with both redis and zmq, it should only
work with one.
This configuration is not optimal, and causes the gate to fail.
The zmq publisher was removed.

Depends-On: https://review.openstack.org/#/c/578195
Change-Id: I006529c4e30ef6c4e604fe4ffe15cf53a67f62ae
2018-06-27 08:16:39 +00:00
Luis Tomas Bolivar c8d42ec4f3 Run OVN job containerized and daemonized
This commit adds a new job for OVN on top of the initial one. It enables
CNI daemon and containerized deployment.

Depends-On: Ic2bdc3f75c684cc4a9c99b10268cf9390e3e4586

Change-Id: I4b64c15ac7e8c595171127ce0831b8aad70864d9
Co-Authored-By: Daniel Mellado <dmellado@redhat.com>
2018-06-11 18:35:44 +02:00
Luis Tomas Bolivar 471f613613 Experimental gate for namespace subnet driver
It adds a experimental gate to check the namespace subnet driver
functionality

Depends-On: Iafc08ede300aecf1dc52135c6e51b89875e729d6

Change-Id: I79f47a7b915f310b728a50322ee0cbaa0f23c5b1
2018-06-11 14:10:25 +02:00
Michał Dulko 51c57ec31f Switch containerized job to Octavia
As our default LB choice is Octavia, this commit moves containerized
LBaaS v2 job to exeprimental queue and promotes containerized Octavia
job to check and gate queues.

Change-Id: Idb1a8b4b17dd9b13f63c1b01f9291e7f02d1663e
2018-06-07 11:01:13 +02:00
Daniel Mellado 9f9f54be84 Remove LIBS_FROM_GIT as a var in zuul.yaml
As per latest changes in Zuul, there's no need to set LIBS_FROM_GIT
variable manually; instead, we can just specify the project in
`required-projects` and the devstack job will set it up  automatically.

Change-Id: Ib9f506b802f6af914d1d9b37017074dfdcf23d2c
2018-04-25 09:23:20 +02:00
Michał Dulko ebaab06a8c Gate with containerized deployment and OpenShift
Use case where Kuryr is deployed containerized and the cloud platform
was OpenShift is broken at the moment. This commit adds a gate testing
that use case to the experimental queue.

This patch sits on top of 3 fixes that fix the use case.

Change-Id: I8ef488c1197c69f3a0ed8c2522ef8ff226bf8c8a
2018-04-24 12:49:04 +02:00
Luis Tomas Bolivar b0035f6961 Add better octavia coverage at the gate
This patch moves kuryr-kubernetes-tempest-daemon-containerized-lbaasv2
from experimental to check and gate jobs as it has been stable for
enough time.

In addition, to improve the octavia coverage, this patch adds two
new tests to the experimental gate, both of them for testing octavia
with kuryr containerized deployments. One uses octavia in L3 mode and
the other in L2 mode.

Change-Id: I67867a40bf64aa5a08ca22bb980cd9d6c9b03ebf
2018-04-23 07:27:22 +00: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
Antoni Segura Puimedon 285456a672
lbaasv2: Fix for deployments missing the proxy
When Octavia stopped needing neutron-lbaasv2 devstack plugin we tried it
out with success but we still kept usage the plugin so that our devstack
plugin could target older than pike.

Unfortunately during this time the proxy became unnecessary and not well
maintained and due to our gates still using it, when we tried queens
with the supported proxy less Octavia we realized that it fails.

This patch addresses it by making the existing neutronclient usage point
to the load-balancer endpoint when the proxy is not in place.

Change-Id: Iafd74f23bdf336a4d78ba4759f702cf989c8bc30
Closes-Bug: #1763045
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2018-04-13 16:47:39 +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
Doug Hellmann 183aeebf5c add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: Ic0e992533d1b5840e665aa1a5a311c3e1b0d74e8
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-23 17:30:00 +01:00
Zuul 5f9c7eb572 Merge "Creating gate for testing ports pool feature" 2018-03-19 13:03:44 +00:00
Genadi Chereshnya 24e6ac8daf Creating gate for testing ports pool feature
It's tested on baremetal with lbaasv2.

1) neutron-vif is used for KURYR_POD_VIF_DRIVER.
2) port_pool_enabled in tempest.conf is updated to True

Partially-Implements: blueprint enhance-upstream-gates

Depends-On: I0921cf8a416f79745fb96bb67636eac6ed47a537
Change-Id: I1cb916d527db8d49669a807e66769fbb7c55e8e4
2018-03-19 10:52:32 +02:00
Zuul 563ddbee3b Merge "Deprecate running kuryr-k8s without kuryr-daemon" 2018-03-16 10:58:39 +00:00
Michał Dulko 898abb4a75 Deprecate running kuryr-k8s without kuryr-daemon
This commit implements what was discussed on the PTG, i.e. deprecation
of running Kuryr-Kubernetes without kuryr-daemon services. This commit
includes changes in configuration defaults, sample local.conf files,
documentation, gates and a release note explaining the change.

Change-Id: I152c81797cb83237af4917a4487cb1f1918270aa
2018-03-14 15:44:16 +01:00
Daniel Mellado 7c49430161 Fix Tempest CIs
Latest changes in DevStack and Tempest broke our Tempest CIs. This
commit will fix those.

* Disables Swift and Cinder on gates (introduced by changes in
  DevStack).

Co-Authored-By: Michał Dulko <mdulko@redhat.com>
Closes-Bug: 1755567
Change-Id: I3000d755fc7152f8576231c90102f24bcea33283
2018-03-14 10:52:14 +01:00
Zuul d00b09ce05 Merge "Add experimental containerized jobs" 2018-03-02 14:12:54 +00:00
Michał Dulko c870cda6e9 Fix kuryr-daemon typo on .zuul.yaml
This commit changes kuryr_daemon to kuryr-daemon in our gate
definitions. This should correctly enable kuryr-daemon on the gates,
because currently it's missing.

Change-Id: If50501f8f960ac435c238236d21fe655c0092dc5
Closes-Bug: 1752117
2018-02-27 15:51:35 +00:00
Michał Dulko 9c36fe8794 Add experimental containerized jobs
This commit adds containerized jobs with LBaaSV2, both with and without
CNI daemon.

Change-Id: Ie565cea82229377e6358940bf9633e977a2d0495
2018-02-22 09:38:07 +01: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
Andreas Jaeger ba685e5b76 Rename jobs for zuul v3
Follow naming conventions from
https://docs.openstack.org/infra/manual/drivers.html#consistent-naming-for-jobs-with-zuul-v3
to have jobs start with project-name since we share a global namespace.

Also, remove name from project stanza, it's not needed anymore.

Change-Id: I3f49442a097b8290e75d12a939a1e65528263cec
2018-01-21 20:12:47 +01:00
Michał Dulko b584be7fa7 Disable functional jobs on docs or reno changes
This commit disables tempest and install jobs on changes that only
modify documentation, releasenotes or .rst files. Please note that it
overrides odd tempest job rules, that disabled jobs on patches that only
modify requirements.txt or setup.cfg. Both those files affect Kuryr
functionality and modifications to them should be tested.

Change-Id: I868bfb16470d79828ba2d3d23e034439b1a333c5
2017-12-13 10:00:50 +00:00
Michał Dulko 653ee56b3e Make some Tempest gates voting
This commit makes following gates voting:
* tempest-kuryr-kubernetes-lbaasv2
* tempest-kuryr-kubernetes-lbaasv2-daemon
* tempest-kuryr-kubernetes-octavia

I was supposed to provide stability graphs from graphite.openstack.org,
but it looks like data from Zuul v3 is not put in there.

Change-Id: I735b08c481d9b7675fdd849de3d8d9c111bcad82
Partial-Implements: blueprint enhance-upstream-gates
2017-12-12 14:53:26 +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
James E. Blair 60abd6bf3e Zuul: add file extension to playbook path
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: I4ea552e5d2181308d5e0681d8fb2e8d8a45624c6
2017-10-29 13:03:18 -07: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