In "test_dvr_router_lifecycle_ha_with_snat_with_fips", the HA proxy PID file is not removed

Bug #1910691 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Rodolfo Alonso

Bug Description

During the execution of "test_dvr_router_lifecycle_ha_with_snat_with_fips", when the router is deleted, the metadata proxy PID file is not removed.

Logs: https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_bb0/769390/2/check/neutron-functional-with-uwsgi/bb00724/testr_results.html

Snippet: http://paste.openstack.org/show/801503/

Akihiro Motoki (amotoki)
tags: added: functional-tests gate-failure
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :
Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
tags: added: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 16.3.1

This issue was fixed in the openstack/neutron 16.3.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 18.0.0.0rc1

This issue was fixed in the openstack/neutron 18.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/train)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/776451
Committed: https://opendev.org/openstack/neutron/commit/d8d9c1c7e8f5bbf002542411478677d83113cd3d
Submitter: "Zuul (22348)"
Branch: stable/train

commit d8d9c1c7e8f5bbf002542411478677d83113cd3d
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Feb 2 17:25:03 2021 +0000

    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 bf14c725bbb6ce710a45c55d1dd00eee2fb53f62)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 15.3.4

This issue was fixed in the openstack/neutron 15.3.4 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 17.1.2

This issue was fixed in the openstack/neutron 17.1.2 release.

Changed in neutron:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.