VRF table needs to be created explicitly in VPP 18.07

Bug #1784691 reported by Onong Tayeng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-vpp
Fix Released
Undecided
Onong Tayeng

Bug Description

Prior to VPP 18.07, setting an interface's VRF table using sw_interface_set_table API has the side effect of creating the table if it did not exist. But it is no longer so in 18.07. ML2 agent dies with the following:

2018-07-31 15:07:28.607 980073 DEBUG networking_vpp.agent.server [-] VPP: sw_interface_set_table returned sw_interface_set_table_reply(_0=89, context=44, retval=-3) call_vpp /usr/lib/python2.7/site-packages/networking_vpp/agent/vpp.py:268
2018-07-31 15:07:28.608 980073 CRITICAL networking_vpp.agent.server [-] Failed VPP call to sw_interface_set_table(, {'vrf_id': 2, 'sw_if_index': 6, 'is_ipv6': False}): retval is -3
2018-07-31 15:07:28.608 980073 DEBUG vpp_papi [-] Cleaning up VPP on exit vpp_atexit /usr/lib/python2.7/site-packages/vpp_papi/vpp_papi.py:67

Onong Tayeng (onong)
Changed in networking-vpp:
assignee: nobody → Onong Tayeng (onong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-vpp (master)

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

Changed in networking-vpp:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vpp (master)

Reviewed: https://review.openstack.org/587574
Committed: https://git.openstack.org/cgit/openstack/networking-vpp/commit/?id=7387f161a83db29e2262016065605e8b6961de56
Submitter: Zuul
Branch: master

commit 7387f161a83db29e2262016065605e8b6961de56
Author: Onong Tayeng <email address hidden>
Date: Tue Jul 31 23:35:02 2018 +0530

    Create VRF table explicitly

    Prior to VPP 18.07, setting an interface's VRF table using
    sw_interface_set_table API has the side effect of creating the table
    if it did not exist. But it is no longer so in 18.07. The VRF table
    needs to be created explicitly otherwise ML2 agent dies.

    Change-Id: I051213d9b733d7959233328c60303739ab9c5aa3
    Closes-Bug: #1784691

Changed in networking-vpp:
status: In Progress → Fix Released
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.