Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[qfix] Fix client chain order #1065

Merged

Conversation

Bolodya1997
Copy link

@Bolodya1997 Bolodya1997 commented Aug 13, 2021

Description

In heal we are taking the right most connection and trying to use it for the left most chain element, so how it looks in Forwarder chain:

... -> mechanisms server -> ... -> mechanism translation client -> ... -> heal client -> gRPC client

Until #1039 it was slightly different:

... -> mechanisms server -> ... -> heal client -> mechanism translation client -> ... -> gRPC client
  1. heal tries to close server chain using client mechanism
  2. instead of closing kerneltap and cleaning kernel interface, it closes vxlan and just does nothing
  3. upcoming Request fails when trying to create a new kernel interface with already existing name

Doesn't look like we can easily solve this issue without a begin chain element, so we probably can revert some last changes and wait for the begin to be created.

How Has This Been Tested?

  • Added unit testing to cover
  • Tested manually
  • Tested by integration testing
  • Have not tested

Types of changes

  • Bug fix
  • New functionallity
  • Documentation
  • Refactoring
  • CI

Signed-off-by: Vladimir Popov <[email protected]>
@denis-tingaikin denis-tingaikin merged commit 11fd14b into networkservicemesh:main Aug 16, 2021
nsmbot pushed a commit to networkservicemesh/cmd-nsc-init that referenced this pull request Aug 16, 2021
…k@main

PR link: networkservicemesh/sdk#1065

Commit: 11fd14b
Author: Vladimir Popov
Date: 2021-08-16 13:00:13 +0700
Message:
  - Fix client chain order (#1065)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nse-icmp-responder that referenced this pull request Aug 16, 2021
…k@main

PR link: networkservicemesh/sdk#1065

Commit: 11fd14b
Author: Vladimir Popov
Date: 2021-08-16 13:00:13 +0700
Message:
  - Fix client chain order (#1065)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vfio that referenced this pull request Aug 16, 2021
…k@main

PR link: networkservicemesh/sdk#1065

Commit: 11fd14b
Author: Vladimir Popov
Date: 2021-08-16 13:00:13 +0700
Message:
  - Fix client chain order (#1065)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/sdk-kernel that referenced this pull request Aug 16, 2021
…k@main

PR link: networkservicemesh/sdk#1065

Commit: 11fd14b
Author: Vladimir Popov
Date: 2021-08-16 13:00:13 +0700
Message:
  - Fix client chain order (#1065)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/sdk-k8s that referenced this pull request Aug 16, 2021
…k@main

PR link: networkservicemesh/sdk#1065

Commit: 11fd14b
Author: Vladimir Popov
Date: 2021-08-16 13:00:13 +0700
Message:
  - Fix client chain order (#1065)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr that referenced this pull request Aug 16, 2021
…k@main

PR link: networkservicemesh/sdk#1065

Commit: 11fd14b
Author: Vladimir Popov
Date: 2021-08-16 13:00:13 +0700
Message:
  - Fix client chain order (#1065)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-registry-memory that referenced this pull request Aug 16, 2021
…k@main

PR link: networkservicemesh/sdk#1065

Commit: 11fd14b
Author: Vladimir Popov
Date: 2021-08-16 13:00:13 +0700
Message:
  - Fix client chain order (#1065)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr-proxy that referenced this pull request Aug 16, 2021
…k@main

PR link: networkservicemesh/sdk#1065

Commit: 11fd14b
Author: Vladimir Popov
Date: 2021-08-16 13:00:13 +0700
Message:
  - Fix client chain order (#1065)
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-registry-proxy-dns that referenced this pull request Aug 16, 2021
…k@main

PR link: networkservicemesh/sdk#1065

Commit: 11fd14b
Author: Vladimir Popov
Date: 2021-08-16 13:00:13 +0700
Message:
  - Fix client chain order (#1065)
Signed-off-by: NSMBot <[email protected]>
@edwarnicke
Copy link
Member

Good catch :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants