Split wait-for-ipsec-connect into two services to avoid ipsec restart - #6440
Split wait-for-ipsec-connect into two services to avoid ipsec restart#6440pperiyasamy wants to merge 1 commit into
Conversation
Move the openshift.conf config update (adding auto=start to outbound connections) into a new configure-ipsec-connect.service that runs before ipsec.service. This eliminates the unnecessary ipsec restart that was previously done in wait-for-ipsec-connect.service after ipsec had already started. Signed-off-by: Periyasamy Palanisamy <pepalani@redhat.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughThe change adds a startup script and systemd service for OVN IPsec connections. The script conditionally adds ChangesIPsec startup configuration
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This change separates IPsec configuration from connection waiting so the service no longer needs to restart IPsec after startup; no actionable merge-blocking risk remains after normal checks and review. Sequence Diagram(s)sequenceDiagram
participant systemd
participant configure-ipsec-connect.service
participant configure-ipsec-connect.sh
participant ipsec.conf
participant ipsec.service
systemd->>configure-ipsec-connect.service: Start before ipsec.service
configure-ipsec-connect.service->>configure-ipsec-connect.sh: Run configuration script
configure-ipsec-connect.sh->>ipsec.conf: Check configuration ownership
configure-ipsec-connect.sh->>ipsec.conf: Add auto=start when required
systemd->>ipsec.service: Start after configuration completes
🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: pperiyasamy 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 |
|
/test ? |
|
/test e2e-aws-ovn-upgrade-ipsec |
|
/pipeline required |
|
Scheduling tests matching the |
|
/test e2e-aws-ovn-upgrade-ipsec |
|
@pperiyasamy: The following tests failed, say
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. |
Move the openshift.conf config update (adding auto=start to outbound connections) into a new configure-ipsec-connect.service that runs before ipsec.service. This eliminates the unnecessary ipsec restart that was previously done in wait-for-ipsec-connect.service after ipsec had already started.
Summary by CodeRabbit
New Features
Bug Fixes