23977 Commits

Author SHA1 Message Date
Zuul
dc10558c0b Merge "Fix recent QoS minimum_bandwidth release note" 2020-11-03 11:16:36 +00:00
Zuul
5043dd6dc5 Merge "Fix recent MAC learning release note" 2020-11-03 11:16:32 +00:00
Zuul
093114df48 Merge "Implement "find_parent_pid" natively" 2020-11-03 11:16:09 +00:00
Zuul
c9a41ddd56 Merge "Add locks for methods which sets nat rules in router" 2020-11-03 10:07:10 +00:00
Zuul
cbaa328f2b Merge "Fix invalid asssert_called_once_with" 2020-11-02 15:25:51 +00:00
zhufl
3168caa3cb Fix invalid asssert_called_once_with
This is to fix the invalid asssert_called_once_with, which should
be assert_called_once_with.

Change-Id: Ic7d7dc45ef2b4e569851e2bbb8779b2bddb6039b
2020-10-30 11:00:39 +08:00
Zuul
ae23c36ee0 Merge "[OVN] Simplify connection creation logic" 2020-10-29 09:08:58 +00:00
Brian Haley
b41676f7fb Fix recent QoS minimum_bandwidth release note
Just fixed some grammatical issues in the release note.

Change-Id: I8b87ae6244b3eb74e7296139aaa5f654afbd8e57
2020-10-23 08:59:56 -04:00
Brian Haley
eb4cfbdb78 Fix recent MAC learning release note
Just fixed some grammatical issues in the release note.

Change-Id: Ie6b8e300ca0c2aafb5bea32f6bb6326dee1d9c28
2020-10-23 08:55:22 -04:00
Zuul
6397a03ed8 Merge "ovs firewall: fix mac learning on the ingress rule table when ovs offload enabled" 2020-10-23 00:29:22 +00:00
Zuul
8d8f41ba69 Merge ""scope" conversion only just before pyroute2 method call" 2020-10-22 12:58:37 +00:00
Rodolfo Alonso Hernandez
b4211c8c54 Implement "find_parent_pid" natively
Use Python native libraries instead of shell calls.

Closes-Bug: #1900268

Change-Id: Iaad9e2b3374b5c81f83c780d306685773af719ed
2020-10-19 10:20:15 +00:00
Zuul
8660a12aae Merge "Disable dstat service temporary in ovn scenario jobs" 2020-10-17 15:24:45 +00:00
Zuul
d125e49bac Merge "Filter supported extension for OVN mech driver" 2020-10-15 22:41:06 +00:00
Terry Wilson
cd91e15768 [OVN] Simplify connection creation logic
It's a bit cleaner to have the API classes define their own factory
methods instead of having so many if statements in get_connection().

Change-Id: I36f1f16d9eef32f4012b18685ee155cc4886e0c4
2020-10-15 21:13:19 +00:00
Moshe Levi
8fc80b7e13 ovs firewall: fix mac learning on the ingress rule table when ovs offload enabled
In RULES_INGRESS_TABLE table 82 there is a rule for allow established and
related connections. The current rule sends the packet directly to the dest
port without doing a mac learning. This is causing ovs to age out the dest mac
of the remote VM and causing the rule to be changed in flood rule. For the normal
case it fine as they try to avoid high cpu. ovs hardware offload reduce cpu usage
by moving some of the packet processing to nic and flood rule is not offloaded,
therefore it prefre to use the NORMAL action to avoid the flood rule.
We also keep the same logic as today when using explicitly_egress_direct=True
which avoid NORMAL action in the entire pipeline.

Closes-Bug: #1897637

Change-Id: I9b611d62be5d0529e8b35e3d8280baa5be54bc2b
2020-10-15 16:35:24 +00:00
Rodolfo Alonso Hernandez
0705699e60 "scope" conversion only just before pyroute2 method call
In "IpAddrCommand.list" method, the "scope" parameter is a string
("link", "site", "global" or "host"). This method will retrieve all
devices with an IP address calling "ip_lib.get_devices_with_ip".

