-
Notifications
You must be signed in to change notification settings - Fork 36
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
netsvcmonitor chain element: nse doesn't match with networkservice #1521
Comments
We also can't exclude that both NSE and NS actually don't match, and I think we should make sure that they're matching. So lets start with checking that. For example, we could print nse/ns here: logger.Warnf("nse %v doesn't match with networkservice: %v", nses[0], netsvc) Alternatively, you could simply retrieve this information from crd. kubectl get nses -A
kubectl get netsvc -A Also, any senseful information could be replaced with something like 'NSE{ Name: "A", Labels "1, 2"} ', 'NS{Name: "B"} and so on to avoid NDA problems. |
Yes, I printed the NSE and NS name at the place you mentioned, and they does not correspond. |
Do you have an example? As I can see it's
Actual: Response is {Name="ns-12" ...} |
Right, this is what happens |
|
Cool! Thanks! I found the root cause - networkservicemesh/api#51 Reproduced & fixed: #1523 Image for testing: @LionelJouin if you have a chance could you please check |
Yes, it works fine. Thank you very much |
Seems like done for now. Closing. Feel free to reopen if we missed something ;) |
Expected Behavior
/
Current Behavior
The NSC manages to connect the the NSE, but the interfaces are constantly recreated which adds a lot of traffic outage/disturbance.
Disabling the netsvcmonitor chain element feature from this PR fixes the issue:
#1510
Failure Information (for bugs)
I get the error message coming from here: https://github.com/networkservicemesh/sdk/blob/v1.11.0-rc.1/pkg/networkservice/common/netsvcmonitor/server.go#L112
I believe it might be related to the Find function since the network service here and here are not corresponding for some reason.
Steps to Reproduce
/
Context
Tested with NSM v1.11.0-rc.1 and custom NSE and NSC.
I didn't had any problem with NSM 1.10.0 and NSE/NSC compiled with SDK v1.11.0-rc.1
Failure Logs
The text was updated successfully, but these errors were encountered: