_ovs_supports_mtu_requests will fail if "mtu_request" doesn't exit

Bug #1814577 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-vif
Fix Released
Low
Rodolfo Alonso

Bug Description

When using db_list, if a column requested doesn't exist, the transaction will raise an exception.

For example, [1] will fail with an exception if "mtu_request" field doesn't exist in "Interface" table (OVS < 2.6)

[1] https://github.com/openstack/os-vif/blob/1.14.0/vif_plug_ovs/ovsdb/ovsdb_lib.py#L35

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

Fix proposed to branch: master
Review: https://review.openstack.org/634967

Changed in os-vif:
status: New → In Progress
Changed in os-vif:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-vif (master)

Reviewed: https://review.openstack.org/634967
Committed: https://git.openstack.org/cgit/openstack/os-vif/commit/?id=0c6a21c06406ca942c92e39a4a2b3fab61fefb60
Submitter: Zuul
Branch: master

commit 0c6a21c06406ca942c92e39a4a2b3fab61fefb60
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Feb 21 12:06:39 2019 +0000

    Add function "has_table_columns" to OVSDB implementation API

    Change-Id: Ide8ffcc99a05edf15ce511b1bd4a9b1552dad5d1
    Closes-Bug: #1814577

Changed in os-vif:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-vif 1.15.0

This issue was fixed in the openstack/os-vif 1.15.0 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.