L3: external router port's loopback/BVI interface gets deleted causing subsequent ip_route_add_del to fail with retcode -54

Bug #1899773 reported by Onong Tayeng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-vpp
New
High
Onong Tayeng

Bug Description

The delete_router_interface_on_host() function deletes the external network's loopback/BVI interface when there are existing references to it from other tenant routers. This causes the subsequent invocations of ip_route_add_del to fail with retcode -54.

2020-10-10 14:43:05.483 23003 CRITICAL networking_vpp.agent.server [-] Failed VPP call to ip_route_add_del(, {'is_add': 1, 'is_multipath': 0, 'route': {'table_id': 1, 'prefix': IPv4Network('0.0.0.0/0'), 'n_paths': 1, 'paths': [{'table_id': 1, 'n_labels': 0, 'label_stack': [{'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}, {'is_uniform': 0, 'label': 0, 'ttl': 0, 'exp': 0}], 'type': 0, 'proto': 0, 'nh': {'address': {'ip4': b'\n\xc3\x83^'}}, 'sw_if_index': 6}]}}): retval is -54

Onong Tayeng (onong)
Changed in networking-vpp:
assignee: nobody → Onong Tayeng (onong)
importance: Undecided → High
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.