Error during execution of "DBInconsistenciesPeriodics.update_port_virtual_type"

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

Bug Description

During the OVN database inconsistencies check, the method "update_port_virtual_type" retrieves the Neutron DB port depending on the OVN LSP. If the Neutron DB port does not exist, this method should catch this exception and continue (there are other methods that will clean this OVN DB register).

Example of error: https://paste.opendev.org/show/bqkigBOhtOxnxsSgSIh4/

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
importance: Undecided → Medium
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/+/867531

Changed in neutron:
status: New → In Progress
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/+/868077

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

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

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

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

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

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

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

commit dfe69472a82d7eee96299122c8a9520aeed73ddd
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Dec 8 06:30:14 2022 +0100

    Check if port exists in ``update_port_virtual_type`` method

    During the OVN DB inconsistency check, a OVN LSP could not be present
    in the Neutron DB. In this case, continue processing other LSPs and
    let other ``DBInconsistenciesPeriodics`` methods to resolve this
    issue.

    Closes-Bug: #1999517
    Change-Id: Ifb8bdccf6819f7f8af1abd3b82ccb1cd2e4c2fb8

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

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

commit deebc7879a6f1007a264696890d4f87221a99c5d
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Dec 8 06:30:14 2022 +0100

    Check if port exists in ``update_port_virtual_type`` method

    During the OVN DB inconsistency check, a OVN LSP could not be present
    in the Neutron DB. In this case, continue processing other LSPs and
    let other ``DBInconsistenciesPeriodics`` methods to resolve this
    issue.

    Closes-Bug: #1999517
    Change-Id: Ifb8bdccf6819f7f8af1abd3b82ccb1cd2e4c2fb8
    (cherry picked from commit dfe69472a82d7eee96299122c8a9520aeed73ddd)

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

commit 951e2c74ae0baff84e98b5580071d09db95f00d5
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Dec 8 06:30:14 2022 +0100

    Check if port exists in ``update_port_virtual_type`` method

    During the OVN DB inconsistency check, a OVN LSP could not be present
    in the Neutron DB. In this case, continue processing other LSPs and
    let other ``DBInconsistenciesPeriodics`` methods to resolve this
    issue.

    Closes-Bug: #1999517

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

    Change-Id: Ifb8bdccf6819f7f8af1abd3b82ccb1cd2e4c2fb8
    (cherry picked from commit dfe69472a82d7eee96299122c8a9520aeed73ddd)

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

commit 037ba074f01e317a43d0387684afd528453126b5
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Dec 8 06:30:14 2022 +0100

    Check if port exists in ``update_port_virtual_type`` method

    During the OVN DB inconsistency check, a OVN LSP could not be present
    in the Neutron DB. In this case, continue processing other LSPs and
    let other ``DBInconsistenciesPeriodics`` methods to resolve this
    issue.

    Closes-Bug: #1999517

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

    Change-Id: Ifb8bdccf6819f7f8af1abd3b82ccb1cd2e4c2fb8
    (cherry picked from commit dfe69472a82d7eee96299122c8a9520aeed73ddd)
    (cherry picked from commit 951e2c74ae0baff84e98b5580071d09db95f00d5)

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

commit 4331c0693fbca325d97c8d6bcbd775c4f25f7ee0
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Dec 8 06:30:14 2022 +0100

    Check if port exists in ``update_port_virtual_type`` method

    During the OVN DB inconsistency check, a OVN LSP could not be present
    in the Neutron DB. In this case, continue processing other LSPs and
    let other ``DBInconsistenciesPeriodics`` methods to resolve this
    issue.

    Closes-Bug: #1999517

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

    Change-Id: Ifb8bdccf6819f7f8af1abd3b82ccb1cd2e4c2fb8
    (cherry picked from commit dfe69472a82d7eee96299122c8a9520aeed73ddd)
    (cherry picked from commit 951e2c74ae0baff84e98b5580071d09db95f00d5)

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

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

commit d0b8c5f332ec5a08679d4270ea6404d7651c41c2
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Dec 8 06:30:14 2022 +0100

    Check if port exists in ``update_port_virtual_type`` method

    During the OVN DB inconsistency check, a OVN LSP could not be present
    in the Neutron DB. In this case, continue processing other LSPs and
    let other ``DBInconsistenciesPeriodics`` methods to resolve this
    issue.

    Closes-Bug: #1999517

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

    Change-Id: Ifb8bdccf6819f7f8af1abd3b82ccb1cd2e4c2fb8
    (cherry picked from commit dfe69472a82d7eee96299122c8a9520aeed73ddd)
    (cherry picked from commit 951e2c74ae0baff84e98b5580071d09db95f00d5)

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

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

commit 0a1219f6486586247f10629e086e5c98eadbb7cf
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Dec 8 06:30:14 2022 +0100

    Check if port exists in ``update_port_virtual_type`` method

    During the OVN DB inconsistency check, a OVN LSP could not be present
    in the Neutron DB. In this case, continue processing other LSPs and
    let other ``DBInconsistenciesPeriodics`` methods to resolve this
    issue.

    Closes-Bug: #1999517

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

    Change-Id: Ifb8bdccf6819f7f8af1abd3b82ccb1cd2e4c2fb8
    (cherry picked from commit dfe69472a82d7eee96299122c8a9520aeed73ddd)
    (cherry picked from commit 951e2c74ae0baff84e98b5580071d09db95f00d5)

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

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

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

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

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

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

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

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

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

This issue was fixed in the openstack/neutron ussuri-eol release.

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

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

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.