71 Commits

Author SHA1 Message Date
Zuul
d77b82935e Merge "Use OVS backend for testing os-ken library" 2021-06-28 18:55:31 +00:00
Zuul
804cc660e7 Merge "Make explicit the network backend used in the CI jobs" 2021-06-28 18:55:11 +00:00
Rodolfo Alonso Hernandez
b189b0f322 Use OVS backend for testing os-ken library
Only OVS agent uses os-ken library, makes sense that the CI job
testing it uses this backend.

Closes-Bug: #1933626
Change-Id: I8b2eb11dfae5bc67ee9c3629f609e4b461e0ad7c
2021-06-25 08:54:32 +00:00
Rodolfo Alonso Hernandez
d7ca286e6c Make explicit the network backend used in the CI jobs
All Neutron CI jobs (except for unit, functional and fullstack jobs),
have explicitly defined the network backend used:
- linuxbridge
- ovs
- ovn

That was discussed and approved during the Neutron CI meetings [1].

[1]https://meetings.opendev.org/meetings/neutron_ci/2021/neutron_ci.2021-06-15-15.00.log.html

Change-Id: I036924f13b77dd5957ad5e60b9f536562deb9f05
2021-06-25 08:53:04 +00:00
ricolin
68d62fa18d Enable tls-proxy support in the tempest jobs
It wasn't enabled for neutron-tempest-iptables_hybrid and
neutron-ovn-tempest-ovs-master-fedora and that patch
enables it in both of those jobs.

Change-Id: I73240679055b943caf46646440f9c325cf21faf3
2021-06-14 08:24:41 +00:00
Zuul
ba7cda8de3 Merge "[CI] Enable debugging iptables rule in the L3 agent" 2021-04-16 00:51:08 +00:00
Lucas Alvares Gomes
1c2b7e1a58 [OVN] Add single node tempest job with OVN master branch (exp. pipeline)
This patch adds a new single node tempest job with OVN master branch to
the experimental pipeline because sometimes we need to test a feature
that is not yet included in the packaged version of OVN.

We do have a multi node job with OVN master branch in the experimetal
pipeline at the moment but, it's broken due to
https://review.opendev.org/c/zuul/zuul-jobs/+/762650. So it's no use at
the moment.

Depends-On: https://review.opendev.org/c/openstack/devstack/+/781971
Change-Id: I3f21ddc9ec97f2fa7ccb467893a37eb1b5342542
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2021-03-24 16:10:49 +00:00
Slawek Kaplonski
ae07a9d9f6 [CI] Enable debugging iptables rule in the L3 agent
It should helps us understand why in some (rare) cases rule to redirect
packets send 169.254.169.254:80 to port 9697 isn't installed in the
qrouter namespace.

Change-Id: I644ea3d6767db36bfe7f4122ec2c2afe9888dd07
Related-Bug: #1920778
2021-03-24 10:59:58 +01:00
Lucas Alvares Gomes
2478dab841 [OVN] Set OVN_BUILD_FROM_SOURCE=True for ovs-master jobs
The OVN_BUILD_FROM_SOURCE was introduced by a patch in DevStack [0]
which allows for stacking OVN using packages instead of compiling it
from source (by default that flag is False). Now the jobs compiling OVN
(master ones) should include this flag.

Also since the logs are on different paths depending on how OVN is
installed, we are telling zuul to collect it properly for the compiled
version (this inconsistency is something that perhaps we should fix in
DevStack itself).

[0] https://review.opendev.org/c/openstack/devstack/+/763402

Change-Id: I46654762921aeec7603800005681239cdf202632
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2021-03-22 14:05:07 +00:00
Zuul
06c1bf2374 Merge "[OVN] zuul: make it clearer OVN+OVS packages are being used" 2021-03-13 12:49:01 +00:00
Zuul
241ead5639 Merge "Disable TLS proxy for periodic Fedora job" 2021-03-12 13:30:54 +00:00
Flavio Fernandes
24ac91b1b5 [OVN] zuul: make it clearer OVN+OVS packages are being used
As jobs install OVN (and OVS) from package [0], this change removes potentially
confusing lines.

For folks interested in launching zuul jobs using a specific repo and
branch of OVN, use gerrit [1] as a reference. And do not forget to reply
with the comment 'recheck experimental' to trigger the job.

[0]: https://review.opendev.org/c/openstack/devstack/+/763402
[1]: https://review.opendev.org/c/openstack/neutron/+/763403

