openshift / geard

geard is no longer maintained - see OpenShift 3 and Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vagrant up failed on vbox with "bootstrap-dev-vm.sh: No such file or directory"

philwhln opened this issue · comments

$ git clone git@github.com:openshift/geard
Cloning into 'geard'...
remote: Reusing existing pack: 9154, done.
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 9159 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (9159/9159), 4.15 MiB | 211.00 KiB/s, done.
Resolving deltas: 100% (5736/5736), done.
Checking connectivity... done.

$ cd geard

$ vagrant up
The Vagrant VMware provider requires a valid license
to run. The license provided is invalid. Please make sure you
downloaded the proper license. If you believe you're seeing
this message in error, please contact support.
Failed to load the "vagrant-vmware-fusion" plugin. View logs for more details.

Sharing GOPATH with VM
Bringing machine 'default' up with 'virtualbox' provider...
[default] Box 'fedora20' was not found. Fetching box from specified URL for
the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading box from URL: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_fedora-20_chef-provisionerless.box
Extracting box...te: 1229k/s, Estimated time remaining: 0:00:02)
Successfully added box 'fedora20' with provider 'virtualbox'!
[default] Importing base box 'fedora20'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 43273 => 43273 (adapter 1)
[default] -- 6060 => 2225 (adapter 1)
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] Mounting shared folders...
[default] -- /vagrant
[default] Running provisioner: shell...
[default] Running: inline script
/tmp/vagrant-shell: line 1: /vagrant/src/github.com/openshift/geard/contrib/bootstrap-dev-vm.sh: No such file or directory
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell

Stdout from the command:

Stderr from the command:

/tmp/vagrant-shell: line 1: /vagrant/src/github.com/openshift/geard/contrib/bootstrap-dev-vm.sh: No such file or directory

Ah, this can happen if you cloned without "go get", but have GOPATH set. Change your vagrant up line to

GOPATH="" vagrant up

I'll try to make this error out before you start.