OVN metadata agent keeps restarting

Bug #2033305 reported by Miro Tomaska
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Miro Tomaska

Bug Description

As per Red Hat bug#2229779 [1] . The ovn-metadata-agent keeps restarting when it encounters an error spawing haproxy process for a network(datapat). This renders the agent unusable. Agent should handle process exceptions and continue to function.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2229779

Miro Tomaska (mtomaska)
Changed in neutron:
assignee: nobody → Miro Tomaska (mtomaska)
Changed in neutron:
status: New → In Progress
Revision history for this message
Brian Haley (brian-haley) wrote :
Changed in neutron:
importance: Undecided → High
tags: added: ovn
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/neutron/+/893775

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

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/neutron/+/893776

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

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/neutron/+/893777

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

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/neutron/+/893778

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

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/neutron/+/893779

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (stable/2023.1)

Change abandoned by "Slawek Kaplonski <email address hidden>" on branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/neutron/+/893775
Reason: This review is > 4 weeks without comment, and failed Zuul jobs the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/890986
Committed: https://opendev.org/openstack/neutron/commit/ed0515737be75745933f4994b5e6b652f9e0a2be
Submitter: "Zuul (22348)"
Branch: master

commit ed0515737be75745933f4994b5e6b652f9e0a2be
Author: Miro Tomaska <email address hidden>
Date: Wed Aug 9 17:34:34 2023 -0400

    Metadata: handle process exceptions

    Both metadata agents (OVN and non-OVN) should handle
    process exceptions when spawning haproxy processes
    such that the agent can continue its operation for
    other haproxy processes.

    Closes-Bug: #2033305
    Change-Id: I6da1b135c83ecfc41ec91e907ebf8500325a7a80

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/neutron/+/902677

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/902677
Committed: https://opendev.org/openstack/neutron/commit/14a830fb36dcbd7793cb766c68945660a622a37e
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit 14a830fb36dcbd7793cb766c68945660a622a37e
Author: Miro Tomaska <email address hidden>
Date: Wed Aug 9 17:34:34 2023 -0400

    Metadata: handle process exceptions

    Both metadata agents (OVN and non-OVN) should handle
    process exceptions when spawning haproxy processes
    such that the agent can continue its operation for
    other haproxy processes.

    Closes-Bug: #2033305
    Change-Id: I6da1b135c83ecfc41ec91e907ebf8500325a7a80
    (cherry picked from commit ed0515737be75745933f4994b5e6b652f9e0a2be)

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/893776
Committed: https://opendev.org/openstack/neutron/commit/4698dd899fa149088160372b6f2efcd3ce973cbb
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 4698dd899fa149088160372b6f2efcd3ce973cbb
Author: Miro Tomaska <email address hidden>
Date: Wed Aug 9 17:34:34 2023 -0400

    Metadata: handle process exceptions

    Both metadata agents (OVN and non-OVN) should handle
    process exceptions when spawning haproxy processes
    such that the agent can continue its operation for
    other haproxy processes.

    Note:
    neutron/tests/unit/agent/dhcp/test_agent.py#L836
    Added `mock.call.get_pid_file_name()` to the expected
    list of process calls. This call was removed in stable/2031.1
    and later.
    https://review.opendev.org/c/openstack/neutron/+/903149

    Closes-Bug: #2033305
    Change-Id: I6da1b135c83ecfc41ec91e907ebf8500325a7a80
    (cherry picked from commit ed0515737be75745933f4994b5e6b652f9e0a2be)

tags: added: in-stable-zed
tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/893777
Committed: https://opendev.org/openstack/neutron/commit/824a8257a88d7192ecd4a5efdcd1dba46d63d82b
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 824a8257a88d7192ecd4a5efdcd1dba46d63d82b
Author: Miro Tomaska <email address hidden>
Date: Wed Aug 9 17:34:34 2023 -0400

    Metadata: handle process exceptions

    Both metadata agents (OVN and non-OVN) should handle
    process exceptions when spawning haproxy processes
    such that the agent can continue its operation for
    other haproxy processes.

    Closes-Bug: #2033305
    Change-Id: I6da1b135c83ecfc41ec91e907ebf8500325a7a80
    (cherry picked from commit 4698dd899fa149088160372b6f2efcd3ce973cbb)

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/893778
Committed: https://opendev.org/openstack/neutron/commit/3ed088bc4ef5403aec6471e552fb1d4b15a49165
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 3ed088bc4ef5403aec6471e552fb1d4b15a49165
Author: Miro Tomaska <email address hidden>
Date: Wed Aug 9 17:34:34 2023 -0400

    Metadata: handle process exceptions

    Both metadata agents (OVN and non-OVN) should handle
    process exceptions when spawning haproxy processes
    such that the agent can continue its operation for
    other haproxy processes.

    Closes-Bug: #2033305
    Change-Id: I6da1b135c83ecfc41ec91e907ebf8500325a7a80
    (cherry picked from commit 824a8257a88d7192ecd4a5efdcd1dba46d63d82b)

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/893779
Committed: https://opendev.org/openstack/neutron/commit/5ead8779f8939658985f54e7cf133c37cd15fc4f
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 5ead8779f8939658985f54e7cf133c37cd15fc4f
Author: Miro Tomaska <email address hidden>
Date: Wed Aug 9 17:34:34 2023 -0400

    Metadata: handle process exceptions

    Both metadata agents (OVN and non-OVN) should handle
    process exceptions when spawning haproxy processes
    such that the agent can continue its operation for
    other haproxy processes.

    Closes-Bug: #2033305
    Change-Id: I6da1b135c83ecfc41ec91e907ebf8500325a7a80
    (cherry picked from commit 3ed088bc4ef5403aec6471e552fb1d4b15a49165)

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/893775
Committed: https://opendev.org/openstack/neutron/commit/63c16672a5ff3a82607bf1912bc51b5db21a1571
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 63c16672a5ff3a82607bf1912bc51b5db21a1571
Author: Miro Tomaska <email address hidden>
Date: Wed Aug 9 17:34:34 2023 -0400

    Metadata: handle process exceptions

    Both metadata agents (OVN and non-OVN) should handle
    process exceptions when spawning haproxy processes
    such that the agent can continue its operation for
    other haproxy processes.

    Closes-Bug: #2033305
    Change-Id: I6da1b135c83ecfc41ec91e907ebf8500325a7a80
    (cherry picked from commit ed0515737be75745933f4994b5e6b652f9e0a2be)

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

This issue was fixed in the openstack/neutron 24.0.0.0b1 development milestone.

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

This issue was fixed in the openstack/neutron yoga-eom release.

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

This issue was fixed in the openstack/neutron wallaby-eom release.

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

This issue was fixed in the openstack/neutron xena-eom release.

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

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

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

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

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

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

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.