Change-Id: Iad88a56ea48475cb59b6684c528bcbb0c811761d
2021-03-09 20:48:57 +00:00
Bernard Cafarelli
4f009a8ab2
Disable TLS proxy for periodic Fedora job
In this job (and this OS), deployment fails as ovsdb-server can not read
the tls certificates (it runs as openvswitch user and files are
user-readable only, owned by stack user). Disable tls-proxy service for
it, not needed anayway as it focuses on Neutron testing and not OVS.

Change-Id: Ibea391d503658ec738a60e34e19bdd6d809c845c
Closes-Bug: #1911128
2021-03-09 16:21:50 +01:00
Luigi Toscano
2bb4f5defd jobs: remove devstack-gate references
Not needed by native Zuul v3 jobs.

Change-Id: Ia1e7d35f0c81cc5df792f4227d8e091080af65f1
2021-03-08 11:56:42 +01:00
Jakub Libosvar
929a6a7007 ovn: Collect OVN logs
OVN logs have moved from /var/log/openvswitch that is collected by the
base job to /var/log/ovn

Co-Authored-By: Lucas Alvares Gomes <lucasagomes@gmail.com>

Change-Id: I1e9fe661f55e99ca509dfbc3c1334b358ddb7212
2021-02-25 11:31:39 +00:00
Slawek Kaplonski
adb3e943b1 Limit execution of the neutron CI jobs on some irrelevant file
This patch tries to make execution of the CI jobs in the Neutron
queue to be more smart. There is no need to e.g. run
linuxbridge scenario jobs job when only changed files in patch
are in e.g. the openvswitch agent module, or vice versa.

Change-Id: Ie33514da28991fa5952a1d8c289402ecb9ffee49
2021-02-22 09:43:21 +01:00
Zuul
1641f75cae Merge "Move tempest job with neutron-lib master to the experimental queue" 2021-02-19 12:29:46 +00:00
Ghanshyam Mann
e22cc6e8cc Switch to new rolevar for run-temepst role
Tempest replaced the below rolevar for run-tempest role
- tempest_test_blacklist is replaced by tempest_test_exclude_list
- tempest_black_regex is replaced by tempest_exclude_regex

old name are still supported for compatiblity but we recommend
to switch to new one.

Depends-On: https://review.opendev.org/c/openstack/tempest/+/774835
Change-Id: I609c1714a4f630207562a4725456d3d7f87d698e
2021-02-17 08:38:47 +00:00
Slawek Kaplonski
fc4e6ce1fe Move tempest job with neutron-lib master to the experimental queue
The job neutron-tempest-with-neutron-lib-master is mostly to check if
current neutron changes will work fine with some changes done in
neutron-lib.
It isn't really needed to run it on all patches and can be rune on
demand by running experimental queue if that is needed.

This patch also removes job neutron-ovn-tempest-ovs-master from the
experimental queue as we already have there similar multinode job.
As job neutron-ovn-tempest-ovs-master wasn't used anywhere, this patch
also removes its definition.

Finally this patch improves ci_scenario_jobs document and adds there
info about experimental queue and what is there currently.

Change-Id: I0fc4ffd5db2673cefcd01307555d1a3900bb12e8
2021-02-04 11:34:48 +01:00
Slawek Kaplonski
d1ab4e26ea Switch tempest jobs to neutron specific ones
In neutron CI queues we were running tempest-slow-py3 and
tempest-ipv6-only jobs which are defined in tempest repository and runs
all tests, e.g related to Swift or Cinder.
This patch defines new jobs: "neutron-tempest-slow-py3" and
"neutron-tempest-ipv6-only" which inherits from the tempest jobs but
disables Cinder and Swift services.
Additionally "neutron-tempest-ipv6-only" job now runs only
"integrated-networking" tox_envlist.

Change-Id: Icd376c144e1993ca84890c76743fda4196662d9b
2021-01-13 15:46:32 +01:00
Slawek Kaplonski
7c95150c84 Temporary blacklist test_reboot_server_hard in OVN IPv6 job
It's blacklisted due to related bug. When the bug will be fixed we
should restore this test to be run in the gate.

Change-Id: I67df1820bfd681de44b8568b46cbc95dd940c024
Related-Bug: #1906490
2020-12-10 10:07:46 +00:00
Zuul
4c9141d838 Merge "Disable not used services in the tempest and rally jobs" 2020-12-03 05:06:35 +00:00
Slawek Kaplonski
747ac57524 Disable not used services in the tempest and rally jobs
We don't need to run Swift, Cinder and etcd services in the
Neutron jobs so this patch disables those services on all
such jobs defined in the Neutron repository.
It will skip some tests which aren't really related to Neutron
and will safe some resources on test nodes.

This patch also enables br-ex-tcpdump and br-int-flows services
in the jobs where it was missing.
It may be useful during debugging some failures of those jobs
in the future.

Depends-On: https://review.opendev.org/762622

