neutron/neutron/tests
Rodolfo Alonso Hernandez d8d9c1c7e8
Stop metadata proxy gracefully
HAProxy supports hard stop [1] via SIGTERM signal. From the
documentation:

  """
  ... when the SIGTERM signal is sent to the haproxy process,
  it immediately quits and all established connections are
  closed.
  """

In case the process does not finish, the SIGKILL signal is sent.
The PID file created by the process is deleted.

[1]https://cbonte.github.io/haproxy-dconv/2.0/management.html#4

Closes-Bug: #1910691

Conflicts:
    neutron/agent/metadata/driver.py
    neutron/tests/unit/agent/dhcp/test_agent.py
    neutron/tests/unit/agent/metadata/test_driver.py

Change-Id: Ifa3734e8eb4e52b1a132c3351ecc2e15463298bb
(cherry picked from commit bf14c725bb)
2021-04-21 11:03:49 +02:00
..
common "ping"/"ping6" command support in rootwrap filters 2020-09-29 10:26:50 +00:00
contrib Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Limit usage of resources in the fullstack tests job 2021-01-18 14:53:46 +01:00
functional Merge "Delete HA metadata proxy PID and config with elevated privileges" into stable/train 2021-04-19 14:24:51 +00:00
unit Stop metadata proxy gracefully 2021-04-21 11:03:49 +02:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Reset timeout exception in DietTestCase when retrying 2020-02-04 16:51:12 +00:00
post_mortem_debug.py
tools.py consume WarningsFixture from neutron-lib 2019-07-09 08:32:33 -06:00