110 Commits

Author SHA1 Message Date
Zuul
ce251a804f Merge "Convert neutron-grenade-ovn job to be zuulv3" 2020-10-11 16:50:14 +00:00
Zuul
8a773dea40 Merge "Use the 'all' tox env instead of 'all-plugin'" 2020-10-11 15:27:49 +00:00
Slawek Kaplonski
3503022ce7 Convert neutron-grenade-ovn job to be zuulv3
This patch converts neutron-grenade-ovn job to be Zuulv3 native
and adds it as non-voting job to the check queue.

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

Change-Id: Ie27f7c9313ff4b18eba739e40fdb136036652313
2020-10-06 10:58:27 +02:00
Slawek Kaplonski
a8ceb09f98 Use ebtables-legacy also in ovn multinode jobs
For other jobs which inherits from neutron-tempest-base it
was changed some time ago.
But ovn multinode jobs don't inherits from that base job
so this patch fixes it for those jobs as well by adding same
configure_ebtables.yaml playbook to pre-run in the
neutron-ovn-multinode-base job.

Change-Id: Icb4fd80133ee10ad6c40e160013b4ab91d2c5a6b
Closes-Bug: #1898211
2020-10-02 17:10:00 +02:00
Lukas Piwowarski
7da5854f72 Use the 'all' tox env instead of 'all-plugin'
As the 'all-plugin' tox env is deprecated it is recommended to use
'all' tox env instead.

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

Change-Id: Iceccc81ca7c888c1035fd64dc07b9a922e05869f
Related-Bug: #1862240
2020-10-01 09:30:25 +02: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
Zuul
a453b61c76 Merge "ovn: Enable DVR for multinode jobs" 2020-09-18 15:18:37 +00: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
Zuul
e53df06675 Merge "[OVN] Use the OVN DevStack module" 2020-09-02 21:43:03 +00:00
Zuul
e115fb5564 Merge "Promote -uwsgi jobs to be gating" 2020-08-28 21:05:46 +00: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
Brian Haley
055036ba2b Improve terminology in the Neutron tree
There is no real reason we should be using some of the
terms we do, they're outdated, and we're behind other
open-source projects in this respect. Let's switch to
using more inclusive terms in all possible places.

Change-Id: I99913107e803384b34cbd5ca588451b1cf64d594
2020-08-19 16:47:53 -04:00
Slawek Kaplonski
3000f3c541 Promote -uwsgi jobs to be gating
Uwsgi based jobs (functional, fullstack and tempest) are voting since
some time and are as stable as "non-uwsgi" onces.
Recently on the CI meeting we decided to move "non-uwsgi" functional and
fullstack jobs to be run only in periodic queue and promote "uwsgi" jobs
to be gating also.

Change-Id: Id24316f04e1ff619c8ce2fe475f873961cbb92e4
2020-08-12 12:17:39 +02: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
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
4e5d392a8f Merge "[OVN] Add segments to ML2_SUPPORTED_API_EXTENSIONS" 2020-07-27 23:11:25 +00: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
Maciej Józefczyk
9df1ca82c5 [OVN] Add segments to ML2_SUPPORTED_API_EXTENSIONS
We recently added segmented network features to OVN,
that means we could add this extension here to the list.

Change-Id: Iab1fa9d810b3cc2e0384144cf33fc6732d55bec1
2020-07-22 07:15:29 +00:00
Zuul
63af76224d Merge "Increase singlenode tempest jobs' timeout to 10800 seconds" 2020-07-21 13:57:28 +00:00
Zuul
d28654a0c7 Merge "Remove tempest-integrated-networking job from neutron queue" 2020-07-14 15:27:03 +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
Zuul
08927b3ac1 Merge "[OVN] Unify OVN/OVS compilation" 2020-07-08 15:39:49 +00:00
Slawek Kaplonski
34b6833caa Remove tempest-integrated-networking job from neutron queue
As we agreed during virtual PTG we want to change
tempest-multinode-full-py3 that it will run only integrated-networking
tests. And then promote it to be voting and gating job.

