Skip to content

vsphere - Clear task ID cache on PatchMachine failure#1465

Draft
jcpowermac wants to merge 3 commits intoopenshift:mainfrom
jcpowermac:vsphere-vm-not-poweredon
Draft

vsphere - Clear task ID cache on PatchMachine failure#1465
jcpowermac wants to merge 3 commits intoopenshift:mainfrom
jcpowermac:vsphere-vm-not-poweredon

Conversation

@jcpowermac
Copy link
Contributor

When PatchMachine fails during Create, the stale task ID cache entry would permanently block the machine from progressing past the stale check on every future reconcile. Delete the cache entry on PatchMachine failure so the machine can recover.

When PatchMachine fails during Create, the stale task ID cache entry
would permanently block the machine from progressing past the stale
check on every future reconcile. Delete the cache entry on PatchMachine
failure so the machine can recover.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 25, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 25, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@jcpowermac
Copy link
Contributor Author

/test ?

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 25, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign nrb for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jcpowermac
Copy link
Contributor Author

/test e2e-vsphere-ovn-techpreview-serial

@jcpowermac
Copy link
Contributor Author

/test e2e-vsphere-ovn

@jcpowermac
Copy link
Contributor Author

/test unit

@jcpowermac
Copy link
Contributor Author

/test e2e-vsphere-ovn-techpreview-serial

@jcpowermac
Copy link
Contributor Author

bad claude, this is really more broken

jcpowermac and others added 2 commits February 25, 2026 15:35
When PatchMachine fails during Create, the provider status (including
the TaskRef) is lost. Without retry logic the stale TaskRef check
permanently blocks the machine from progressing.

Cache the failed provider status and retry the patch on the next
reconcile when a stale TaskRef mismatch is detected. Clean up the
cache in Update and Delete to prevent unbounded growth.

Co-Authored-By: vr4manta <vr4manta@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jcpowermac
Copy link
Contributor Author

/test e2e-vsphere-ovn-techpreview-serial
/test unit
/test e2e-vsphere-ovn

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 25, 2026

@jcpowermac: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/unit 6b18367 link true /test unit
ci/prow/e2e-vsphere-ovn 6b18367 link false /test e2e-vsphere-ovn
ci/prow/e2e-vsphere-ovn-techpreview-serial 6b18367 link false /test e2e-vsphere-ovn-techpreview-serial

Full PR test history. Your PR dashboard.

Details

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant