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
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
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
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>
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>
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
We recently added segmented network features to OVN,
that means we could add this extension here to the list.
Change-Id: Iab1fa9d810b3cc2e0384144cf33fc6732d55bec1
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
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
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
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
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
We have separate project now - OVN Octavia provider - and its gate
is responsible for testing OVN integration with Octavia.
Change-Id: I317b7ad54a2f5c5c99bf0bff9eba4d91a1a86491
As we discussed during last PTG, this patch adds singlenode tempest
job which uses neutron-lib from master branch always.
Change-Id: I883ba5d68b716d601898621079a835c706f52f85
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
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
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
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
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
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
With the move to the Victoria job template in
https://review.opendev.org/#/c/722681/, the py37 jobs no
longer get run, so the check and gate job entries can
be removed.
Added a keepalived py38 KillFilter line to match the py36
and py37 ones.
Also updated TESTING.rst to use py38 in all examples.
Change-Id: Ief793b54d53c3239cfb24278e88e4f4189bbc2c2
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>
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
Those 2 jobs are pretty stable since long time so we can make them
to be voting now.
Job 'neutron-functional-with-uwsgi' also follows 'neutron-functional'
job's failure rate but both jobs still needs some more stabilization
before we will make it voting.
This patch also moves some jobs to group similar jobs together.
Change-Id: Icb32776198f9b7fc6adfa287081e3feb4297116d
Jobs:
* neutron-ovn-tripleo-ci-centos-7-containers-multinode
* neutron-ovn-rally
were disabled during the process of migration of networking-ovn code
to the neutron repo.
Now those jobs should runs fine so lets enable them as non-voting
jobs first.
Additionally job "neutron-ovn-tripleo-ci-centos-7-containers-multinode"
was in the meantime renamed to be the
"neutron-ovn-tripleo-ci-centos-8-containers-multinode" as it runs on
CentOS 8 now.
Change-Id: I90e038767101e12ba94cdc7ed7431bc3e34b8044