-
Notifications
You must be signed in to change notification settings - Fork 15
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
Data path healing should be disabled #447
Data path healing should be disabled #447
Conversation
@ljkiraly I'm completely fine with an option to disable DataPath healing check... I'm curious though why :) I suspect there's an interesting issue/usecase there :) |
4ac756f
to
a5f42ad
Compare
@edwarnicke The new data path healing in NSC check the connectivity to NSE by ping. In case of nse-remote-vlan the NSE doesn't play any role in data path. The check always fails and the connection is reset by healing (by "Reconnect with reselect") in NSC We considered the following solutions for this issue with nse-remote-vlan:
1/ Healing should be disabled in NSC by environment parameter. We prefer to monitor this connection by BGP and/or BFD, so the first option was chosen. The first implementation proposal seemed cleaner compared to 2nd. |
@ljkiraly Should we consider about disabling that in something where in sdk-kernel https://github.com/networkservicemesh/sdk-kernel/blob/main/pkg/kernel/tools/heal/liveness_check.go? |
@denis-tingaikin @edwarnicke I also tried to eliminate the dst from IP context, but seems to me that this division by zero causes problems: https://github.com/networkservicemesh/sdk-kernel/blob/33c5467b712900bd71fb99c022149383ce04539e/pkg/kernel/tools/heal/liveness_check.go#L50 |
@ljkiraly I think we can add something like return true immediately if no addresses in the context |
@denis-tingaikin Based on your suggestion I added two more PR regarding to data path monitoring towards nse-remote-vlan: These above are specific in relation to nse-remote-vlan. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that makes sense. Added few comments.
487e8af
to
93377a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
@edwarnicke Can we merge this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found a problem. Control plane heal should be enabled in all cases.
@denis-tingaikin Thanks for the suggestions. I updated the branch. |
Related issue: cmd-nsc-446 Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
93377a5
to
e707205
Compare
…d-nsc@main PR link: networkservicemesh/cmd-nsc#447 Commit: 16acded Author: Laszlo Kiraly Date: 2022-06-02 13:33:34 +0200 Message: - Data path healing should be disabled (#447) Related issue: cmd-nsc-446 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Related issue: #446
Signed-off-by: Laszlo Kiraly laszlo.kiraly@est.tech