-
Notifications
You must be signed in to change notification settings - Fork 41.1k
kubelet: multiple volumes reference one PVC in one Pod #122140
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
base: master
Are you sure you want to change the base?
Conversation
Please note that we're already in Test Freeze for the Fast forwards are scheduled to happen every 6 hours, whereas the most recent run was: Fri Dec 1 04:07:07 UTC 2023. |
Hi @huww98. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the 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. |
9d0bc76
to
0214bf9
Compare
/remove-kind feature |
0214bf9
to
f7e52e1
Compare
63c00ae
to
6046e7c
Compare
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. In response to this:
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. |
…nd actual This is intended to remove dependency on mountedVolume.OuterVolumeSpecNames
…actually mounted volumes This should be fine because the volumes not in DSW should be umounted soon anyway. Use GetPossiblyMountedVolumesForPod() for checking volumes unmounted in tests. Production code should already using it. This is intended to remove dependency on mountedVolume.OuterVolumeSpecNames
This is intended to remove dependency on mountedVolume.OuterVolumeSpecNames
To make the test more robust if the test runs slow. Other goroutines are still properly cleaned up because ctx returned by ktesting.Init is automatically cancelled after test finishes.
/reopen |
@huww98: Reopened this PR. In response to this:
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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: huww98, jsafrane The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Previously, pod with multiple volumes references one PVC is stuck at ContainerCreating without any error message. Fixing this by storing multiple OuterVolumeSpecNames per volume
6046e7c
to
12b1252
Compare
Also add a new case for multiple outer names. And some small fixes to existing cases.
12b1252
to
dd8e00f
Compare
@huww98: The following test failed, say
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-sigs/prow repository. I understand the commands that are listed here. |
/test pull-kubernetes-e2e-gce |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Previously, pod with multiple volumes references one PVC is stuck at ContainerCreating without any error message.
Fixing this by storing multiple OuterVolumeSpecNames per volume.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: