51 Commits

Author SHA1 Message Date
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
Jakub Libosvar
d086058895 ovn: Use newer OVS
OVS tag v2.13.0 is not compatible with current used kernel on upstream
Bionic Ubuntu kernel 4.15.0. This patch sticks to commit hash to unblock
the gate. We can either change to newer 2.13 tag once released or better
stop compiling OVS and use one packaged by Ubuntu.

Run functional/fullstack tests with selected OVN and OVS versions

Previously for functional tests OVS version was hardcoded - v2.12.0,
and OVN was installed from OVS repository.

After we merged OVN driver to Neutron tree we run both
Neutron/OVS and Neutron/OVN functional tests in one job.

This patch adds possibility to specify from which tag/branch OVS and OVN
should be checkout.

Change-Id: I83688031951b97bfe64f3aaa761ad7afc1d5ea55
Closes-Bug: #1883601
Closes-Bug: #1878160
2020-06-19 15:57:28 +02:00
Brian Haley
1a3811448d Bump oslo.log to version 4.1.2
Versions of oslo.log >= 4.1.2 require a second argument when
initializing the OSJournalHandler class. While I've started
a review to fix that regression [0], bump oslo.log to a later
version that requires this new flag and pass it to fix the
gate.

Also had to blacklist the OVN tempest IPv6 hotplug test
since it is failing too much to pass the check jobs.

[0] https://review.opendev.org/732457

Change-Id: Ic9bbb43aa832ad6cc45d57328b40afe4468ddfca
Related-bug: #1871840
Related-bug: #1881558
2020-06-02 15:26:15 -04:00
Zuul
e9fd3e158e Merge "[OVN] Enable test_multicast_between_vms_on_same_network" 2020-05-06 15:39:58 +00:00
Lucas Alvares Gomes
8ec41570a9 [OVN] Enable test_multicast_between_vms_on_same_network
This patch is adding support on DevStack and zuul job to enable the
test_multicast_between_vms_on_same_network test in the upstream gate.

Depends-On: https://review.opendev.org/#/c/721262
Change-Id: I0ee5c3daceb34b6810165c1e8a20aa3d5f21c74b
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-04-27 16:26:26 +01:00
Maciej Józefczyk
ba35c0fc29 [OVN] Enable qos service plugin in tempest jobs
This patch adds QoS service plugin and enable QoS
tests whiel using OVN as a backend.

Note that:
* We need to compile OVS kernel module, in order to support
  OpenFlow Meter action in Ubuntu [1]
* Because of bug [2] for now we need also to create the integration
  bridge with specified OpenFlow version 1.3.
* Added qos extension to the list of neutron extensions in tempest
  config file to be able to run qos related tests.

[1] https://mail.openvswitch.org/pipermail/ovs-discuss/2018-December/048009.html
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1782834

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

Change-Id: I175511acef0e661bd1f282f37b1e528959c118a5
2020-04-20 17:32:56 +00:00
Zuul
fe3832fee9 Merge "[OVN] Default to TLS for OVN-enabled tests" 2020-03-25 11:40:16 +00:00
Zuul
48c22256d6 Merge "[OVN] Switch release jobs to OVN 20.03 (v20.03.0 tag)" 2020-03-17 20:30:17 +00:00
Lucas Alvares Gomes
e0cb072b84 [OVN] Switch release jobs to OVN 20.03 (v20.03.0 tag)
OVN 20.03 (v20.03.0 tag) is the new stable released version of OVN which
is compatible with the OVS 2.13 version, also bumped in this review.

The patch also updates the use_new_ovn_repository to strip all
non-numeric characters of the branch name when comparing the versions,
that way we can compare branch-<version> against v<version> version
formats.

Change-Id: I06f06fbc42c625ad2deab03a92238ae5e68d9033
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-03-11 14:37:49 +00:00
Frode Nordahl
03ef29b1f0 [OVN] Default to TLS for OVN-enabled tests
OVN makes use of TLS for authorization and authentication of its
peers and it does not really make sense to deploy without it.

Let's reflect this fact in the functional tests.

Change-Id: Ibaec2043a45c52cffba0a5ca376eaa453e62df5a
Related-Bug: #1847032
Related-Bug: #1850160
2020-03-09 08:43:43 +01:00
Zuul
129c68ef39 Merge "Revert "Blacklist test_multiple_ports_portrange_remote for OVN"" 2020-03-05 17:40:27 +00:00
Zuul
a9d6eae110 Merge "Rename devstack service neutron-ovn-metadata-agent" 2020-03-03 23:40:32 +00:00
Bence Romsics
02a7e96743 Rename devstack service neutron-ovn-metadata-agent
... to q-ovn-metadata-agent.

To the best of my understanding we decided to keep using the
neutron-legacy devstack module since it is the one used in the gate:

http://lists.openstack.org/pipermail/openstack-discuss/2019-December/thread.html#11544

