Add SBR disconnected periodic job config (ODF/NFS)#80427
Conversation
Adds a weekly periodic CI job that runs SBR (Storage-Based Remediation) end-to-end tests in a disconnected AWS environment. New step: medik8s-sbr-nfs-bastion - Configures an NFS server on the disconnected bastion host - Creates a StorageClass and PersistentVolume backed by the bastion NFS export - Uses soft mount (soft,timeo=50) so storage loss surfaces as I/O errors rather than indefinite kernel retries, which is required for SBR fault detection to trigger correctly New config: medik8s-system-tests-main__4.22-disconnected.yaml - Workflow: openshift-e2e-aws-disconnected (disconnected VPC + bastion mirror) - Cluster profile: medik8s-aws, m5.xlarge (no ODF overhead) - Cron: Sunday 08:00 UTC, offset from connected job at 06:00 - Prerequisite: medik8s-disconnected-catalogsource (RHWA-840, merged PR openshift#79687) RHWA-1039
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
WalkthroughAdds a medik8s SBR NFS-bastion step (ref, metadata, OWNERS), a Bash provisioning script to configure NFS on a disconnected bastion and create StorageClass/PersistentVolume, and registers a weekly 4.22-disconnected system test that uses the step. ChangesNFS Bastion Storage Infrastructure for SBR
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Suggested labels
🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maximunited The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/pj-rehearse periodic-ci-medik8s-system-tests-main-4.22-disconnected-e2e-sbr-weekly-aws-disconnected-nfs |
|
@maximunited: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse periodic-ci-medik8s-system-tests-main-4.22-disconnected-e2e-sbr-weekly-aws-disconnected-nfs |
|
@maximunited: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@maximunited: The following test 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. |
Summary
medik8s-sbr-nfs-bastionstep: configures an NFS server on the disconnected bastion host and creates aStorageClass/PersistentVolumein the cluster. Uses soft NFS mount (soft,timeo=50) so storage loss surfaces as I/O errors rather than indefinite kernel retries — required for SBR fault detection to trigger correctly.medik8s-system-tests-main__4.22-disconnected.yamlwith one weekly periodic job (e2e-sbr-weekly-aws-disconnected-nfs) usingopenshift-e2e-aws-disconnectedworkflow +medik8s-disconnected-catalogsourcestep (merged in Add medik8s disconnected CatalogSource step for air-gapped operator testing #79687).Jira: https://issues.redhat.com/browse/RHWA-1039
Test plan
make validate-step-registrypasses with new stepmake jobsgenerates the periodic job entry inmedik8s-system-tests-main-periodics.yaml/rehearsethe generated periodic job once CI is greenSummary by CodeRabbit
This PR updates the medik8s CI configuration to add a disconnected NFS-backed periodic job and a reusable CI step to provision NFS on a bastion for SBR (Storage-Based Remediation) tests.
What changed in practical terms
Adds a new weekly periodic test job e2e-sbr-weekly-aws-disconnected-nfs (cron: 0 8 * * 0 — Sundays 08:00 UTC) in ci-operator/config/medik8s/system-tests/medik8s-system-tests-main__4.22-disconnected.yaml. The job:
Adds a new reusable step medik8s-sbr-nfs-bastion (ci-operator/step-registry/medik8s/sbr/nfs-bastion/*):
Registers the step in the step registry (medik8s-sbr-nfs-bastion-ref.yaml) with 100m/200Mi requests and documentation; includes metadata JSON and OWNERS entries for review/approval.
Practical impact
Files of interest (added/updated)
Test checklist (author-provided)