[OVN] Disable LSP_OPTIONS_MCAST_FLOOD_REPORTS for LSPs

Bug #2026825 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Lucas Alvares Gomes

Bug Description

Reported at https://bugzilla.redhat.com/show_bug.cgi?id=2219405

Enabling the mcast_flood_reports for ports from other types other than "localnet" was a workaround for a problem in core OVN that is now fixed (see [0]).

Leaving mcast_flood_reports enabled is now overflowing the number of actions in the table 38 of OVN. So we should disable that in ML2/OVN.

[0] https://github.com/openstack/neutron/blob/b92d133de66411b9444855cc97480891d7d7b7b2/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py#L369-L375

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :
Changed in neutron:
importance: Undecided → Medium
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 06dbc5227b9208887bab9bc6623098c80156f36d
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Jul 11 11:29:13 2023 +0100

    [OVN] Disable the mcast_flood_reports option for LSPs

    The mcast_flood_reports option was being enabled on LSPs as a workaround
    for a problem in core OVN. The issue in core OVN has been fixed and this
    workaround is now causing an increase in the number of actions on the
    table 38 of OVN (at the risk of hitting a size limit).

    This patch disables the mcast_flood_reports option on newer versions of
    OVN while keeping the backward compatibility with the old ones.

    Since the fix in core OVN does not expose any information to the CMS to
    tell us that the issue is fixed this patch uses the NB DB schema version
    to determine if this is an old or a new OVN version.

    Change-Id: I8f3f0c2d516e37145eb298b8f51d92fe9905158a
    Closes-Bug: #2026825
    Signed-off-by: Lucas Alvares Gomes <email address hidden>

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

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

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

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

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

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/+/892772
Committed: https://opendev.org/openstack/neutron/commit/cd6171a6eb8c9f08d0591d8b558f8d84b37e97ea
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit cd6171a6eb8c9f08d0591d8b558f8d84b37e97ea
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Jul 11 11:29:13 2023 +0100

    [OVN] Disable the mcast_flood_reports option for LSPs

    The mcast_flood_reports option was being enabled on LSPs as a workaround
    for a problem in core OVN. The issue in core OVN has been fixed and this
    workaround is now causing an increase in the number of actions on the
    table 38 of OVN (at the risk of hitting a size limit).

    This patch disables the mcast_flood_reports option on newer versions of
    OVN while keeping the backward compatibility with the old ones.

    Since the fix in core OVN does not expose any information to the CMS to
    tell us that the issue is fixed this patch uses the NB DB schema version
    to determine if this is an old or a new OVN version.

    Change-Id: I8f3f0c2d516e37145eb298b8f51d92fe9905158a
    Closes-Bug: #2026825
    Signed-off-by: Lucas Alvares Gomes <email address hidden>
    (cherry picked from commit 06dbc5227b9208887bab9bc6623098c80156f36d)

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/892773
Committed: https://opendev.org/openstack/neutron/commit/7da91baa25c295e0fda9b4a0ffe84c99e60970cc
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 7da91baa25c295e0fda9b4a0ffe84c99e60970cc
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Jul 11 11:29:13 2023 +0100

    [OVN] Disable the mcast_flood_reports option for LSPs

    The mcast_flood_reports option was being enabled on LSPs as a workaround
    for a problem in core OVN. The issue in core OVN has been fixed and this
    workaround is now causing an increase in the number of actions on the
    table 38 of OVN (at the risk of hitting a size limit).

    This patch disables the mcast_flood_reports option on newer versions of
    OVN while keeping the backward compatibility with the old ones.

    Since the fix in core OVN does not expose any information to the CMS to
    tell us that the issue is fixed this patch uses the NB DB schema version
    to determine if this is an old or a new OVN version.

    Change-Id: I8f3f0c2d516e37145eb298b8f51d92fe9905158a
    Closes-Bug: #2026825
    Signed-off-by: Lucas Alvares Gomes <email address hidden>
    (cherry picked from commit 06dbc5227b9208887bab9bc6623098c80156f36d)

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/+/892774
Committed: https://opendev.org/openstack/neutron/commit/334dc3322aebea32cb35ed4398aa191411c22ca4
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 334dc3322aebea32cb35ed4398aa191411c22ca4
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Jul 11 11:29:13 2023 +0100

    [OVN] Disable the mcast_flood_reports option for LSPs

    The mcast_flood_reports option was being enabled on LSPs as a workaround
    for a problem in core OVN. The issue in core OVN has been fixed and this
    workaround is now causing an increase in the number of actions on the
    table 38 of OVN (at the risk of hitting a size limit).

    This patch disables the mcast_flood_reports option on newer versions of
    OVN while keeping the backward compatibility with the old ones.

    Since the fix in core OVN does not expose any information to the CMS to
    tell us that the issue is fixed this patch uses the NB DB schema version
    to determine if this is an old or a new OVN version.

    Conflicts:
      neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py

    Change-Id: I8f3f0c2d516e37145eb298b8f51d92fe9905158a
    Closes-Bug: #2026825
    Signed-off-by: Lucas Alvares Gomes <email address hidden>
    (cherry picked from commit 06dbc5227b9208887bab9bc6623098c80156f36d)

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/+/892775
Committed: https://opendev.org/openstack/neutron/commit/fb5f8f2a2234329774ab50581197ea2b8dad1cfb
Submitter: "Zuul (22348)"
Branch: stable/xena

commit fb5f8f2a2234329774ab50581197ea2b8dad1cfb
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Jul 11 11:29:13 2023 +0100

    [OVN] Disable the mcast_flood_reports option for LSPs

    The mcast_flood_reports option was being enabled on LSPs as a workaround
    for a problem in core OVN. The issue in core OVN has been fixed and this
    workaround is now causing an increase in the number of actions on the
    table 38 of OVN (at the risk of hitting a size limit).

    This patch disables the mcast_flood_reports option on newer versions of
    OVN while keeping the backward compatibility with the old ones.

    Since the fix in core OVN does not expose any information to the CMS to
    tell us that the issue is fixed this patch uses the NB DB schema version
    to determine if this is an old or a new OVN version.

    Conflicts:
      neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py
      neutron/tests/unit/fake_resources.py

    Change-Id: I8f3f0c2d516e37145eb298b8f51d92fe9905158a
    Closes-Bug: #2026825
    Signed-off-by: Lucas Alvares Gomes <email address hidden>
    (cherry picked from commit 06dbc5227b9208887bab9bc6623098c80156f36d)

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/+/892776
Committed: https://opendev.org/openstack/neutron/commit/a29996e2205c3b8c9b272b54d17525b983aefff4
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit a29996e2205c3b8c9b272b54d17525b983aefff4
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Jul 11 11:29:13 2023 +0100

    [OVN] Disable the mcast_flood_reports option for LSPs

    The mcast_flood_reports option was being enabled on LSPs as a workaround
    for a problem in core OVN. The issue in core OVN has been fixed and this
    workaround is now causing an increase in the number of actions on the
    table 38 of OVN (at the risk of hitting a size limit).

    This patch disables the mcast_flood_reports option on newer versions of
    OVN while keeping the backward compatibility with the old ones.

    Since the fix in core OVN does not expose any information to the CMS to
    tell us that the issue is fixed this patch uses the NB DB schema version
    to determine if this is an old or a new OVN version.

    Conflicts:
      neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py
      neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py
      neutron/tests/unit/fake_resources.py

    Note about this backport: I manually added the LSP_TYPE_LOCALPORT
    constant to this patch to simplify the backport

    Change-Id: I8f3f0c2d516e37145eb298b8f51d92fe9905158a
    Closes-Bug: #2026825
    Signed-off-by: Lucas Alvares Gomes <email address hidden>
    (cherry picked from commit 06dbc5227b9208887bab9bc6623098c80156f36d)

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

This issue was fixed in the openstack/neutron 23.0.0.0b3 development milestone.

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

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

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

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

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

This issue was fixed in the openstack/neutron 21.2.0 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.

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.