neutron/neutron/tests/unit/agent/metadata
Rodolfo Alonso Hernandez 630fc3b4bd 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-03-03 08:37:15 +00:00
..
__init__.py Revert "Revert "Add metadata proxy L3 agent driver"" 2015-01-06 21:41:39 +00:00
test_agent.py Fix return correct cache when reusing port 2020-03-27 16:48:57 +04:00
test_driver.py Stop metadata proxy gracefully 2021-03-03 08:37:15 +00:00