Comment 3 for bug 2009804

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

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

commit bffa642b351f7fc3bb5cfb7a1bb2a3499c4b4506
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 8 09:08:33 2023 +0100

    [OVN] Method ``get_port_qos`` should always return 2 values

    The method ``neutron.agent.ovn.agent.ovsdb.get_port_qos`` should
    always return 2 values, even when the LSP is not present. This
    patch:
    * fixes the output, returning 2 values
    * catches the exception raised when the LSP is not present in the
      OVN NB database
    * returns the default max_kbps and min_kbps values (0, 0).

    Closes-Bug: #2009804
    Change-Id: I03ea78fcc5825e35c07dda1aa790769aa918dd8a