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

fix vmss dirty cache issue #85158

Merged
merged 1 commit into from Nov 13, 2019
Merged

Conversation

andyzhangx
Copy link
Member

@andyzhangx andyzhangx commented Nov 12, 2019

What type of PR is this?
/kind bug

What this PR does / why we need it:
fix vmss dirty cache issue
clean vmss cache should happen after disk attach/detach operation, now it's before those operations, which would lead to dirty cache.

since update operation may cost 30s or more, and at that time period, if there is another get vmss operation, it would get the old data disk list

Which issue(s) this PR fixes:

Fixes #85159

Special notes for your reviewer:
This dirty cache issue would cause lots of weird disk issues and this issue lies in k8s v1.13.12, v1.13.13, v1.14.8, v1.14.9, v1.15.5, v1.15.6, v1.16.2, v1.16.3 in vmss clusters using data disks

Does this PR introduce a user-facing change?:

fix vmss dirty cache issue in disk attach/detach on vmss node

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


/kind bug
/assign @feiskyer
/priority important-soon
/sig cloud-provider
/area provider/azure

@k8s-ci-robot k8s-ci-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Nov 12, 2019
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. area/provider/azure Issues or PRs related to azure provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 12, 2019
@k8s-ci-robot k8s-ci-robot added area/cloudprovider approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 12, 2019
@cpuguy83
Copy link
Contributor

Note that this was changed already between 1.15 and 1.16.

@cpuguy83
Copy link
Contributor

Oh nevermind I see it was changed in 1.15.5

Copy link
Member

@feiskyer feiskyer 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

@khenidak
Copy link
Contributor

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andyzhangx, feiskyer, khenidak

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 merged commit 1057f3a into kubernetes:master Nov 13, 2019
@k8s-ci-robot k8s-ci-robot added this to the v1.17 milestone Nov 13, 2019
k8s-ci-robot added a commit that referenced this pull request Nov 29, 2019
…5158-upstream-release-1.16

Automated cherry pick of #85158: fix vmss dirty cache issue
k8s-ci-robot added a commit that referenced this pull request Dec 2, 2019
…5158-upstream-release-1.15

Automated cherry pick of #85158: fix vmss dirty cache issue
k8s-ci-robot added a commit that referenced this pull request Dec 2, 2019
…5158-upstream-release-1.14

Automated cherry pick of #85158: fix vmss dirty cache issue
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/cloudprovider area/provider/azure Issues or PRs related to azure provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vmss dirty cache issue
6 participants