-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
minikube --mount is broken on OS X #2661
Comments
It probably caused by wrong file permission, since |
Well, those permissions are a default on OS X, so it should be handled with a bit more grace than throwing an I/O error on access. A message saying mount on OS X is not supported, a suggestion on permission adjustment or something. |
I've submitted a PR #2671 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. 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/test-infra repository. |
Was this ever fixed? How are the permissions supposed to be set? |
Agreed, this issue is still an apparent bug to me and seems like the maintainers had the bot silently close this one without remarks... |
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
bug report
Please provide the following details:
Environment:
Minikube version (use
minikube version
): v0.25.2cat ~/.minikube/machines/minikube/config.json | grep DriverName
): hyperkitcat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
): minikube-v0.25.1.isoThe above can be generated in one go with the following commands (can be copied and pasted directly into your terminal):
What happened:
The xhyve VM driver used to mount /Users in /Users in minikube VM. Since it is deprecated, I switched to hyperkit driver that does not provide the same default mount. So I tried to use minikube's --mount flag to simulate the same thing. I started minikube as
minikube start --mount --mount-string /Users:/Users
. When the cluster has started, I triedminikube ssh ls /Users
and gotls: cannot access '/Users': Input/output error
.What you expected to happen:
/Users to be accessible to minikube VM
How to reproduce it (as minimally and precisely as possible):
Same way I did. Start minikube as a regular "Admin" user on OS X with
--mount
and--mount-string /Users:/Users
flags (I think just --mount should suffice, but I am not sure) and useminikube ssh
to verify that the mount is not really accessible.The text was updated successfully, but these errors were encountered: