vxlan-gpe: agent crashes upon restart due to lisp_add_del_local_eid API call failure

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

Bug Description

When VPP already contains a local eid and ML2 agent is restarted, it crashes:

2020-08-24 08:18:18.309 10081 CRITICAL networking_vpp.agent.server [-] Failed VPP call to lisp_add_del_local_eid(, {'is_add': True, 'eid': {'type': 1, 'address': {'mac': b'\xfa\x16>\xd76\xfe'}}, 'locator_set_name': 'net-vpp-gpe-lset-1', 'vni': 999}): retval is -81

Onong Tayeng (onong)
Changed in networking-vpp:
assignee: nobody → Onong Tayeng (onong)
importance: Undecided → High
milestone: none → 20.09
Onong Tayeng (onong)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-vpp (master)

Fix proposed to branch: master
Review: https://review.opendev.org/747758

Changed in networking-vpp:
status: New → In Progress
Onong Tayeng (onong)
summary: - ML2 agent crashes upon restart due to lisp_add_del_local_eid API call
- failure
+ vxlan-gpe: agent crashes upon restart due to lisp_add_del_local_eid API
+ call failure
Onong Tayeng (onong)
Changed in networking-vpp:
importance: High → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vpp (master)

Reviewed: https://review.opendev.org/747758
Committed: https://git.openstack.org/cgit/x/networking-vpp/commit/?id=04e56086ff159a8236a584aa85d8f721f5bbfe31
Submitter: Zuul
Branch: master

commit 04e56086ff159a8236a584aa85d8f721f5bbfe31
Author: Onong Tayeng <email address hidden>
Date: Mon Aug 24 21:10:44 2020 +0530

    vxlan-gpe: fix agent crash due to lisp_add_del_local_eid API call failure

    Before trying to add a new lisp local eid in VPP, ML2 agent
    checks against the in-memory map of local eids. But when the agent
    is restarted, it builds the map of local eids by querying VPP. This
    results in the in-memory map to contain MACAddress object from PAPI
    instead of a string. This causes the check to fail and the attempt
    to create the local eid fails causing the agent to crash.

    Change-Id: Ib342260407100f6aa3e53a531f2130be9d4a9d83
    Closes-Bug: #1892749

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.