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

Could not create vmnet interface, permission denied or no entitlement? #85

Closed
jmreicha opened this issue Jan 23, 2016 · 2 comments
Closed

Comments

@jmreicha
Copy link

I am using the brew installed version of the xhyve driver, running the following command to create an xhyve machine.

docker-machine create --driver xhyve --xhyve-experimental-nfs-share test

And getting the following output (and error):

docker-machine create --driver xhyve --xhyve-experimental-nfs-share test

Running pre-create checks...
Creating machine...
(test) Copying /Users/josh/.docker/machine/cache/boot2docker.iso to /Users/josh/.docker/machine/machines/test/boot2docker.iso...
(test) Creating VM...
(test) Extracting vmlinuz64 and initrd.img from boot2docker.iso...
(test) /dev/disk2                                           /Users/josh/.docker/machine/machines/test/b2d-image
(test) "disk2" unmounted.
(test) "disk2" ejected.
(test) Generating 20000MB disk image...
(test) created: /Users/josh/.docker/machine/machines/test/root-volume.sparsebundle
(test) Creating SSH key...
(test) Fix file permission...
(test) Generate UUID...
(test) Convert UUID to MAC address...
(test) Starting test...
(test) Waiting for VM to come online...
(test) Waiting on a pseudo-terminal to be ready... virtio_net: Could not create vmnet interface, permission denied or no entitlement?

Error creating machine: Error in driver during machine creation: Machine didn't return an IP after 120 seconds, aborting

When I try to bring it up again after creating.

Starting "test"...
(test) Waiting for VM to come online...
(test) Waiting on a pseudo-terminal to be ready... done
(test) Hook up your terminal emulator to /dev/ttys010 in order to connect to your VM
Machine didn't return an IP after 120 seconds, aborting

I am using binaries from the latest Docker toolbox release, docker-machine version 0.5.6, build 61388e9 with VBox 5.0.12.

@jmreicha
Copy link
Author

I moved /etc/exports to /etc/exports.backupand then recreated an empty/etc/exports`.

The second time I tried to create the VM it worked.

Great work on this driver so far!

@nhooey
Copy link

nhooey commented Jan 26, 2017

Deleting /etc/exports and recreating an empty file didn't work for me.

I created this Stack Overflow question:
xhyve error: virtio_net: Could not create vmnet interface, permission denied or no entitlement?

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

2 participants