Since [1], "ip_lib.get_devices_with_ip" makes the conversion of
"scope" string parameter to pyroute2 format (see
"pyroute2.netlink.rtnl.rtscopes"). The list command should skip then
the previous conversion.

Closes-Bug: #1899141

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

Change-Id: I55a0f4341b328af52ea3bd758a72f633fbe3abcb
2020-10-15 15:49:05 +00:00
Zuul
0431531b0c Merge "Make test_agent_show only look for its own agents" 2020-10-15 09:06:45 +00:00
Zuul
7e7326ef50 Merge "Remove extraneous garp emission" 2020-10-15 07:09:12 +00:00
Zuul
80bc481136 Merge "Do not retrieve again the Floating IP object during creation" 2020-10-15 04:21:26 +00:00
Zuul
06fe01c6a1 Merge "Rehome api tests for propagate_uplink_status" 2020-10-14 22:33:22 +00:00
Zuul
87cb5ecf5a Merge "Remove ML2OVS-specific templates before migration to OVN" 2020-10-14 20:23:59 +00:00
Slawek Kaplonski
9d38c06980 Disable dstat service temporary in ovn scenario jobs
Multinode OVN jobs are failing very often due to bug [1] so
lets disable dstat service in those jobs for now as workaround
of the problem.

[1] https://bugs.launchpad.net/ubuntu/+source/dstat/+bug/1866619

Change-Id: Id9bb16d9e3e649e1538bc33bd1b7e8eab7e74048
Closes-Bug: #1898863
2020-10-14 15:16:30 +02:00
Zuul
d29e412e9e Merge "Update ovn-octavia-provider contacts" 2020-10-14 10:48:57 +00:00
Zuul
c186816982 Merge "[OVN][Doc] DevStack guide: Add command to get the port's UUID" 2020-10-14 10:48:53 +00:00
Zuul
2b3f20b4d9 Merge "Use normalized cidrs in address groups" 2020-10-14 05:44:59 +00:00
Terry Wilson
df2c7baa23 Make test_agent_show only look for its own agents
Since plugin agents are a global resource, relying just on the
'type' field for test_agent_show may end up finding an agent that
we don't know about, and that agent could be deleted by another
test. This reworks test_agent_show to sepecifically look for its
own OVN controller agent and test agent.

This also adds the 'id' field to the returned agent_status from
create_or_update_agent() to make it possible to look for the agent
that was just created.

Change-Id: Ib840e7c51f7b918b5e17ce9deff9ceafacf063cc
Closes-Bug: #1899004
2020-10-13 15:55:47 +00:00
elajkat
d2f8a2bea8 Rehome api tests for propagate_uplink_status
Since [0] was merged propagate_uplink_status value is True,
tempest (and neutron-tempest-plugin) is branchless, so
test_create_port_without_propagate_uplink_status and
test_create_port_with_propagate_uplink_status can be moved to
fullstack tests to keep the coverage.

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

Change-Id: I8dfe76e75aa932e587d91f475317b7bac1f02ed9
Related-Bug: #1890842
2020-10-13 10:57:57 +00:00
Zuul
7a960f15d5 Merge "Reduce log level in "ensure_device_is_ready"" 2020-10-12 18:41:24 +00:00
Roman Safronov
526693ed3c Remove ML2OVS-specific templates before migration to OVN
When running migration from ML2OVS to ML2OVN using infrared plugin
some ML2OVS-specific templates remain in 'overcloud deploy' command.
This is not correct and can cause issues.

Change-Id: I41c81cd42ab85395cb5fc56f339d14f2e939ebbc
Closes-bug: #1896470
2020-10-12 12:15:58 +03:00
Zuul
0b4d6fe4ab Merge "Process ingress multicast traffic for 224.0.0.X separately" 2020-10-11 20:23:38 +00:00
Slawek Kaplonski
2325ad1950 Add locks for methods which sets nat rules in router
Router_info class and port_forwarding L3 extensions are using same
instance of the iptables manager class and it could happend that
method which sets address scope rules and method which sets
port forwarding nat rules where run in almost same time and
one of them was adding rules which wasn't expected to be added.
Because of that port forwarding rules wasn't configured properly.

