neutron/neutron
Slawek Kaplonski bacc7abf83 Make Neutron gate great again
This is combined patch to fix couple of issues which
we recently had in gate.

1. [Functional tests] Fix SIGHUP handling tests

Tests in neutron.functional.test_server module are testing how
PluginWorker, WSGIWorker and RPCWorker are handling SIGHUP signal.

Recently this was changed in Oslo.service with [1] and our tests
were failing because they were still expecting that after sending
SIGHUP to the process, stop() and than start() method will be called.

But as our services uses "mutate" as restart method, since [1] such
process don't executes stop() and start() after SIGHUP. It now executes
only reset() method.
This patch reflects that change in Neutron functional tests.

2. Veth pair "IFLA_LINK" populated since kernel 4.15.0-60-generic

Since kernel_version=4.15.0-60-generic, "iproute2" provides the veth
pair index, even if the pair interface is in other namespace. In
previous versions, the parameter 'IFLA_LINK' was not present. We need
to handle both cases

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

Co-Authored-By: Rodolfo Alonso Hernandez <ralonsoh@redhat.com>

Change-Id: I7a3f20a795c89ab1ab037d046a1101cd5c0287d6
Closes-Bug: #1842659
Closes-Bug: #1842482
2019-09-06 07:44:29 +00:00
..
agent Merge "Add VLAN type conntrack direct flow" 2019-08-30 16:17:09 +00:00
api Optimize DVR related port DB query 2019-08-25 01:24:03 +08:00
cmd Remove 'gateway_external_network_id' config option 2019-07-26 13:19:14 +02:00
common DVR: Ignore DHCP port during DVR host query 2019-08-21 05:35:19 +00:00
conf Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
core_extensions Switch to new engine facade for QoS 2019-05-28 08:11:35 +00:00
db Merge "Optimize DVR related port DB query" 2019-08-30 19:42:26 +00:00
debug Remove deprecated 'external_network_bridge' option 2019-03-09 22:07:38 +00:00
extensions Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
hacking remove neutron.db.api references 2019-03-05 09:14:50 -07:00
ipam Allow first address in an IPv6 subnet as valid unicast 2019-05-21 16:31:18 +00:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers Refactor the L3 agent batch notifier 2019-08-01 17:11:04 +00:00
objects Relax subnet pool network affinity constraints 2019-07-31 10:01:55 -05:00
pecan_wsgi fix update neutron resource with incorrect body key server return 500 2019-08-09 08:53:28 +08:00
plugins Merge "DVR: Cleanup ml2 dvr portbindings on migration" 2019-08-30 11:27:35 +00:00
privileged Kill all processes running in a namespace before deletion 2019-08-21 09:03:54 +00:00
quota Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
scheduler Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
tests Make Neutron gate great again 2019-09-06 07:44:29 +00:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Define dhcp_agents_per_network with min=1 2019-05-15 14:08:21 -04:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
policy.py Treat networks shared by RBAC in same way as shared with all tenants 2019-06-26 22:04:36 +00:00
service.py Fix default RPC worker count 2019-08-01 20:58:19 +01:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00