Nordix / Meridio

Facilitator of attraction and distribution of external traffic within Kubernetes via secondary networks
https://meridio.nordix.org
Apache License 2.0
46 stars 9 forks source link

Hanging NSM interfaces inside target pods #344

Open KatrinSalt opened 1 year ago

KatrinSalt commented 1 year ago

The following issue has been noticed while running multi-stream test:

Periodically, nsm- interfaces are not wiped out from the list of interfaces after the target pod is disconnected from the stream-n.

The multi-stream test goes as follows:

  1. Deploy conduit-b/stream-b/flow-b
  2. Connect each target pod to stream-b and afterwards test traffic through conduit-a/stream-a
  3. Install stream-a-2 in conduit-a
  4. Connect each target pod to stream-a-2 and afterwards test traffic through conduit-a/stream-a
  5. Close connection to stream-b and stream-a-2
  6. Uninstall stream-a-2 and conduit-b/stream-b/flow-b

During some test runs, it was noticed that after even the last step (6th), the nsm- interfaces were still present in some target pods.

An example of the system during the test run is provided: the nsm-1 interface is stuck in the target pod -ctj6w

Image

LionelJouin commented 1 year ago

It might be the same problem as I have when I try to run the new-attractor-nsm-vlan e2e test: https://github.com/Nordix/Meridio/pull/343

LionelJouin commented 1 year ago

Related to: https://github.com/networkservicemesh/sdk/issues/1434

LionelJouin commented 1 year ago

https://github.com/networkservicemesh/deployments-k8s/issues/8882