Now standard AWS symlink from /dev/xvdaa to /dev/nvme1n1 break the driver for minikube #2156
Labels
kind/bug
Categorizes issue or PR as related to a bug.
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
/kind bug
What happened?
EBS volumes get created and attached just fine but then are unavailable to kubernetes running under minikube.
AWS EC2 instances these days often don't have a /dev/xvdaa device for attaching EBS volumes but instead have a /dev/nvme1n1 device which gets attached and a symlink is then created: /dev/xvdaa -> /dev/nvme1n1
Under this circumstance, the MountVolume.MountDevice fails:
While investigating, I found that the minikube container itself does not seem to be aware of /dev/xvdaa:
But the volume is definitely attached and AWS claims it's attached to /dev/xvdaa:
[
What you expected to happen?
After the volume is attached, the device can be mounted even if the attachment Device name is a symlink.
How to reproduce it (as minimally and precisely as possible)?
pvc.yaml:
Anything else we need to know?:
Environment
kubectl version
):The text was updated successfully, but these errors were encountered: