Closed Bolodya1997 closed 7 months ago
It is actually related to the https://github.com/networkservicemesh/sdk/issues/1020, but probably can be solved in some other way from the tap chain element side.
@Bolodya1997 is this resolved by https://github.com/networkservicemesh/sdk/pull/1014 ?
@edwarnicke It looks like there is the following issue:
id-1
- Forwarder creates a tap interface with id-client
name and responses with it.id-2
- Forwarder tries to create a tap interface with id-client
name and fails because there is already an interface with such name.So networkservicemesh/sdk#1014 doesn't solve this issue.
Actually we have here a problem that both id-1
and id-2
are requesting for the same tap interface. Normally this shouldn't happen, because:
id-1
.id-1
is getting Closed during the healing, so id-2
is OK.id-1
.So the problem here is the following - even if we reuse existing id-client
interface for id-2
, timeout will happen for id-1
and it would delete this interface. So we either need to somehow close id-1
without waiting for the timeout, or create some refcount(?) for the tap interface.
Thougths?
We don't see this problem anymore
Expected Behavior
Tap chain element shouldn't fail if kernel interfaces already exist.
Current Behavior
Tap chain element starts failing if it has already created kernel interfaces but Request comes again for the same NSMgr with another Connection.Id.
Steps to Reproduce
VPPApiError: netlink error (-145)
Failure Logs
NSMgr logs VPP Forwarder logs