Change-Id: I0db516b184cf621e4539d11726fe1bd47b53ba05
2020-11-19 22:03:39 +00:00
Zuul
c17e817c78 Merge "Add Loki testing for Neutron" 2020-11-15 04:46:17 +00:00
Bernard Cafarelli
e77f631257 Migrate tempest jobs to Focal
Update nodetype for neutron-tempest-dvr-ha-multinode-full job
Stop compiling OVS modules in OVN jobs

Etherpad tracker:
https://etherpad.opendev.org/p/neutron-victoria-switch_to_focal

Depends-On: https://review.opendev.org/734700/
Depends-On: https://review.opendev.org/748367/

Change-Id: I18498ad7f8e4e4dc6d91a98bd917798420e57aeb
Story: #2007865
Task: #40199
2020-09-28 11:39:54 +00:00
Zuul
69bedc9beb Merge "ovn: Use new OVS commit hash" 2020-09-24 02:22:07 +00:00
Brian Haley
e10c0dedf4 ovn: Use new OVS commit hash
We have to pick OVS patches compatible with kernel 4.15.0-118
after switching to it.

Change-Id: I1ff47fc3398760d5b631bf89e6cfcc7ae339f0e3
Related-bug: #1883601
Closes-bug: #1896766
2020-09-23 16:14:32 +02:00
Lucas Alvares Gomes
2a12737d18 [OVN] Zuul: Copy OVSDB logs and DBs
Prior to this patch the OVSDB NB/SB logs and databases weren't been
uploaded as part of the job's run. These files are important for
troubleshooting gate problems.

Change-Id: Ie2c9596d8b24e0e433a1ac0d27115369fc4cf8ef
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-09-16 12:07:35 +01:00
Lucas Alvares Gomes
68ec29abf0 [OVN] Use the OVN DevStack module
The DevStack module for OVN has now been moved to the DevStack repository,
this patch is deletes it from the Neutron repository.

Depends-On: https://review.opendev.org/#/c/748140/
Change-Id: I2c30b8130525380234d767a7cb46f9bcca2a0d6b
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-08-26 10:09:28 +01:00
Flavio Fernandes
d74f409c82 [ovn]: port forwarding -- core changes
This is a subset of the changes for implementing the floating IP
port forwarding feature in neutron, using OVN as the backend.

This changeset covers the core implementation for portforwarding/drivers/ovn,
mech_driver, ovn-router as well as a subset of tests.

Port forwarding support in ovn_db_sync is not included here to facilitate review.
That, as well as all other supporting changes, are under the ovn/port_forwarding topic:
https://review.opendev.org/#/q/topic:ovn/port_forwarding+(status:open+OR+status:merged)

Depends-On: https://review.opendev.org/#/c/726478/
Partially-implements: ovn/port_forwarding
Partial-Bug: #1877447

Change-Id: I019fe11ac1ddcf2304f3f144c62d52667fc11dce
2020-08-11 14:54:05 -04:00
Nate Johnston
5b48b7ceff Add Loki testing for Neutron
This commit adds a non-voting job, based on tempest, which enables the
transient DB failure injection module 'loki' [1].  This will test
neutron resilience to database errors.

[1] https://docs.openstack.org/neutron/latest//contributor/testing/db_transient_failure_injection.html

Co-Authored-By: Slawek Kaplonski <skaplons@redhat.com>

Change-Id: Ie6293923a4a4744888bf3ee36007267ef0fddfd9
2020-08-05 20:38:52 +00:00
Zuul
24590a334f Merge "Use ebtables-legacy on Ubuntu Focal" 2020-08-05 16:18:51 +00:00
Slawek Kaplonski
31a95c085f Use ebtables-legacy on Ubuntu Focal
On Ubuntu 20.04 there is by default ebtables-nft used. The problem with
that is that nftables don't supports syntax for source and destination
ipv4 address in arp tables right now.
So to workaround/fix this problem at least in our gate jobs we have to
switch to ebtables-legacy for now.
And that's exactly what this patch is doing.

Change-Id: I0aca119f1feca1d8f31a0104dde40d5d52c1b25c
Closes-Bug: #1889779
2020-08-04 10:57:37 +00:00
Slawek Kaplonski
63322d12e4 Add "neutron" devstack plugin to all tempest jobs
This plugin can enable specific neutron plugins, like e.g. QoS so
it should be enabled in all jobs which inherits from the
tempest-integrated-networking job.

