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

/Users is not accessible in the VM (xhyve) #423

Closed
RaeesBhatti opened this issue Jul 29, 2016 · 5 comments
Closed

/Users is not accessible in the VM (xhyve) #423

RaeesBhatti opened this issue Jul 29, 2016 · 5 comments
Assignees
Milestone

Comments

@RaeesBhatti
Copy link
Contributor

As far as I understand, /Users (on Mac OS) should be accessible inside the VM, so that, we can have hostPath shared between the VM and host but it is not.

Steps to reproduce

  1. Install latest minikube
  2. Start minikube: minikube start --vm-driver=xhyve
  3. minikube ssh 'ls /'
@RaeesBhatti
Copy link
Contributor Author

RaeesBhatti commented Jul 29, 2016

minikube version: minikube version: v0.7.1

and I just verified that this problem is not reproducible on VirtualBox VMs

@RaeesBhatti RaeesBhatti changed the title /Users is not accessible in the VM /Users is not accessible in the VM (xhyve) Jul 29, 2016
@dlorenc
Copy link
Contributor

dlorenc commented Jul 29, 2016

This is an xhyve-driver specific issue. I think we need to turn on 9p file-sharing here:
https://github.com/kubernetes/minikube/blob/master/pkg/minikube/cluster/cluster_darwin.go#L50

@r2d4: this should be a good starter bug. Once we get this working for all supported drivers we should add an e2e test for it.

@dlorenc dlorenc added this to the 0.8 Release milestone Jul 29, 2016
r2d4 added a commit to r2d4/minikube that referenced this issue Aug 1, 2016
Removing the Virtio9p flags from the xhyve-driver struct because they
require custom configuration of the boot2docker iso and thus won't
work.  See this note for more information
https://github.com/zchee/docker-machine-driver-xhyve#usage

This resolves issue kubernetes#423
r2d4 added a commit to r2d4/minikube that referenced this issue Aug 1, 2016
Removing the Virtio9p flags from the xhyve-driver struct because they
require custom configuration of the boot2docker iso and thus won't
work.  See this note for more information
https://github.com/zchee/docker-machine-driver-xhyve#usage

This resolves issue kubernetes#423
@r2d4
Copy link
Contributor

r2d4 commented Aug 5, 2016

Once Homebrew/homebrew-core#3638 is merged, we can test with the new version of docker-xhyve-driver

@zchee
Copy link
Contributor

zchee commented Aug 5, 2016

@dlorenc @r2d4 I still not understand all of the minikube sources, but yes.
It needs that variable to true.
https://github.com/kubernetes/minikube/blob/master/pkg/minikube/cluster/cluster_darwin.go#L50

and, In my code are hard-coded, but maybe minikube is possible to change the mount directory.
https://github.com/zchee/docker-machine-driver-xhyve/blob/master/xhyve/xhyve.go#L66
https://github.com/zchee/docker-machine-driver-xhyve/blob/master/xhyve/xhyve.go#L188

r2d4 added a commit to r2d4/minikube that referenced this issue Aug 9, 2016
This feature is enabled in v0.2.3 of the docker xhyve driver
Enabling this by default on cluster_darwin

This resolves issue kubernetes#423
@dlorenc
Copy link
Contributor

dlorenc commented Aug 11, 2016

This should be fixed in the next release.

@dlorenc dlorenc closed this as completed Aug 11, 2016
jimmidyson pushed a commit to jimmidyson/minikube that referenced this issue Sep 2, 2016
This feature is enabled in v0.2.3 of the docker xhyve driver
Enabling this by default on cluster_darwin

This resolves issue kubernetes#423
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants