[edpm_deploy_baremetal] Wait for provision server CR Ready - #4121
Conversation
Deploy was gating on the provision server `Deployment` reaching `condition=Available`, then immediately reading `status.localImageUrl` / `status.localImageChecksumUrl` from the `OpenStackProvisionServer` CR. This results in race and job failures intermittently. Signed-off-by: rabi <ramishra@redhat.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe bare-metal deployment readiness check now waits for the ChangesProvision server readiness
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This change waits for the provision server custom resource to become ready before reading its status values; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 04m 34s |
|
recheck |
|
Folks can we merge this to avoid intermittent failures like https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/logs//eb0/rdoproject.org/eb0b127aace8487b81f25d2c577b642b/ ? |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abays, nemarjan 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 |
70128ec
into
openstack-k8s-operators:main
Deploy was gating on the provision server
Deploymentreachingcondition=Available, then immediately readingstatus.localImageUrl/status.localImageChecksumUrlfrom theOpenStackProvisionServerCR.This results in race and job failures intermittently.