[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>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
|
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 |
Deploy was gating on the provision server
Deploymentreachingcondition=Available, then immediately readingstatus.localImageUrl/status.localImageChecksumUrlfrom theOpenStackProvisionServerCR.This results in race and job failures intermittently.