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] Some minor fixes for NSE Unregister scenario #1568

Merged

Conversation

NikitaSkrynnik
Copy link
Contributor

Description

Some fixes to let NSE Unregister itself without issues

Issue link

networkservicemesh/integration-k8s-kind#936

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 functionality
  • Documentation
  • Refactoring
  • CI

…ient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@1979cc1). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1568   +/-   ##
=======================================
  Coverage        ?   67.22%           
=======================================
  Files           ?      260           
  Lines           ?    12340           
  Branches        ?        0           
=======================================
  Hits            ?     8295           
  Misses          ?     3522           
  Partials        ?      523           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@NikitaSkrynnik NikitaSkrynnik marked this pull request as ready for review December 21, 2023 10:56
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
@denis-tingaikin denis-tingaikin merged commit 565471f into networkservicemesh:main Dec 21, 2023
17 checks passed
nsmbot pushed a commit to networkservicemesh/cmd-csi-driver that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-cluster-info-k8s that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-map-ip-k8s that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-ipam-vl3 that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-kernel that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-admission-webhook-k8s that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-remote-vlan that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr-proxy that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-memory that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-k8s that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsc-init that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-proxy-dns that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vfio that referenced this pull request Dec 21, 2023
…k@main

PR link: networkservicemesh/sdk#1568

Commit: 565471f
Author: Nikita Skrynnik
Date: 2023-12-21 23:53:18 +1100
Message:
  - [qfix] Some minor fixes for NSE Unregister scenario (#1568)
* [qfix] Pass grpc options to the next chain element in clientConnNSEClient

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* do not delete nse from localbypass.nseURLs if unregister fails

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

---------

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
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.

3 participants