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
Make delete async #24
Make delete async #24
Conversation
|
7fc19a8
to
2773e6c
Compare
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.
this lgtm. Need to test.
/hold Waiting on #25 |
2773e6c
to
ab20cf8
Compare
Testing is minimal and would need further rework which can be done as a follow-up PR.
This function and the constants it references are no longer used.
ab20cf8
to
6bbaf1a
Compare
/hold cancel |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enxebre The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold Manual / sanity testing. |
This was introduced in PR openshift#25.
Runtime behaviour: I0531 13:37:34.187256 1703 controller.go:193] Reconciling machine "amcdermo-test-gcp-1" triggers delete
I0531 13:37:34.187268 1703 actuator.go:89] Deleting machine amcdermo-test-gcp-1
I0531 13:37:34.712075 1703 reconciler.go:237] Machine "amcdermo-test-gcp-1" already exists
I0531 13:37:35.256189 1703 reconciler.go:261] machine "amcdermo-test-gcp-1" status is exists, requeuing...
E0531 13:37:35.256266 1703 controller.go:207] Failed to delete machine "amcdermo-test-gcp-1": requeue in: 20s
I0531 13:37:35.256297 1703 controller.go:346] Actuator returned requeue-after error: requeue in: 20s
I0531 13:37:55.256673 1703 controller.go:129] Reconciling Machine "amcdermo-test-gcp-1"
I0531 13:37:55.256724 1703 controller.go:292] Machine "amcdermo-test-gcp-1" in namespace "test-gcp" doesn't specify "cluster.k8s.io/cluster-name" label, assuming nil cluster
I0531 13:37:55.256763 1703 controller.go:193] Reconciling machine "amcdermo-test-gcp-1" triggers delete
I0531 13:37:55.256788 1703 actuator.go:89] Deleting machine amcdermo-test-gcp-1
I0531 13:37:55.822772 1703 reconciler.go:237] Machine "amcdermo-test-gcp-1" already exists
I0531 13:37:56.232196 1703 reconciler.go:261] machine "amcdermo-test-gcp-1" status is exists, requeuing...
E0531 13:37:56.232281 1703 controller.go:207] Failed to delete machine "amcdermo-test-gcp-1": requeue in: 20s
I0531 13:37:56.232315 1703 controller.go:346] Actuator returned requeue-after error: requeue in: 20s
I0531 13:38:16.232527 1703 controller.go:129] Reconciling Machine "amcdermo-test-gcp-1"
I0531 13:38:16.232567 1703 controller.go:292] Machine "amcdermo-test-gcp-1" in namespace "test-gcp" doesn't specify "cluster.k8s.io/cluster-name" label, assuming nil cluster
I0531 13:38:16.232579 1703 controller.go:193] Reconciling machine "amcdermo-test-gcp-1" triggers delete
I0531 13:38:16.232597 1703 actuator.go:89] Deleting machine amcdermo-test-gcp-1
I0531 13:38:16.780866 1703 reconciler.go:234] Machine "amcdermo-test-gcp-1" is considered as non existent as its status is "TERMINATED"
I0531 13:38:16.780913 1703 reconciler.go:255] Machine amcdermo-test-gcp-1 not found during delete, skipping
I0531 13:38:16.894092 1703 controller.go:226] Machine "amcdermo-test-gcp-1" deletion successful |
/hold cancel |
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.
/lgtm
Testing is minimal and would need further rework which can be done as
a follow-up PR.