neutron/neutron/agent/metadata
Rodolfo Alonso Hernandez b07afa7212 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

Change-Id: Ifa3734e8eb4e52b1a132c3351ecc2e15463298bb
(cherry picked from commit bf14c725bb)
2021-02-25 09:49:26 +01:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
agent.py [OVN][OVS] Different metadata_workers default based on driver 2020-09-09 09:39:13 +01:00
driver.py Stop metadata proxy gracefully 2021-02-25 09:49:26 +01:00