And we merge new features like the ovn migration only working with
neutron-legacy:

https://review.opendev.org/696592

It seems to me we were a bit inconsistent in naming devstack service
'neutron-ovn-metadata-agent' since legacy style devstack service
names start with 'q-'.

For example this sample config is broken:

https://opendev.org/openstack/neutron/src/branch/master/devstack/ovn-compute-local.conf.sample#L31-L35

stack.sh dies with:

lib/neutron: line 368: neutron_plugin_create_nova_conf: command not found

Because not having a single 'q-' service in that enabled service list
we trip up devstack's 'is_neutron_legacy_enabled' check:

e51cbf0ea9/lib/neutron (L127-L135)

This change renames devstack service neutron-ovn-metadata-agent
to q-ovn-metadata-agent.

I'm not proud to propose this change in 2020 (circa 5 years after
the rename from Quantum to Neutron) so let me know if you see a better
way. :-)

Change-Id: I507a3426e2b63bff49891bd5a51fa9d9999a0ffa
2020-03-03 14:43:01 +01:00
Lucas Alvares Gomes
18c63a7148 [OVN] DevStack: Split the OVN_BRANCH and OVS_BRANCH variables
We will soon have different version for OVN and OVS, this patch is
splitting the OVN_BRANCH and OVS_BRANCH variables in the DevStack
module.

Change-Id: Icf32d168d177268afeb02c95084543d97f4f07e6
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-03-02 15:41:27 +00:00
Maciej Józefczyk
8ae949d5cb Revert "Blacklist test_multiple_ports_portrange_remote for OVN"
Needed patch in the OVN repository has been merged [1].

[1] 764df790b9

This reverts commit 4d5817003cc2766839f7629234d7a72697821ae9.

Change-Id: If0274741bb4b077e652eada7272bd9165ba32690
2020-02-28 19:51:58 +00:00
Maciej Józefczyk
4d5817003c Blacklist test_multiple_ports_portrange_remote for OVN
We recently merged this test and it its very unstable.
We need to figure out whats wrong. For now lets blacklist
it to not block the gate.

Change-Id: I406ad7f839758414903bb66d7480f4ac9975e740
Related-Bug: #1864620
2020-02-25 17:03:12 +01:00
Brian Haley
fc507c701c Define new ipv6-only job for OVN
As part of Train community goal 'Support IPv6-Only Deployments and Testing'[1],
Tempest has defined the base job 'devstack-tempest-ipv6' (adding
in Depends-On patch) which will deploy services on IPv6.

This commit adds the new job 'neutron-ovn-tempest-ovs-release-ipv6-only'
run on check queue which is derived from 'devstack-tempest-ipv6'.
A future change can make this voting in the gate.

Verification structure will be:
- 'devstack-IPv6' deploy the service on IPv6
- 'devstack-tempest-ipv6' run will verify the IPv6-only setting and listen
  address
- 'networking-ovn-tempest-ovs-release-ipv6-only' will run the tests.

Story: #2005477
Task: #35908

Based on https://review.opendev.org/#/c/673488/ from networking-ovn.

[1] https://governance.openstack.org/tc/goals/train/ipv6-support-and-testing.html

Depends-on: https://review.opendev.org/#/c/703685/
Change-Id: Ia0dcf47ead268aa4b265904c9e1ae1e38d77456a
2020-01-23 19:05:56 -05:00
Lucas Alvares Gomes
f9e2514ddc [OVN] Double the tempest_concurrency
The neutron-ovn-base had the "tempest_concurrency" set to 2, which is
halve the value from other tempest jobs.

This patch changes it to 4 to speed things up and to match with the rest
of the jobs in neutron.

Change-Id: I7be206006f8c035b983bac8ef34f937e64734bb9
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-01-22 11:34:53 +00:00
Zuul
c355e914ac Merge "[OVN] Enable neutron-ovn-tempest-ovs-release job" 2020-01-22 05:23:20 +00:00
Lucas Alvares Gomes
1310c536e6 [OVN] Enable neutron-ovn-tempest-ovs-release job
The previous patch changed DevStack to deploy the OVN driver from the
Neutron repository instead of the networking-ovn one.

This patch is now enabling tempest testing that code in the check and
gate pipeline.

Change-Id: I772c33789443f08e4b70d37602a73d28fdf2f6fb
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-01-17 08:11:29 +00:00
Rodolfo Alonso Hernandez
1986865bd5 Add MariaDB 10.3 repository for Ubuntu Bionic
In order to execute the periodic job "neutron-tempest-mariadb-full",
using Ubuntu Bionic and MariaDB, a newer version is needed than the
default package version distributed (10.1).

Devstack gates are tested with MySQL 5.7. Current Neutron DB schema
is not working with the reported version 10.1.

Change-Id: Ie2b5f85a9c0fc26676d44074424cf5a699303805
Related-Bug: #1855912
Related-Bug: #1841907
2020-01-16 10:05:36 +00:00