Closed mthorson closed 2 years ago
Andy added this limitation because in the past, every disk mount would be assigned a drive name. It is okay to remove such restriction now.
Andy already came out a PR to remove this restriction.
/assign @andyzhangx
PRs are all merged: Master: https://github.com/kubernetes/kubernetes/pull/105673 1.22: https://github.com/kubernetes/kubernetes/pull/105692 1.21: https://github.com/kubernetes/kubernetes/pull/105693 1.20: https://github.com/kubernetes/kubernetes/pull/106171
The fix will be in k8s v1.20.13, v1.21.7, v1.22.4 and v1.23.0-alpha.4 releases.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/close
@andyzhangx: Closing this issue.
Hello
I'm reviewing an issue currently where a customer of mine is seeing MountVolume.MountDevice failed for volume "pvc-" : disk number out of range: "104"
In the k8s source code, the disk number is checked for validity by seeing if it's between 0 and 99 https://github.com/kubernetes/mount-utils/blob/master/mount_helper_windows.go#L93
However, the GCP Persistent Disk limits for
predefined machine types
are 128. https://cloud.google.com/compute/docs/disks/#pdnumberlimitsThe k8s documentation also confirms this for google compute engine. https://kubernetes.io/docs/concepts/storage/storage-limits/#dynamic-volume-limits
So I believe the check should be modified to see if the volume ID is in the range of 0-127 instead.