-
Notifications
You must be signed in to change notification settings - Fork 43
increase wait for ocs #780
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
Conversation
📝 WalkthroughWalkthroughIn roles/odf_setup/tasks/openshift-storage-operator.yml, the retries count for the “Get OCS health status” task is increased from 60 to 90. The delay and until conditions are unchanged. No other modifications are made. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. ✨ Finishing touches🧪 Generate unit tests
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 Pre-merge checks✅ Passed checks (3 passed)
|
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 53s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (3)
roles/odf_setup/tasks/openshift-storage-operator.yml (3)
43-45: 90 retries ⇒ 30-minute max wait; confirm CI/operator timeouts and consider making it tunable.At delay 20s, this raises worst-case wait to ~30m. Verify this won’t trip CI job limits or operator-level timeouts. Suggest parameterizing to avoid future code churn.
- retries: 90 - delay: 20 + retries: "{{ ocs_health_retries | default(90) }}" + delay: "{{ ocs_health_delay | default(20) }}"
46-48: Simplify the state check for readability (and avoid quoting the whole expression).Current form is hard to parse. This is equivalent and clearer.
- - ("'Connected' in ocs_health_status.resources[0].status.state") or ("'Ready' in ocs_health_status.resources[0].status.state") + - ocs_health_status.resources[0].status.state in ['Connected', 'Ready']
84-85: Task name says “20 mins” but logic waits up to ~25 mins.Either update the label or adjust retries/delay to truly cap at 20 minutes.
Example label tweak:
- name: Wait up to ~25 mins Storage Cluster to be ready
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
roles/odf_setup/tasks/openshift-storage-operator.yml(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Ansible-lint Check
- GitHub Check: Sanity Check (stable-2.9)
- GitHub Check: Sanity Check (stable-2.18)
|
from change #780: |
rajchiluveru
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
|
recheck |
|
from change #780:
|
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 53s |
SUMMARY
Seen this taking more time to consolidate
ISSUE TYPE
Tests
Test-Hint: no-check