← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2006112] Re: [OVN] Error during execution of "add_vnic_type_and_pb_capabilities_to_lsp"

 

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

commit 76f3b75ad64b3966f51fb1a75b065d70dcc56e3d
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Fri Feb 3 20:19:38 2023 +0100

    [OVN] Skip ports with VNIC type direct and no port binding
    
    In the method ``add_vnic_type_and_pb_capabilities_to_lsp``, if the port
    binding profile is an empty string (or something that cannot be parsed
    by jsonutils), skip this port.
    
    Closes-Bug: #2006112
    Change-Id: Ifa8956bf1c5eb9b6c3214638ac4e5b7f10e4cf74


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2006112

Title:
  [OVN] Error during execution of
  "add_vnic_type_and_pb_capabilities_to_lsp"

Status in neutron:
  Fix Released

Bug description:
  If the port binding profile is an empty string, the call in [1] will
  fail, returning a "JSONDecodeError" error.

  Error: https://paste.opendev.org/show/b6xvSBDMtEZGqKvEEdee/

  This method was introduced in [2]. The fix should be pushed only for
  2023.1 (Antelope).

  [1]https://github.com/openstack/neutron/blob/b260b7cba2d03ee426506fc89dd6a58a9d1a8ffa/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py#L941
  [2]https://review.opendev.org/c/openstack/neutron/+/867359

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2006112/+subscriptions



References