[OVN] Set inactivity_probe for NB/SB databases

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

Bug Description

The 'inactivity_probe' parameter in OVN dbs schemas [0][1] represents the maximum number of milliseconds of idle time on connection to client before sending an inactivity probe message.

This parameter is never set by Neutron and it is important to allow its configuration since it can be crucial at scale or under heavy load to avoid reconnections.

[0] https://github.com/ovn-org/ovn/blob/95e41218fd7ea9c288c95744e80ba7caa90b30e2/ovn-sb.ovsschema#L275
[1] https://github.com/ovn-org/ovn/blob/95e41218fd7ea9c288c95744e80ba7caa90b30e2/ovn-nb.ovsschema#L456

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1979231

Changed in neutron:
importance: Undecided → Low
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/800521

Changed in neutron:
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 28f3017a90ecec6208aef9696cd7947972ec17d8
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Jul 12 15:30:47 2021 +0000

    [OVN] Set NB/SB "connection" inactivity probe

    For each NB/SB databases, set the inactivity probe timeout value on
    the Neutron configured connection register.

    Neutron connects to the NB/SB databases with the value defined in
    "ovn_nb_connection"/"ovn_sb_connection" config parameters, with the
    format:
    - tcp:IP:PORT
    - ssl:IP:PORT
    - unix:socket_file

    The connection register "target" column has the following format:
    - ptcp:PORT:IP
    - pssl:PORT:IP
    - punix:socket_file

    Closes-Bug: #1935842
    Change-Id: If82ff2c92b8bec18ae3e895ce19a65cfeed9c90d

Changed in neutron:
status: In Progress → Fix Released
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/+/812296

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/+/812297

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

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

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

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

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/812296
Committed: https://opendev.org/openstack/neutron/commit/1f19093f04b2d964d35cbeb0f391df6b63a51ca2
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 1f19093f04b2d964d35cbeb0f391df6b63a51ca2
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Jul 12 15:30:47 2021 +0000

    [OVN] Set NB/SB "connection" inactivity probe

    For each NB/SB databases, set the inactivity probe timeout value on
    the Neutron configured connection register.

    Neutron connects to the NB/SB databases with the value defined in
    "ovn_nb_connection"/"ovn_sb_connection" config parameters, with the
    format:
    - tcp:IP:PORT
    - ssl:IP:PORT
    - unix:socket_file

    The connection register "target" column has the following format:
    - ptcp:PORT:IP
    - pssl:PORT:IP
    - punix:socket_file

    Closes-Bug: #1935842
    Change-Id: If82ff2c92b8bec18ae3e895ce19a65cfeed9c90d
    (cherry picked from commit 28f3017a90ecec6208aef9696cd7947972ec17d8)

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

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

commit f8aefd600b164f866b4a1dde25ae3459797b87d3
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Jul 12 15:30:47 2021 +0000

    [OVN] Set NB/SB "connection" inactivity probe

    For each NB/SB databases, set the inactivity probe timeout value on
    the Neutron configured connection register.

    Neutron connects to the NB/SB databases with the value defined in
    "ovn_nb_connection"/"ovn_sb_connection" config parameters, with the
    format:
    - tcp:IP:PORT
    - ssl:IP:PORT
    - unix:socket_file

    The connection register "target" column has the following format:
    - ptcp:PORT:IP
    - pssl:PORT:IP
    - punix:socket_file

    Conflicts:
        neutron/common/ovn/utils.py

    Closes-Bug: #1935842
    Change-Id: If82ff2c92b8bec18ae3e895ce19a65cfeed9c90d
    (cherry picked from commit 28f3017a90ecec6208aef9696cd7947972ec17d8)

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/812298
Committed: https://opendev.org/openstack/neutron/commit/0a43eed0fa74dbd79860f4e90f6180c576eeb1e3
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 0a43eed0fa74dbd79860f4e90f6180c576eeb1e3
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Jul 12 15:30:47 2021 +0000

    [OVN] Set NB/SB "connection" inactivity probe

    For each NB/SB databases, set the inactivity probe timeout value on
    the Neutron configured connection register.

    Neutron connects to the NB/SB databases with the value defined in
    "ovn_nb_connection"/"ovn_sb_connection" config parameters, with the
    format:
    - tcp:IP:PORT
    - ssl:IP:PORT
    - unix:socket_file

    The connection register "target" column has the following format:
    - ptcp:PORT:IP
    - pssl:PORT:IP
    - punix:socket_file

    Conflicts:
        neutron/common/ovn/utils.py
        neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py
        neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py

    Closes-Bug: #1935842
    Change-Id: If82ff2c92b8bec18ae3e895ce19a65cfeed9c90d
    (cherry picked from commit 28f3017a90ecec6208aef9696cd7947972ec17d8)
    (cherry picked from commit f8aefd600b164f866b4a1dde25ae3459797b87d3)

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/812300
Committed: https://opendev.org/openstack/neutron/commit/9cba039b32e586fda2d6a854adc15643b066004f
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 9cba039b32e586fda2d6a854adc15643b066004f
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Jul 12 15:30:47 2021 +0000

    [OVN] Set NB/SB "connection" inactivity probe

    For each NB/SB databases, set the inactivity probe timeout value on
    the Neutron configured connection register.

    Neutron connects to the NB/SB databases with the value defined in
    "ovn_nb_connection"/"ovn_sb_connection" config parameters, with the
    format:
    - tcp:IP:PORT
    - ssl:IP:PORT
    - unix:socket_file

    The connection register "target" column has the following format:
    - ptcp:PORT:IP
    - pssl:PORT:IP
    - punix:socket_file

    Conflicts:
        neutron/common/ovn/utils.py
        neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py
        neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py

    Closes-Bug: #1935842
    Change-Id: If82ff2c92b8bec18ae3e895ce19a65cfeed9c90d
    (cherry picked from commit 28f3017a90ecec6208aef9696cd7947972ec17d8)
    (cherry picked from commit f8aefd600b164f866b4a1dde25ae3459797b87d3)
    (cherry picked from commit f6eda4f96546e017ac3986a113dd2f5b227a9c79)

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

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

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

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

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

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

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

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

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn train-eol

This issue was fixed in the openstack/networking-ovn train-eol 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.