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

Unclear error when GCE PD disk attached as READ_ONLY and attempting to MountDevice !readOnly #78880

Open
davidz627 opened this issue Jun 11, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@davidz627
Copy link
Contributor

commented Jun 11, 2019

When an unformatted disk is attached as readOnly through PersistentVolume.spec.GCEPersistentVolumeSource.readOnly if we then try to mount !readOnly with Pod.spec.volumes.persistentVolumeClaim.readOnly=false we get the error:

MountVolume.MountDevice failed for volume "podpv" : exit status 1

We should return more error information than just "exit status 1"

/kind cleanup
/sig storage
/priority important-longterm
/cc @msau42
xref: kubernetes-sigs/gcp-compute-persistent-disk-csi-driver#296

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.