Change-Id: I2655130df1210f7f175b79aec2bade28c0e1e977
2020-08-03 09:45:58 +02:00
Lucas Alvares Gomes
3bc718e1a0 Change some tempest tests to explicitly use ML2/OVS
As part of the effort to change the DevStack default driver to
ML2/OVN we need to explicitly set certain jobs to continue to
use ML2/OVS where it makes sense. This patch is doing that for the
following jobs: neutron-tempest-dvr, neutron-tempest-linuxbridge and
neutron-tempest-iptables_hybrid.

Change-Id: Icfb63a0696dbf55a3c2aa9cf049baa7b13bb76da
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-07-28 10:33:24 +01:00
Zuul
b82465ab73 Merge "[OVN] Bump OVN version to v20.06.1" 2020-07-23 18:22:21 +00:00
Lucas Alvares Gomes
164755264b [OVN] Bump OVN version to v20.06.1
This commit bumps the OVN version used in the gate from v20.03.0 to the
latest tagged version, v20.06.1.

Change-Id: Ie070f3c4d75272d12f295a2ea4f7fa6548a7b002
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-07-22 07:55:21 +00:00
Maciej Józefczyk
294720fcd2 Fix neutron-ovn-tempest-ovs-master-fedora job
The job should use OVN_BRANCH = master and OVS_BRANCH = master,
because based on its definition, it should use master code.

Change-Id: I0a708ae63d6a2c8933324157a4bbbd229fc43073
Related-Bug: #1877377
2020-07-22 07:15:45 +00:00
Zuul
63af76224d Merge "Increase singlenode tempest jobs' timeout to 10800 seconds" 2020-07-21 13:57:28 +00:00
Zuul
69cac6c640 Merge "Stop disabling peakmem_tracker" 2020-07-10 14:18:47 +00:00
Zuul
4c9c4f7753 Merge "Update cirros image to cirros-0.5.1-x86_64 globally" 2020-07-09 13:30:07 +00:00
Jens Harbott
57f89ae777 Stop disabling peakmem_tracker
Devstack no longer has the peakmem_tracker service, so no need to keep
disabling it.

Change-Id: I3e3c9bd36dd18e65fb238c325d015b30436b56f5
2020-07-09 12:14:27 +02:00
Slawek Kaplonski
5a0693da8d Increase singlenode tempest jobs' timeout to 10800 seconds
In some cases 2h was not enough so it's better to wait 3h for
good results rather than recheck everything after 2h :)

Change-Id: I18ab51422c7de5dc213078e7dce2ea8d38fba3ea
2020-07-08 13:18:08 +02:00
Maciej Józefczyk
db6ebd22e1 Update cirros image to cirros-0.5.1-x86_64 globally
New cirros with recent fixes for metadata service
has been released. Lets update the image version on gate.

Also stop using different images for OVN. Lets use default
settings from devstack.

First we need to merge [2].

[1] e40bcd2964
[2] https://review.opendev.org/#/c/711492/

Change-Id: Idc614f9f25188bd1a1e1d5424274acf04ba99328
2020-07-07 22:06:39 +00:00
Maciej Józefczyk
193df8279d [OVN] Stop using neutron_tempest_plugin in OVN singlenode job
In patch [1] we moved neutron_tempest_plugin test executions to
neutron-tempest-plugin repository.
That moves us forward with unifying the way of executing tests
after OVN merge.

[1] https://review.opendev.org/#/c/734832/

Change-Id: Iecca2649fc5e066fabe7f4b4746094506b595f0b
2020-07-07 22:06:20 +00:00
Zuul
22b1e2ae4d Merge "Stop installing Octavia in OVN jobs" 2020-06-24 14:50:55 +00:00
Zuul
c6d02a1980 Merge "Enable bridge debugging services on the tempest and grenade jobs" 2020-06-23 17:39:15 +00:00
Maciej Józefczyk
b64d934964 Stop installing Octavia in OVN jobs
We have separate project now - OVN Octavia provider - and its gate
is responsible for testing OVN integration with Octavia.

Change-Id: I317b7ad54a2f5c5c99bf0bff9eba4d91a1a86491
2020-06-22 13:44:38 +00:00
Slawek Kaplonski
c646978f1b Add singlenode tempest job with neutron-lib from master branch
As we discussed during last PTG, this patch adds singlenode tempest
job which uses neutron-lib from master branch always.

Change-Id: I883ba5d68b716d601898621079a835c706f52f85
2020-06-21 21:36:34 +00:00
Slawek Kaplonski
0f4db58773 Enable bridge debugging services on the tempest and grenade jobs
This patch moves functions to enable br-ex-tcpdump and br-int-flows
services from the ovn devstack plugin to the main neutron devstack
plugin and enables it on all tempest and grenade jobs which are using
neutron-openvswitch-agent as a L2 backend.

Change-Id: Idfea869c08811914124d076da18cec17a12eee49
2020-06-21 10:47:24 +00:00