OCPBUGS-86429: Unpin libreswan and add 5.x compat for IPsec scaling fix - #6310
OCPBUGS-86429: Unpin libreswan and add 5.x compat for IPsec scaling fix#6310anuragthehatter wants to merge 1 commit into
Conversation
Backport of two changes from main/4.19 to support libreswan 5.x: 1. Use auto=start only for IPsec out connections (cherry-pick of openshift#5035). Avoids cross-stream issue with Libreswan 5.2 where applying auto=start to in connections causes failures. In connections use default auto=route. 2. Update showstates regex from STATE_V2_ESTABLISHED_CHILD_SA to ESTABLISHED_CHILD_SA (cherry-pick of openshift#4959). Libreswan 5.2 changed the state name format. The shorter pattern is backward compatible with 4.x.
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@anuragthehatter: This pull request references Jira Issue OCPBUGS-55809, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. This pull request references CORENET-5524 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.z" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@anuragthehatter: This pull request references Jira Issue OCPBUGS-55809, which is invalid:
Comment This pull request references CORENET-5524 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.z" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: anuragthehatter The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@anuragthehatter: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@anuragthehatter: No Jira issue is referenced in the title of this pull request. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@anuragthehatter: This pull request references Jira Issue OCPBUGS-86429, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Summary
Backport libreswan 5.x compatibility changes to 4.18 to support unpinning libreswan from 4.6 to 5.x, mitigating IPsec scaling issues at 75+ node clusters.
Combines two changes already merged on main/4.19:
ipsec showstatesregex fromSTATE_V2_ESTABLISHED_CHILD_SAtoESTABLISHED_CHILD_SA— libreswan 5.2 changed the state name format, shorter pattern is backward compatible with 4.xauto=startonly for IPsec out connections (-out-1suffix) to avoid cross-stream issue with libreswan 5.2. In connections use defaultauto=routeBackground
At 75+ node IPsec mesh scale, libreswan 4.6 pluto crashes with a segfault in
set_larval_v2_transition()during concurrent Child SA negotiation, causing permanent tunnel failures. Libreswan 5.x fixes this. This PR is part of a set that unpins libreswan in 4.18.z:_stackmanagerfor libreswan 5.3+