This new multinode job can replace singlenode tempest-integrated-networking
job so this patch removes this one from the queues too.

Change-Id: Ic61b636625824bbd6b7624a057db308a484ee463
2020-07-08 16:03:43 +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
Maciej Jozefczyk
fb2806f808 [OVN] Unify OVN/OVS compilation
There were duplicated methods doing almost the same in terms
of OVS/OVN compilation.

This change:
 * move of OVS related compilation code to devstack/lib/ovs
 * delete of OVS related compilation code from devstack/lib/ovn_agent
 * source unified functions in devstack/lib/ovn_agent from
   devstack/lib/ovs
 * Unify NEUTRON_PATH variable to NEUTRON_DIR

Closes-Bug: #1877377

Change-Id: Ia012a8e116a276a6674f86366c803e0e2d8ff704
2020-07-07 22:05:59 +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
Ghanshyam Mann
96f3b37b43 Make neutron functional uwsgi jobs usable by other projects.
neutron-fullstack-with-uwsgi and neutron-functional-with-uwsgi
jobs are run in devstack gate[1] also. On devstack side these jobs
are broken when migrated to zuulv3 and start using neutron defined
tox env. neutron gate is no issue as job find the tox env in neutron's
tox.ini but devstack does not.

We need to define the working dir to neutron so that any where
they are run they always look for the neutron's tox.ini for used
tox env.

Failure: https://review.opendev.org/#/c/577779/

[1] c3b58f5335/.zuul.yaml (L717)

Change-Id: I0cadebb45864a83dfba7b54c9f161d11611164db
2020-06-10 16:43:39 +00: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
31280695a2 Merge "[OVN] Blacklist test_port_security_macspoofing_port test" 2020-05-29 17:44:44 +00:00
Zuul
118930f03d Merge "Promote functional uwsgi job to be voting" 2020-05-28 15:08:24 +00:00
Maciej Józefczyk
a32464464d [OVN] Blacklist test_port_security_macspoofing_port test
The test_port_security_macspoofing_port should be blacklisted
back, because of the change [1] that switched OVN_BRANCH/OVS_BRANCH
configuration to the latest stable releases and the
fix [2] that solved [3] is not yet present in latest release.

In addition. We will have discussion during next PTG around if we
should/could run only jobs with OVN release or we can enable also
master jobs. Then we need to explicitely define from which branch
given job runs to prevent such situations like this one in future.

[1] https://review.opendev.org/#/c/726168/
[2] https://patchwork.ozlabs.org/project/openvswitch/patch/20200319122641.473776-1-numans@ovn.org/
[3] https://bugs.launchpad.net/tempest/+bug/1728886

Related-Bug: #1728886

Change-Id: Ic8952e9ffb031ff4becb6ee2f6f5325a55e19dfe
2020-05-28 10:47:35 +00:00
Jakub Libosvar
8ddf794b8d ovn: Enable DVR for multinode jobs
DVR is disabled by default in Neutron. It makes sense to enable it for
the multinode jobs.

Change-Id: Id5d645970e934e31defdf434d0d0ef18671a2901
2020-05-21 13:55:57 +02:00
Jakub Libosvar
9b1ea6cd75 ovn: Enable debugging services on subnodes
Running tcpdump and dump-flows provides great value when troubleshooting
gate issues. So far the services were run on master nodes only but
instances are spawned on subnodes therefore the services are useful also
there. This patch enables it as such.

Change-Id: I378e0296a84c1bdbb42277f8916df866358f5b50
2020-05-21 10:53:05 +02:00
Slawek Kaplonski
8411bfb83a Promote functional uwsgi job to be voting
This job is pretty stable since some time so we can make it
to be voting now.

Change-Id: Id765acc227e5bead2a9b41e8986e9da5cb387b9f
2020-05-20 14:58:35 +02:00