Skip to content
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 disks delete async #1844

Merged
merged 1 commit into from
Dec 1, 2021
Merged

Conversation

Jont828
Copy link
Contributor

@Jont828 Jont828 commented Nov 9, 2021

What type of PR is this?

/kind feature
What this PR does / why we need it: Implementation of an async service for disks as a follow up for #1610 and #1541.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1711

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests

Release note:

Make disks delete async

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 9, 2021
@k8s-ci-robot
Copy link
Contributor

Hi @Jont828. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 9, 2021
@k8s-ci-robot k8s-ci-robot added area/provider/azure Issues or PRs related to azure provider sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. labels Nov 9, 2021
@CecileRobertMichon
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 9, 2021
@Jont828 Jont828 changed the title Make disks delete async [WIP] Make disks delete async Nov 11, 2021
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 15, 2021

CLA Signed

The committers are authorized under a signed CLA.

azure/services/disks/spec.go Outdated Show resolved Hide resolved
@Jont828
Copy link
Contributor Author

Jont828 commented Nov 18, 2021

@CecileRobertMichon Do you think it would make sense to add UpdatePutStatus(infrav1.DisksReadyCondition, serviceName, err) to the reconciler for async VMs? Since the reconciler for disks is a no-op we could try to update the status in the code that's responsible for creating the disks.

@Jont828
Copy link
Contributor Author

Jont828 commented Nov 23, 2021

/retest

@CecileRobertMichon
Copy link
Contributor

@Jont828 please squash commits

@Jont828 Jont828 force-pushed the async-disks branch 3 times, most recently from df18a8e to ad921a7 Compare November 24, 2021 00:23
@Jont828
Copy link
Contributor Author

Jont828 commented Nov 24, 2021

/retest

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm besides two minor comments

@Jont828
Copy link
Contributor Author

Jont828 commented Nov 24, 2021

/retest

2 similar comments
@Jont828
Copy link
Contributor Author

Jont828 commented Nov 25, 2021

/retest

@Jont828
Copy link
Contributor Author

Jont828 commented Nov 29, 2021

/retest

azure/services/disks/spec.go Outdated Show resolved Hide resolved
azure/services/disks/client.go Outdated Show resolved Hide resolved
@Jont828 Jont828 force-pushed the async-disks branch 2 times, most recently from 6229bdf to a43b50f Compare November 30, 2021 00:04
Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve
/retest

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 30, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CecileRobertMichon

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 30, 2021
@CecileRobertMichon
Copy link
Contributor

possibly a flake?

/retest

@Jont828
Copy link
Contributor Author

Jont828 commented Nov 30, 2021

/retest

@CecileRobertMichon
Copy link
Contributor

/test pull-cluster-api-provider-azure-e2e

the test is going to fail, restarting to gain time. Going to look into the different failures.

@CecileRobertMichon
Copy link
Contributor

/retest

quota issues on the sub should be mitigated

@CecileRobertMichon
Copy link
Contributor

the latest one wasn't a quota issue, going to investigate separately (seems unrelated to this PR)

/retest

@Jont828
Copy link
Contributor Author

Jont828 commented Dec 1, 2021

/retest

@CecileRobertMichon
Copy link
Contributor

this PR does not want to merge...

Issues we've run into so far:

/retest

@k8s-ci-robot
Copy link
Contributor

k8s-ci-robot commented Dec 1, 2021

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

Test name Commit Details Required Rerun command
pull-cluster-api-provider-azure-apidiff 4c58842 link false /test pull-cluster-api-provider-azure-apidiff

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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/test-infra repository. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot merged commit 69f3426 into kubernetes-sigs:main Dec 1, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.1 milestone Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/provider/azure Issues or PRs related to azure provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

async disks
3 participants