-
Notifications
You must be signed in to change notification settings - Fork 188
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
Avoid cableEngine cleanup when the gateway pod is restarted #2499
Conversation
In the current code, it was seen that when the submariner-gateway pod gets restarted, there is a brief datapath disruption until the new pod comes online. The cleanup code in submariner-gateway pod is not required as its handled by the route-agent code when there is any transition in the Gateway nodes. Partially fixes: submariner-io#2498 Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
🤖 Created branch: z_pr2499/sridhargaddam/issue-2498 |
@tpantelis @skitt @aswinsuryan @yboaron I verified this PR couple of times in a KIND deployment and captured my observations in the commit message. I haven't got a chance to verify it on an OCP deployment. Do you think we should validate this once (although the fix looks valid and is reasonable) even with OCP before merging. Any thoughts? |
Given that the change was introduced for OVNK, I think we should verify it on OCP with OVNK before merging. |
Ah, I was basing my comment above only on the notification email, which didn’t include the nice table in the description. I see you’ve already tested this with OVNK on kind, so I don’t think testing on OCP is absolutely necessary. |
🤖 Closed branches: [z_pr2499/sridhargaddam/issue-2498] |
…2499-origin-release-0.14
…2499-origin-release-0.14
…2499-origin-release-0.13
Includes the release notes for the following fixes. * Submariner now uses case-insensitive comparison while parsing CNI names. * subctl gather now collects Metrics proxy pod logs in a Globalnet deployment. * Submariner Gateway pod now skips invoking cableEngine cleanup during termination, as this is handled by the Route agent during gateway migration. * Fixed issue which caused the IPsec pluto process to crash when the remote endpoint was unstable. * Submariner now handles out-of-order remote endpoint notifications properly in Globalnet component. Related to: submariner-io/submariner#2486 Related to: submariner-io/subctl#770 Related to: submariner-io/submariner#2499 Related to: submariner-io/submariner#2517 Related to: submariner-io/submariner#2532 Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Includes the release notes for the following fixes. * Submariner now uses case-insensitive comparison while parsing CNI names. * subctl gather now collects Metrics proxy pod logs in a Globalnet deployment. * Submariner Gateway pod now skips invoking cableEngine cleanup during termination, as this is handled by the Route agent during gateway migration. * Fixed issue which caused the IPsec pluto process to crash when the remote endpoint was unstable. * Submariner now handles out-of-order remote endpoint notifications properly in Globalnet component. Related to: submariner-io/submariner#2486 Related to: submariner-io/subctl#770 Related to: submariner-io/submariner#2499 Related to: submariner-io/submariner#2517 Related to: submariner-io/submariner#2532 Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Includes the release notes for the following fixes. * Submariner now uses case-insensitive comparison while parsing CNI names. * subctl gather now collects Metrics proxy pod logs in a Globalnet deployment. * Submariner Gateway pod now skips invoking cableEngine cleanup during termination, as this is handled by the Route agent during gateway migration. * Fixed issue which caused the IPsec pluto process to crash when the remote endpoint was unstable. * Submariner now handles out-of-order remote endpoint notifications properly in Globalnet component. Related to: submariner-io/submariner#2486 Related to: submariner-io/subctl#770 Related to: submariner-io/submariner#2499 Related to: submariner-io/submariner#2517 Related to: submariner-io/submariner#2532 Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Includes the release notes for the following fixes. * Submariner now uses case-insensitive comparison while parsing CNI names. * subctl gather now collects Metrics proxy pod logs in a Globalnet deployment. * Submariner Gateway pod now skips invoking cableEngine cleanup during termination, as this is handled by the Route agent during gateway migration. * Fixed issue which caused the IPsec pluto process to crash when the remote endpoint was unstable. * Submariner now handles out-of-order remote endpoint notifications properly in Globalnet component. Related to: submariner-io/submariner#2486 Related to: submariner-io/subctl#770 Related to: submariner-io/submariner#2499 Related to: submariner-io/submariner#2517 Related to: submariner-io/submariner#2532 Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Includes the release notes for the following fixes. * Submariner now uses case-insensitive comparison while parsing CNI names. * subctl gather now collects Metrics proxy pod logs in a Globalnet deployment. * Submariner Gateway pod now skips invoking cableEngine cleanup during termination, as this is handled by the Route agent during gateway migration. * Fixed issue which caused the IPsec pluto process to crash when the remote endpoint was unstable. * Submariner now handles out-of-order remote endpoint notifications properly in Globalnet component. Related to: submariner-io/submariner#2486 Related to: submariner-io/subctl#770 Related to: submariner-io/submariner#2499 Related to: submariner-io/submariner#2517 Related to: submariner-io/submariner#2532 Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Includes the release notes for the following fixes. * Submariner now uses case-insensitive comparison while parsing CNI names. * subctl gather now collects Metrics proxy pod logs in a Globalnet deployment. * Submariner Gateway pod now skips invoking cableEngine cleanup during termination, as this is handled by the Route agent during gateway migration. * Fixed issue which caused the IPsec pluto process to crash when the remote endpoint was unstable. * Submariner now handles out-of-order remote endpoint notifications properly in Globalnet component. Related to: submariner-io/submariner#2486 Related to: submariner-io/subctl#770 Related to: submariner-io/submariner#2499 Related to: submariner-io/submariner#2517 Related to: submariner-io/submariner#2532 Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Includes the release notes for the following fixes. * Submariner now uses case-insensitive comparison while parsing CNI names. * subctl gather now collects Metrics proxy pod logs in a Globalnet deployment. * Submariner Gateway pod now skips invoking cableEngine cleanup during termination, as this is handled by the Route agent during gateway migration. * Fixed issue which caused the IPsec pluto process to crash when the remote endpoint was unstable. * Submariner now handles out-of-order remote endpoint notifications properly in Globalnet component. Related to: submariner-io/submariner#2486 Related to: submariner-io/subctl#770 Related to: submariner-io/submariner#2499 Related to: submariner-io/submariner#2517 Related to: submariner-io/submariner#2532 Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Includes the release notes for the following fixes. * Submariner now uses case-insensitive comparison while parsing CNI names. * subctl gather now collects Metrics proxy pod logs in a Globalnet deployment. * Submariner Gateway pod now skips invoking cableEngine cleanup during termination, as this is handled by the Route agent during gateway migration. * Fixed issue which caused the IPsec pluto process to crash when the remote endpoint was unstable. * Submariner now handles out-of-order remote endpoint notifications properly in Globalnet component. Related to: submariner-io/submariner#2486 Related to: submariner-io/subctl#770 Related to: submariner-io/submariner#2499 Related to: submariner-io/submariner#2517 Related to: submariner-io/submariner#2532 Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Includes the release notes for the following fixes. * Submariner now uses case-insensitive comparison while parsing CNI names. * subctl gather now collects Metrics proxy pod logs in a Globalnet deployment. * Submariner Gateway pod now skips invoking cableEngine cleanup during termination, as this is handled by the Route agent during gateway migration. * Fixed issue which caused the IPsec pluto process to crash when the remote endpoint was unstable. * Submariner now handles out-of-order remote endpoint notifications properly in Globalnet component. Related to: submariner-io/submariner#2486 Related to: submariner-io/subctl#770 Related to: submariner-io/submariner#2499 Related to: submariner-io/submariner#2517 Related to: submariner-io/submariner#2532 Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Includes the release notes for the following fixes. * Submariner now uses case-insensitive comparison while parsing CNI names. * subctl gather now collects Metrics proxy pod logs in a Globalnet deployment. * Submariner Gateway pod now skips invoking cableEngine cleanup during termination, as this is handled by the Route agent during gateway migration. * Fixed issue which caused the IPsec pluto process to crash when the remote endpoint was unstable. * Submariner now handles out-of-order remote endpoint notifications properly in Globalnet component. Related to: submariner-io/submariner#2486 Related to: submariner-io/subctl#770 Related to: submariner-io/submariner#2499 Related to: submariner-io/submariner#2517 Related to: submariner-io/submariner#2532 Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
In the current code, it was seen that when the submariner-gateway pod gets restarted, there is a brief datapath disruption until the new pod comes online. The cleanup code in submariner-gateway pod is not required as its handled by the route-agent code when there is any transition in the active Gateway of the cluster.
This PR removes the cleanup code from submariner-gateway pod which fixes the issue with VxLAN Cable Driver, but Libreswan Cable Driver seems to have some other issue[s] which needs to be addressed separately.
Partially fixes: #2498
Signed-off-by: Sridhar Gaddam sgaddam@redhat.com