SPLAT-2830: Add CI changes and periodic PROW changes for CI-Cluster C… - #83159
Conversation
…apacity monitoring
|
@nischawl: This pull request references SPLAT-2830 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 spike to target the "5.0.0" 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. |
|
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: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughUpdates the cluster monitor configuration. It hardens Nutanix credential handling, adds resource settings to the VM orphan monitor, and schedules a six-hourly ChangesCluster monitoring
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error, 1 inconclusive)
✅ Passed checks (13 passed)
✨ 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 |
|
/pj-rehearse periodic-ci-openshift-splat-team-ci-cluster-monitor-main-periodics-capacity-monitor |
|
@nischawl: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@ci-operator/config/openshift-splat-team/ci-cluster-monitor/openshift-splat-team-ci-cluster-monitor-main__periodics.yaml`:
- Around line 79-85: Update the report_template in reporter_config to use
failure-neutral wording for all failure and error states, such as identifying
the Nutanix capacity-monitor job failure and retaining the status URL link. Do
not claim that a capacity threshold was exceeded unless threshold-specific
reporting is separated from execution failures.
- Around line 93-95: Update the credential setup commands in the Nutanix
authentication block to set umask 077 before creating /tmp/nutanix-auth,
ensuring the directory and username/password files are owner-only. Add cleanup
on shell exit that removes the temporary credential directory, while preserving
the existing credential contents and paths.
- Around line 90-101: Add errexit, nounset, and pipefail to the shell options at
the start of the commands script, before the existing set +x in the CI monitor
command block. Preserve the credential setup, build, and capacity-monitor
invocation unchanged.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Pro Plus
Run ID: 8b04fff8-defb-4b44-8f8a-ee541cc03d13
⛔ Files ignored due to path filters (1)
ci-operator/jobs/openshift-splat-team/ci-cluster-monitor/openshift-splat-team-ci-cluster-monitor-main-periodics.yamlis excluded by!ci-operator/jobs/**
📒 Files selected for processing (1)
ci-operator/config/openshift-splat-team/ci-cluster-monitor/openshift-splat-team-ci-cluster-monitor-main__periodics.yaml
|
/pj-rehearse periodic-ci-openshift-splat-team-ci-cluster-monitor-main-periodics-capacity-monitor |
|
@nischawl: 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: |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcpowermac, nischawl 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 ack |
|
@nischawl: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@nischawl: 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. |
…apacity monitoring
Summary by CodeRabbit
capacity-monitorjob for the OpenShift Splat CI cluster.build01with Nutanix credentials and the configured monitoring endpoint.vm-orphan-monitorwith strict shell handling, restricted credential permissions, cleanup on exit, and a 30-second grace period.