This patch fixed that by adding lock for methods which are changing
rules in iptables_manager's nat table in both router_info and
port_forwarding extension.

Change-Id: Ic1d5f893a81b7b841745da82f38b7583e47e468d
Closes-Bug: #1896735
2020-10-11 19:40:20 +00:00
Zuul
921fbae586 Merge "Imported Translations from Zanata" 2020-10-11 17:13:51 +00:00
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
OpenStack Proposal Bot
b81e05e44a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib2fe1ebf00295ddd5f63d682ff713808c7fda102
2020-10-11 07:22:44 +00:00
Zuul
d656c8ebe2 Merge "fix dhcp bulk reload exceptions" 2020-10-10 20:22:34 +00:00
Zuul
68ec58a0b4 Merge "Filter ML2Plugin mech driver supported extensions" 2020-10-10 20:22:30 +00:00
Zuul
b57ab1a62d Merge "Do not load "qos-fip" if "qos" plugin is not loaded" 2020-10-10 14:40:14 +00:00
Zuul
3c16a64273 Merge "Capture timeout exception when deleting NamespaceFixture" 2020-10-10 11:23:09 +00:00
Rodolfo Alonso Hernandez
ebb866310b Filter supported extension for OVN mech driver
OVN mechanism driver has support for  a defined set of ML2 API
extensions. When the ML2Plugin is loaded, the OVN mechanism driver
will return, from the loaded plugin extensions, only the supported
subset.

Change-Id: Id23aa1c107504d47b08007752159b07f089c3090
Related-Bug: #1888829
2020-10-09 18:23:23 +00:00
Zuul
a3f2242016 Merge "[Doc] Add section about diffs between ovs and iptables fw drivers" 2020-10-09 14:14:30 +00:00
Zuul
b63d1d5a51 Merge "[L3] Let agent extension do delete router first" 2020-10-09 01:23:40 +00:00
Zuul
9c3f4c5237 Merge "Fix formatting error in agent/linux/external_process.py" 2020-10-09 01:23:34 +00:00
Brian Haley
ac6f94fcbf Update ovn-octavia-provider contacts
Maciej no longer works on Openstack, so remove him, and add
Flavio Fernandes as a replacement.  Also added contact into
to the neutron-teams page.

Change-Id: I2f43a389644afcfa5a42571b6c5c093fd21560f1
2020-10-08 11:42:26 -04:00
Rodolfo Alonso Hernandez
7e31f2ae41 Do not load "qos-fip" if "qos" plugin is not loaded
If QoS service plugin is not loaded, the L3 QoS extension in the OVN
L3 plugin should not be loaded neither.

Prior to this patch, the extension drivers were checked to find the
QoS extension. Although it is a misconfiguration to have the QoS
extension without loading the QoS driver, that is handled correctly
by the Neutron server, disabling the extension silently.

Closes-Bug: #1898842
Related-Bug: #1877408

Change-Id: Iea5ff76fe652ab1c04e23850b9259547c1d54365
2020-10-08 13:12:12 +00:00
Zuul
4d31284373 Merge "Bump neutron-lib to 2.6.1" 2020-10-08 12:53:18 +00:00
Nate Johnston
24cd8598dc Fix formatting error in agent/linux/external_process.py
Formatting error causes exception in certain circumstances; fix is
trivial.

Co-Authored-By:  captainmish@gmail.com
Change-Id: I2bd7f2f3d798228fee6ba26d0e1a32e3033e9fc1
Closes-Bug: #1898789
2020-10-07 21:09:35 -04:00
Zuul
8cfc9a412b Merge "Remove more empty lines in ipv6 ra conf." 2020-10-07 18:46:51 +00:00
LIU Yulong
d13efc6314 [L3] Let agent extension do delete router first
For some agent extension implementation, it may need the router_info
to do some clean up work. So this patch just moves the extension
delete action forward.

Closes-Bug: #1897423
Change-Id: I3434ec7c0942229b99e67de7500090dedb37b13f
2020-10-07 13:38:11 +00:00