Skip to content

Make disks delete async#1844

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
Jont828:async-disks
Dec 1, 2021
Merged

Make disks delete async#1844
k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
Jont828:async-disks

Conversation

@Jont828
Copy link
Copy Markdown
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
Copy Markdown
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.

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/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
Comment thread api/v1beta1/conditions_consts.go
@CecileRobertMichon
Copy link
Copy Markdown
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
Comment thread azure/services/disks/spec.go
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Nov 15, 2021

CLA Signed

The committers are authorized under a signed CLA.

Comment thread azure/scope/cluster.go Outdated
Comment thread azure/services/disks/spec.go Outdated
@Jont828
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Jont828 commented Nov 23, 2021

/retest

@CecileRobertMichon
Copy link
Copy Markdown
Contributor

@Jont828 please squash commits

Comment thread azure/services/disks/disks.go Outdated
Comment thread azure/services/disks/disks.go Outdated
@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
Copy Markdown
Contributor Author

Jont828 commented Nov 24, 2021

/retest

Comment thread azure/services/disks/spec.go Outdated
Comment thread azure/services/virtualmachines/virtualmachines.go
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Jont828 commented Nov 24, 2021

/retest

2 similar comments
@Jont828
Copy link
Copy Markdown
Contributor Author

Jont828 commented Nov 25, 2021

/retest

@Jont828
Copy link
Copy Markdown
Contributor Author

Jont828 commented Nov 29, 2021

/retest

Comment thread azure/services/disks/spec.go Outdated
Comment thread azure/services/disks/client.go Outdated
@Jont828 Jont828 force-pushed the async-disks branch 2 times, most recently from 6229bdf to a43b50f Compare November 30, 2021 00:04
Copy link
Copy Markdown
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
Copy Markdown
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

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

@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
Copy Markdown
Contributor

possibly a flake?

/retest

@Jont828
Copy link
Copy Markdown
Contributor Author

Jont828 commented Nov 30, 2021

/retest

@CecileRobertMichon
Copy link
Copy Markdown
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
Copy Markdown
Contributor

/retest

quota issues on the sub should be mitigated

@CecileRobertMichon
Copy link
Copy Markdown
Contributor

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

/retest

@Jont828
Copy link
Copy Markdown
Contributor Author

Jont828 commented Dec 1, 2021

/retest

@CecileRobertMichon
Copy link
Copy Markdown
Contributor

this PR does not want to merge...

Issues we've run into so far:

/retest

@k8s-ci-robot
Copy link
Copy Markdown
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.

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/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