Not working at all: error in adding box on Windows 8 64bit #1483

Closed
michfield opened this Issue Mar 22, 2013 · 35 comments

Comments

Projects
None yet
@michfield

This is getting very frustrating. Can't even start working.

vagrant box add "xxx" "https://dl.dropbox.com/u/xxx.box"

You will get something like:

Extracting box...
DEBUG box_collection: Adding box: ubuntu-12.10-quantal64-firstbeatmedia (any provider) from C:/Users/Colovic/.vagrant.d/tmp/box1363985582
DEBUG box_collection: Unpacking box into temporary directory: C:/Users/Colovic/AppData/Local/Temp/vagrant-box-add-temp-20130322-932-1e552r3
 INFO subprocess: Starting process: ["bsdtar", "-v", "-x", "-C", "C:/Users/Colovic/AppData/Local/Temp/vagrant-box-add-temp-20130322-932-1e552r3", "-f", "C:/Users/Colovic/.vagrant.d/tmp/box1363985582"]
ERROR warden: Error occurred: The system cannot find the file specified. (2)
 INFO warden: Beginning recovery process...
 INFO warden: Calling recover: #<Vagrant::Action::Builtin::BoxAdd:0x3b23de8>
 INFO warden: Recovery complete.
 INFO environment: Running hook: environment_unload
 INFO runner: Running action: #<Vagrant::Action::Builder:0x26b9f08>
C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/util/subprocess.rb:84:in `rescue in execute': The system cannot find the file specified. (2) (Vagrant::Util::Subprocess::LaunchError)
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/util/subprocess.rb:77:in `execute'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/util/subprocess.rb:23:in `execute'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/box_collection.rb:104:in `block in add'
        from C:/Tools/Vagrant/vagrant/embedded/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/box_collection.rb:99:in `add'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/builtin/box_add.rb:45:in `call'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/warden.rb:34:in `call'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/builder.rb:109:in `call'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/runner.rb:61:in `block in run'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/runner.rb:61:in `run'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/plugins/commands/box/command/add.rb:33:in `execute'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/plugins/commands/box/command/root.rb:47:in `execute'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/cli.rb:46:in `execute'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/environment.rb:432:in `cli'
        from C:/Tools/Vagrant/vagrant/embedded/gems/gems/vagrant-1.1.2/bin/vagrant:60:in `<top (required)>'
        from C:/Tools/Vagrant/vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in `load'
        from C:/Tools/Vagrant/vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in `<main>'

Obviously, Vagrant can't unpack downloaded file.
Tried every possible dev version. Still no-go.

Because of this, simple vagrant up is not working.

OS: Windows 8 Home Edition 64bit.

Probably it's like this on Windows 7 too. Or maybe not?

@mitchellh

This comment has been minimized.

Show comment Hide comment
@mitchellh

mitchellh Mar 22, 2013

Owner

This is probably in Cygwin? Or msys? (Not stock cmd.exe)

Either way, it is fixed in 1.1.3, to be released shortly.

Owner

mitchellh commented Mar 22, 2013

This is probably in Cygwin? Or msys? (Not stock cmd.exe)

Either way, it is fixed in 1.1.3, to be released shortly.

@mitchellh mitchellh closed this Mar 22, 2013

@michfield

This comment has been minimized.

Show comment Hide comment
@michfield

michfield Mar 22, 2013

  • I tried master branch. And even 1.2 branch.
  • I tried setting - un-setting VAGRANT_HOME variable.
  • I tried on same - on different drive.

This is a panic problem - simply it's not working, unless there is an old VM created already.

So Mitchell, please, stop developing new versions, just please fix bugs and problems with current one.
Everything is falling apart.

  • I tried master branch. And even 1.2 branch.
  • I tried setting - un-setting VAGRANT_HOME variable.
  • I tried on same - on different drive.

This is a panic problem - simply it's not working, unless there is an old VM created already.

So Mitchell, please, stop developing new versions, just please fix bugs and problems with current one.
Everything is falling apart.

@mitchellh

This comment has been minimized.

Show comment Hide comment
@mitchellh

mitchellh Mar 22, 2013

Owner

There is a mailing list post with this same exact problem. The issue is not with Vagrant but with the Vagrant installer. It is fixed here: https://github.com/hashicorp/puppet-modules/commit/a73c2de4181a306f9e249c47a849536151a02ad6

Add that to your "vagrant" bash file and it'll be fixed.

I understand the panic, but it is fixed, I assure you, and I release will come shortly.

Owner

mitchellh commented Mar 22, 2013

There is a mailing list post with this same exact problem. The issue is not with Vagrant but with the Vagrant installer. It is fixed here: https://github.com/hashicorp/puppet-modules/commit/a73c2de4181a306f9e249c47a849536151a02ad6

Add that to your "vagrant" bash file and it'll be fixed.

I understand the panic, but it is fixed, I assure you, and I release will come shortly.

@michfield

This comment has been minimized.

Show comment Hide comment
@michfield

michfield Mar 22, 2013

Thanks. Great!

Thanks. Great!

@michfield

This comment has been minimized.

Show comment Hide comment
@michfield

michfield Mar 22, 2013

The problem is not solved. As directed by Mitchell, I changed a couple of lines in file vagrant\bin\vagrant

# Prepend our embedded dir to the PATH so that we call that preferably
export PATH="${EMBEDDED_DIR}/bin:${PATH}"

if [ "${OS}" = "Cygwin" ]; then
  # In Cygwin, we want to add the Windows path to the PATH so that
  # bsdtar and friends can be found
  export PATH="${EMBEDDED_DIR}/gnuwin32/bin:${PATH}"
fi

# Unset any RUBYOPT, we don't want this bleeding into our runtime.
unset RUBYOPT

But that did not work for me. I tried without conditionals...

# Prepend our embedded dir to the PATH so that we call that preferably
export PATH="${EMBEDDED_DIR}/bin:${PATH}"

export PATH="${EMBEDDED_DIR}/gnuwin32/bin:${PATH}"

# Unset any RUBYOPT, we don't want this bleeding into our runtime.
unset RUBYOPT

But still no-go..

I'm not using Cygwin as far as I know. Just plain Vagrant - only not in default directory, but in C:\Tools\Vagrant

The problem is not solved. As directed by Mitchell, I changed a couple of lines in file vagrant\bin\vagrant

# Prepend our embedded dir to the PATH so that we call that preferably
export PATH="${EMBEDDED_DIR}/bin:${PATH}"

if [ "${OS}" = "Cygwin" ]; then
  # In Cygwin, we want to add the Windows path to the PATH so that
  # bsdtar and friends can be found
  export PATH="${EMBEDDED_DIR}/gnuwin32/bin:${PATH}"
fi

# Unset any RUBYOPT, we don't want this bleeding into our runtime.
unset RUBYOPT

But that did not work for me. I tried without conditionals...

# Prepend our embedded dir to the PATH so that we call that preferably
export PATH="${EMBEDDED_DIR}/bin:${PATH}"

export PATH="${EMBEDDED_DIR}/gnuwin32/bin:${PATH}"

# Unset any RUBYOPT, we don't want this bleeding into our runtime.
unset RUBYOPT

But still no-go..

I'm not using Cygwin as far as I know. Just plain Vagrant - only not in default directory, but in C:\Tools\Vagrant

@michfield

This comment has been minimized.

Show comment Hide comment
@michfield

michfield Mar 22, 2013

Problem solved. Mitchell - notice this somewhere.

Change done in vagrant.bat, not in bash file vagrant.
Just added that gnuwin32\bin path.

SET "PATH=%EMBEDDED_DIR%\bin;%EMBEDDED_DIR%\gnuwin32\bin;%PATH%"

Thanks, this was a step in a right direction.
But, please check this before pushing new release.
I think that change in bash file is not good enough.

But I don't care really. It's working for me now.

Problem solved. Mitchell - notice this somewhere.

Change done in vagrant.bat, not in bash file vagrant.
Just added that gnuwin32\bin path.

SET "PATH=%EMBEDDED_DIR%\bin;%EMBEDDED_DIR%\gnuwin32\bin;%PATH%"

Thanks, this was a step in a right direction.
But, please check this before pushing new release.
I think that change in bash file is not good enough.

But I don't care really. It's working for me now.

@michfield

This comment has been minimized.

Show comment Hide comment
@michfield

michfield Mar 22, 2013

I did not notice that. Solving solved problems.
Btw, you still have that silly typo error in that batch file: GET_PATH= should be GEM_PATH=

Anyway, thanks again. Problem solved.

Why didn't you put that in last installer?

I did not notice that. Solving solved problems.
Btw, you still have that silly typo error in that batch file: GET_PATH= should be GEM_PATH=

Anyway, thanks again. Problem solved.

Why didn't you put that in last installer?

@mitchellh

This comment has been minimized.

Show comment Hide comment
@mitchellh

mitchellh Mar 22, 2013

Owner

It was a bug :) It was only recently fixed.

Owner

mitchellh commented Mar 22, 2013

It was a bug :) It was only recently fixed.

@haf

This comment has been minimized.

Show comment Hide comment
@haf

haf Mar 28, 2013

This is a still a problem with 1.1.4, Win8 64bit. Crashes with error like "subprocess cannot find file in c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/util/subprocess.rb:81".

haf commented Mar 28, 2013

This is a still a problem with 1.1.4, Win8 64bit. Crashes with error like "subprocess cannot find file in c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/util/subprocess.rb:81".

@haf

This comment has been minimized.

Show comment Hide comment
@haf

haf Mar 28, 2013

In my case I had a download_url set for the box and vagrant downloaded the box to 100%, then crashes.

haf commented Mar 28, 2013

In my case I had a download_url set for the box and vagrant downloaded the box to 100%, then crashes.

@canausa

This comment has been minimized.

Show comment Hide comment
@canausa

canausa Mar 28, 2013

Contributor

@haf can you send along a debug log to better track down your problem?

Contributor

canausa commented Mar 28, 2013

@haf can you send along a debug log to better track down your problem?

@haf

This comment has been minimized.

Show comment Hide comment
@haf

haf Mar 28, 2013

$ vagrant box add precise64 http://files.vagrantup.com/precise64.box
Downloading with Vagrant::Downloaders::HTTP...
Downloading box: http://files.vagrantup.com/precise64.box
Extracting box...0507120 / 320671744)
Cleaning up downloaded box...
c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/util/subprocess.rb:81:in `rescue in execute': The system
 cannot find the file specified. (2) (Vagrant::Util::Subprocess::LaunchError)
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/util/subprocess.rb:74:in `execute'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/util/subprocess.rb:20:in `execute'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/box_collection.rb:103:in `add'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/action/builtin/box_add.rb:35:in `call'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/action/warden.rb:34:in `call'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/action/builder.rb:109:in `call'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/action/runner.rb:61:in `block in run'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/util/busy.rb:19:in `busy'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/action/runner.rb:61:in `run'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/plugins/commands/box/command/add.rb:33:in `execute'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/plugins/commands/box/command/root.rb:47:in `execute'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/cli.rb:46:in `execute'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/environment.rb:406:in `cli'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/bin/vagrant:60:in `<top (required)>'
        from c:/vagrant/vagrant/bin/../embedded/gems/bin/vagrant:23:in `load'
        from c:/vagrant/vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>'

haf commented Mar 28, 2013

$ vagrant box add precise64 http://files.vagrantup.com/precise64.box
Downloading with Vagrant::Downloaders::HTTP...
Downloading box: http://files.vagrantup.com/precise64.box
Extracting box...0507120 / 320671744)
Cleaning up downloaded box...
c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/util/subprocess.rb:81:in `rescue in execute': The system
 cannot find the file specified. (2) (Vagrant::Util::Subprocess::LaunchError)
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/util/subprocess.rb:74:in `execute'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/util/subprocess.rb:20:in `execute'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/box_collection.rb:103:in `add'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/action/builtin/box_add.rb:35:in `call'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/action/warden.rb:34:in `call'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/action/builder.rb:109:in `call'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/action/runner.rb:61:in `block in run'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/util/busy.rb:19:in `busy'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/action/runner.rb:61:in `run'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/plugins/commands/box/command/add.rb:33:in `execute'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/plugins/commands/box/command/root.rb:47:in `execute'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/cli.rb:46:in `execute'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/lib/vagrant/environment.rb:406:in `cli'
        from c:/vagrant/vagrant/embedded/gems/gems/vagrant-1.1.4/bin/vagrant:60:in `<top (required)>'
        from c:/vagrant/vagrant/bin/../embedded/gems/bin/vagrant:23:in `load'
        from c:/vagrant/vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>'
@eXtreme

This comment has been minimized.

Show comment Hide comment
@eXtreme

eXtreme Mar 28, 2013

Same problem for me, also w8 64bit

eXtreme commented Mar 28, 2013

Same problem for me, also w8 64bit

@akhorolets

This comment has been minimized.

Show comment Hide comment
@akhorolets

akhorolets Mar 28, 2013

Same here, Win7 64bit

Same here, Win7 64bit

@eXtreme

This comment has been minimized.

Show comment Hide comment
@eXtreme

eXtreme Mar 28, 2013

It also happens on "up" command when VM is new (with configured config.vm.box_url)

eXtreme commented Mar 28, 2013

It also happens on "up" command when VM is new (with configured config.vm.box_url)

@mitchellh

This comment has been minimized.

Show comment Hide comment
@mitchellh

mitchellh Mar 28, 2013

Owner

Sorry this issue still exists in #1366 or something like that. The issue is with Cygwin paths, I believe.

If you use cmd.exe or Powershell, this works fine as a workaround. I'm working on cleaning up more Cygwin issues soon. Sorry!

Owner

mitchellh commented Mar 28, 2013

Sorry this issue still exists in #1366 or something like that. The issue is with Cygwin paths, I believe.

If you use cmd.exe or Powershell, this works fine as a workaround. I'm working on cleaning up more Cygwin issues soon. Sorry!

@raphaelvalerio

This comment has been minimized.

Show comment Hide comment
@raphaelvalerio

raphaelvalerio Apr 2, 2013

I should point out that I was having this problem as well in 1.4.4 on Win 8 64-bit (no Cygwin), but it only occurred when I was using the Git Bash command prompt (mingw32). When I switched to the normal Windows Command Prompt (cmd.exe), downloading the box was successful.

I prefer using Git Bash for my command line needs under most circumstances, but obviously switching to Command Prompt is no big deal. However, I thought I'd mention this if it helps people to track down the source of the issue, since it must relate to mingw32 as well as Cygwin.

I should point out that I was having this problem as well in 1.4.4 on Win 8 64-bit (no Cygwin), but it only occurred when I was using the Git Bash command prompt (mingw32). When I switched to the normal Windows Command Prompt (cmd.exe), downloading the box was successful.

I prefer using Git Bash for my command line needs under most circumstances, but obviously switching to Command Prompt is no big deal. However, I thought I'd mention this if it helps people to track down the source of the issue, since it must relate to mingw32 as well as Cygwin.

@haf

This comment has been minimized.

Show comment Hide comment
@haf

haf Apr 2, 2013

I was using git bash too.

haf commented Apr 2, 2013

I was using git bash too.

@RLovelett

This comment has been minimized.

Show comment Hide comment
@RLovelett

RLovelett Apr 4, 2013

I experienced this while running git bash as well (Win7 x64).

I experienced this while running git bash as well (Win7 x64).

@akhorolets

This comment has been minimized.

Show comment Hide comment
@akhorolets

akhorolets Apr 4, 2013

Yep, mingw32 for me too (forgot to mention earlier)

Yep, mingw32 for me too (forgot to mention earlier)

@eXtreme

This comment has been minimized.

Show comment Hide comment
@eXtreme

eXtreme Apr 6, 2013

Not working in normal cmd and powershell as well. 1.1.5 and 1.2.0dev are still broken...

eXtreme commented Apr 6, 2013

Not working in normal cmd and powershell as well. 1.1.5 and 1.2.0dev are still broken...

@adamsullovey

This comment has been minimized.

Show comment Hide comment
@adamsullovey

adamsullovey Apr 8, 2013

I experienced the same error as haf on Windows 7 64bit with Git Bash. It worked fine with Windows' cmd. Version is 1.1.5

I experienced the same error as haf on Windows 7 64bit with Git Bash. It worked fine with Windows' cmd. Version is 1.1.5

@jamesmehorter

This comment has been minimized.

Show comment Hide comment
@jamesmehorter

jamesmehorter Apr 12, 2013

Same here, using Vagrant 1.1.5 on Windows 8 Pro x64 using Git Bash (Mingw32) Below is the log for reference

Tried the vagrant up again in Command Promt and the box started right up. Once up and running I could vagrant ssh back in Git Bash just fine. Hope that helps :)

Gist - Windows 8 Git Bash Error Log

Same here, using Vagrant 1.1.5 on Windows 8 Pro x64 using Git Bash (Mingw32) Below is the log for reference

Tried the vagrant up again in Command Promt and the box started right up. Once up and running I could vagrant ssh back in Git Bash just fine. Hope that helps :)

Gist - Windows 8 Git Bash Error Log

@mitchellh

This comment has been minimized.

Show comment Hide comment
@mitchellh

mitchellh Apr 12, 2013

Owner

This is fixed in 1.2.0.

It is an installer-based fix so simply running the 1.2.0.dev source won't fix it completely.

Owner

mitchellh commented Apr 12, 2013

This is fixed in 1.2.0.

It is an installer-based fix so simply running the 1.2.0.dev source won't fix it completely.

@srcspider

This comment has been minimized.

Show comment Hide comment
@srcspider

srcspider Apr 16, 2013

Where can I get the 1.2.0 installer?

Workaround for git bash,

cmd
vagrant up
exit

The exit will return you to git bash.

Where can I get the 1.2.0 installer?

Workaround for git bash,

cmd
vagrant up
exit

The exit will return you to git bash.

@Tocacar

This comment has been minimized.

Show comment Hide comment
@Tocacar

Tocacar Aug 8, 2013

Same problem for me on Win8 using git bash. @srcspider - thanks, your workaround worked for me.

Tocacar commented Aug 8, 2013

Same problem for me on Win8 using git bash. @srcspider - thanks, your workaround worked for me.

@VAggrippino

This comment has been minimized.

Show comment Hide comment
@VAggrippino

VAggrippino May 26, 2014

Looks like you've all had a lively conversation about this problem a year ago. It's not clear to me whether you solved it or just found a work-around. I'm not using Cygwin or Git bash, just regular command prompt and I'm having the exact same problem...

C:\Users\Vince\Dev\vtourdigger>vagrant up
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/subprocess.rb:108:in `rescue in execute': Access is denied. (5) (Vagrant::Util::Subprocess::LaunchError)
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/subprocess.rb:101:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/subprocess.rb:22:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/base.rb:367:in `block in raw'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/base.rb:366:in `raw'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/base.rb:305:in `block in execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/retryable.rb:17:in `retryable'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/base.rb:300:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/meta.rb:133:in `read_version'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/meta.rb:34:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/provider.rb:34:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/provider.rb:34:in `machine_id_changed'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/provider.rb:14:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/machine.rb:125:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/machine.rb:125:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/vagrantfile.rb:75:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/vagrantfile.rb:75:in `machine'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:416:in `machine'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:142:in `block in with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:175:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:175:in `block in with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:174:in `map'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:174:in `with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/commands/up/command.rb:58:in `block in execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:234:in `block (2 levels) in batch'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:232:in `tap'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:232:in `block in batch'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:231:in `synchronize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:231:in `batch'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/commands/up/command.rb:57:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/cli.rb:42:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:248:in `cli'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/bin/vagrant:164:in `<main>'

Looks like you've all had a lively conversation about this problem a year ago. It's not clear to me whether you solved it or just found a work-around. I'm not using Cygwin or Git bash, just regular command prompt and I'm having the exact same problem...

C:\Users\Vince\Dev\vtourdigger>vagrant up
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/subprocess.rb:108:in `rescue in execute': Access is denied. (5) (Vagrant::Util::Subprocess::LaunchError)
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/subprocess.rb:101:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/subprocess.rb:22:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/base.rb:367:in `block in raw'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/base.rb:366:in `raw'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/base.rb:305:in `block in execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/retryable.rb:17:in `retryable'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/base.rb:300:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/meta.rb:133:in `read_version'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/driver/meta.rb:34:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/provider.rb:34:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/provider.rb:34:in `machine_id_changed'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/provider.rb:14:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/machine.rb:125:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/machine.rb:125:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/vagrantfile.rb:75:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/vagrantfile.rb:75:in `machine'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:416:in `machine'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:142:in `block in with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:175:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:175:in `block in with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:174:in `map'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:174:in `with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/commands/up/command.rb:58:in `block in execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:234:in `block (2 levels) in batch'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:232:in `tap'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:232:in `block in batch'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:231:in `synchronize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:231:in `batch'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/commands/up/command.rb:57:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/cli.rb:42:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:248:in `cli'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.4/bin/vagrant:164:in `<main>'
@girvo

This comment has been minimized.

Show comment Hide comment
@girvo

girvo May 30, 2014

Having the same issue as @ghodmode -- exactly the same

{ ov-vagrant } master » vagrant ssh                                                                                       ~/winhome/repos/ov-vagrant 1
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/util/subprocess.rb:108:in `rescue in execute': Access is denied. (5) (Vagrant::Util::Subprocess::LaunchError)
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/util/subprocess.rb:101:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/util/subprocess.rb:22:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/base.rb:371:in `block in raw'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/base.rb:370:in `raw'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/base.rb:309:in `block in execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/util/retryable.rb:17:in `retryable'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/base.rb:304:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/meta.rb:133:in `read_version'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/meta.rb:34:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/provider.rb:11:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/provider.rb:11:in `usable?'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/vagrantfile.rb:129:in `machine_config'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/vagrantfile.rb:45:in `machine'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/environment.rb:497:in `machine'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/plugin/v2/command.rb:168:in `block in with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/plugin/v2/command.rb:201:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/plugin/v2/command.rb:201:in `block in with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/plugin/v2/command.rb:200:in `map'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/plugin/v2/command.rb:200:in `with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/commands/ssh/command.rb:41:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/cli.rb:42:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/environment.rb:252:in `cli'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/bin/vagrant:166:in `<main>'

This is using Babun, which is basically zsh running in cygwin.

girvo commented May 30, 2014

Having the same issue as @ghodmode -- exactly the same

{ ov-vagrant } master » vagrant ssh                                                                                       ~/winhome/repos/ov-vagrant 1
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/util/subprocess.rb:108:in `rescue in execute': Access is denied. (5) (Vagrant::Util::Subprocess::LaunchError)
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/util/subprocess.rb:101:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/util/subprocess.rb:22:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/base.rb:371:in `block in raw'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/base.rb:370:in `raw'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/base.rb:309:in `block in execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/util/retryable.rb:17:in `retryable'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/base.rb:304:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/meta.rb:133:in `read_version'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/driver/meta.rb:34:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/provider.rb:11:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/providers/virtualbox/provider.rb:11:in `usable?'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/vagrantfile.rb:129:in `machine_config'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/vagrantfile.rb:45:in `machine'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/environment.rb:497:in `machine'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/plugin/v2/command.rb:168:in `block in with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/plugin/v2/command.rb:201:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/plugin/v2/command.rb:201:in `block in with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/plugin/v2/command.rb:200:in `map'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/plugin/v2/command.rb:200:in `with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/plugins/commands/ssh/command.rb:41:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/cli.rb:42:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/environment.rb:252:in `cli'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/bin/vagrant:166:in `<main>'

This is using Babun, which is basically zsh running in cygwin.

@chribben

This comment has been minimized.

Show comment Hide comment
@chribben

chribben Sep 25, 2014

Hello World

Hello World

@codeATbusiness

This comment has been minimized.

Show comment Hide comment
@codeATbusiness

codeATbusiness Oct 13, 2014

I had the same issue, any solution about it?

I had the same issue, any solution about it?

@oasisfleeting

This comment has been minimized.

Show comment Hide comment
@oasisfleeting

oasisfleeting Apr 4, 2015

mobaxterm version 7.7 (cygwin)
vagrant 1.7.2
virtualbox 4.3.26
I've added every suggested path to my sytem path i.e. git, ssh, plink etc...
I've altered ssh.rb to check for git instead of ppks
vagrant works find in gitbash and git shell terminals but I just cannot get it to work with mobaxterm/cygwin to save my life.

[2015-04-04 03:06.32] /drives/f/virtualbox_operating_systems/VagrantBoxes [admin.admin-PC] > vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'oasisfleeting/vag-ubunt'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'oasisfleeting/vag-ubunt' is up to date... ==> default: Setting the name of the VM: VagrantBoxes_default_1428134834191_54722 ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 => 2222 (adapter 1) ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... default: default: Vagrant insecure key detected. Vagrant will automatically replace default: this with a newly generated keypair for better security. default: default: Inserting generated public key within guest... default: Removing insecure key from the guest if its present... default: Key inserted! Disconnecting and reconnecting using new SSH key... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... ==> default: Mounting shared folders... default: /vagrant => F:/virtualbox_operating_systems/VagrantBoxes

[2015-04-04 03:07.59] /drives/f/virtualbox_operating_systems/VagrantBoxes [admin.admin-PC] > vagrant ssh C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:109:inrescue in execute': (216) (Vagrant::Util::Subprocess::LaunchError)
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:102:in execute' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:22:inexecute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/ssh.rb:85:in exec' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/ssh_exec.rb:39:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/action/check_running.rb:16:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/action/check_accessible.rb:18:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/action/check_created.rb:16:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/action/check_virtualbox.rb:17:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in block in run' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:inbusy'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in run' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:214:inaction_raw'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:191:in block in action' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:174:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:174:in block in action' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:in action' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh/command.rb:59:inblock in execute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:226:in block in with_target_vms' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:220:ineach'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:220:in with_target_vms' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh/command.rb:41:inexecute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/cli.rb:42:in execute' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:301:incli'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:174:in <main>'

mobaxterm version 7.7 (cygwin)
vagrant 1.7.2
virtualbox 4.3.26
I've added every suggested path to my sytem path i.e. git, ssh, plink etc...
I've altered ssh.rb to check for git instead of ppks
vagrant works find in gitbash and git shell terminals but I just cannot get it to work with mobaxterm/cygwin to save my life.

[2015-04-04 03:06.32] /drives/f/virtualbox_operating_systems/VagrantBoxes [admin.admin-PC] > vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'oasisfleeting/vag-ubunt'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'oasisfleeting/vag-ubunt' is up to date... ==> default: Setting the name of the VM: VagrantBoxes_default_1428134834191_54722 ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 => 2222 (adapter 1) ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... default: default: Vagrant insecure key detected. Vagrant will automatically replace default: this with a newly generated keypair for better security. default: default: Inserting generated public key within guest... default: Removing insecure key from the guest if its present... default: Key inserted! Disconnecting and reconnecting using new SSH key... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... ==> default: Mounting shared folders... default: /vagrant => F:/virtualbox_operating_systems/VagrantBoxes

[2015-04-04 03:07.59] /drives/f/virtualbox_operating_systems/VagrantBoxes [admin.admin-PC] > vagrant ssh C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:109:inrescue in execute': (216) (Vagrant::Util::Subprocess::LaunchError)
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:102:in execute' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:22:inexecute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/ssh.rb:85:in exec' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/ssh_exec.rb:39:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/action/check_running.rb:16:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/action/check_accessible.rb:18:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/action/check_created.rb:16:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/action/check_virtualbox.rb:17:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in block in run' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:inbusy'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in run' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:214:inaction_raw'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:191:in block in action' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:174:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:174:in block in action' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:incall'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:in action' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh/command.rb:59:inblock in execute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:226:in block in with_target_vms' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:220:ineach'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:220:in with_target_vms' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh/command.rb:41:inexecute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/cli.rb:42:in execute' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:301:incli'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:174:in <main>'

@dusank

This comment has been minimized.

Show comment Hide comment
@dusank

dusank Apr 23, 2015

Please REOPEN!

Not working in cmd neither in powershell on Win7-64bit. Still broken in 1.7.2.

It's a pity, I would really like to give vagrant a try ...

Any other suggestions how to avoid this bug in 1.7.2?

> vagrant up
C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:109:in `rescue in execute':  (193) (Vagrant::Util::Subprocess::LaunchError)
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:102:in `execute'                                              
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:22:in `execute'                                               
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:404:in `block in raw'                            
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in `busy'                                                        
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:403:in `raw'                                     
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:342:in `block in execute'                        
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17:in `retryable'                                              
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:337:in `execute'                                 
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:141:in `block in read_version'                   
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17:in `retryable'                                              
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:140:in `read_version'                            
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:38:in `initialize'                               
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/provider.rb:11:in `new'                                         
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/provider.rb:11:in `usable?'                                     
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:378:in `block in default_provider'                                
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:377:in `each'                                                     
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:377:in `default_provider'                                         
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:165:in `block in with_target_vms'                           
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:192:in `call'                                               
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:192:in `block in with_target_vms'                           
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:174:in `each'                                               
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:174:in `with_target_vms'                                    
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/up/command.rb:74:in `block in execute'                                      
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:277:in `block (2 levels) in batch'                                
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:275:in `tap'                                                      
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:275:in `block in batch'                                           
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:274:in `synchronize'                                              
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:274:in `batch'                                                    
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/up/command.rb:58:in `execute'                                               
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/cli.rb:42:in `execute'                                                           
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:301:in `cli'                                                      
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:174:in `<main>'                                                                  ```

dusank commented Apr 23, 2015

Please REOPEN!

Not working in cmd neither in powershell on Win7-64bit. Still broken in 1.7.2.

It's a pity, I would really like to give vagrant a try ...

Any other suggestions how to avoid this bug in 1.7.2?

> vagrant up
C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:109:in `rescue in execute':  (193) (Vagrant::Util::Subprocess::LaunchError)
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:102:in `execute'                                              
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:22:in `execute'                                               
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:404:in `block in raw'                            
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in `busy'                                                        
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:403:in `raw'                                     
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:342:in `block in execute'                        
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17:in `retryable'                                              
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:337:in `execute'                                 
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:141:in `block in read_version'                   
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17:in `retryable'                                              
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:140:in `read_version'                            
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:38:in `initialize'                               
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/provider.rb:11:in `new'                                         
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/provider.rb:11:in `usable?'                                     
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:378:in `block in default_provider'                                
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:377:in `each'                                                     
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:377:in `default_provider'                                         
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:165:in `block in with_target_vms'                           
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:192:in `call'                                               
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:192:in `block in with_target_vms'                           
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:174:in `each'                                               
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:174:in `with_target_vms'                                    
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/up/command.rb:74:in `block in execute'                                      
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:277:in `block (2 levels) in batch'                                
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:275:in `tap'                                                      
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:275:in `block in batch'                                           
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:274:in `synchronize'                                              
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:274:in `batch'                                                    
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/up/command.rb:58:in `execute'                                               
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/cli.rb:42:in `execute'                                                           
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:301:in `cli'                                                      
        from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:174:in `<main>'                                                                  ```
@dusank

This comment has been minimized.

Show comment Hide comment
@dusank

dusank Apr 23, 2015

Same command with debug log redirected to file.

=Dusan

> vagrant up --debug 1> log 2>&1 
 INFO global: Vagrant version: 1.7.2
 INFO global: Ruby version: 2.0.0
 INFO global: RubyGems version: 2.0.14
 INFO global: VAGRANT_EXECUTABLE="C:\\Tools\\Vagrant\\embedded\\gems\\gems\\vagrant-1.7.2\\bin\\vagrant"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\Tools\\Vagrant\\embedded"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
 INFO global: VAGRANT_LOG="debug"
 INFO global: Plugins:
 INFO global:   - bundler = 1.7.11
 INFO global:   - mime-types = 1.25.1
 INFO global:   - rdoc = 4.0.0
 INFO global:   - rest-client = 1.6.8
 INFO global:   - vagrant-share = 1.1.3
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/global-status/plugin.rb
 INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/list-commands/plugin.rb
 INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/login/plugin.rb
 INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/push/plugin.rb
 INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/rdp/plugin.rb
 INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/version/plugin.rb
 INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/winrm/plugin.rb
 INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/funtoo/plugin.rb
 INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/mint/plugin.rb
 INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/netbsd/plugin.rb
 INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/nixos/plugin.rb
 INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: RedHat guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/smartos/plugin.rb
 INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/tinycore/plugin.rb
 INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/windows/plugin.rb
 INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/darwin/plugin.rb
 INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/null/plugin.rb
 INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/suse/plugin.rb
 INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/docker/plugin.rb
 INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/hyperv/plugin.rb
 INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/atlas/plugin.rb
 INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/ftp/plugin.rb
 INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/heroku/plugin.rb
 INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/local-exec/plugin.rb
 INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/noop/plugin.rb
 INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/synced_folders/rsync/plugin.rb
 INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/synced_folders/smb/plugin.rb
 INFO manager: Registered plugin: SMB synced folders
 INFO global: Loading plugins!
 INFO manager: Registered plugin: vagrant-share
 INFO vagrant: `vagrant` invoked: ["up", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x3867e58>)
 INFO environment:   - cwd: D:/ws/vagrant/playbooks
 INFO environment: Home path: C:/Users/savant/.vagrant.d
 INFO environment: Local data path: D:/ws/vagrant/playbooks/.vagrant
DEBUG environment: Creating: D:/ws/vagrant/playbooks/.vagrant
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Builder:0x2cb77f0>
 INFO environment: Running hook: environment_load
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Builder:0x2d34cb0>
 INFO cli: CLI: [] "up" []
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command []
DEBUG command: 'Up' each target VM...
 INFO loader: Set :root = #<Pathname:D:/ws/vagrant/playbooks/Vagrantfile>
DEBUG loader: Populating proc cache for #<Pathname:D:/ws/vagrant/playbooks/Vagrantfile>
DEBUG loader: Load procs for pathname: D:/ws/vagrant/playbooks/Vagrantfile
 INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: ["default"]
DEBUG command:  -- options: {:provider=>nil}
DEBUG command: Finding machine that match name: default
 INFO loader: Set "29103960_machine_default" = []
 INFO loader: Loading configuration in order: [:home, :root, "29103960_machine_default"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
DEBUG base: Windows. Trying VBOX_INSTALL_PATH for VBoxManage
DEBUG base: VBOX_INSTALL_PATH value: C:\Tools\VirtualBox\
 INFO base: VBoxManage path: C:\Tools\VirtualBox\VBoxManage.exe
 INFO subprocess: Starting process: ["C:\\Tools\\VirtualBox\\VBoxManage.exe", "--version"]
 INFO environment: Running hook: environment_unload
 INFO host: Autodetecting host type for [#<Vagrant::Environment: D:/ws/vagrant/playbooks>]
DEBUG host: Trying: arch
DEBUG host: Trying: darwin
DEBUG host: Trying: freebsd
DEBUG host: Trying: gentoo
DEBUG host: Trying: redhat
DEBUG host: Trying: slackware
DEBUG host: Trying: suse
DEBUG host: Trying: bsd
DEBUG host: Trying: linux
DEBUG host: Trying: null
DEBUG host: Trying: windows
 INFO host: Detected: windows!
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Builder:0x39942d8>
C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:109:in `rescue in execute':  (193) (Vagrant::Util::Subprocess::LaunchError)
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:102:in `execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:22:in `execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:404:in `block in raw'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in `busy'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:403:in `raw'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:342:in `block in execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17:in `retryable'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:337:in `execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:141:in `block in read_version'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17:in `retryable'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:140:in `read_version'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:38:in `initialize'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/provider.rb:11:in `new'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/provider.rb:11:in `usable?'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:378:in `block in default_provider'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:377:in `each'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:377:in `default_provider'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:165:in `block in with_target_vms'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:192:in `call'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:192:in `block in with_target_vms'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:174:in `each'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:174:in `with_target_vms'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/up/command.rb:74:in `block in execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:277:in `block (2 levels) in batch'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:275:in `tap'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:275:in `block in batch'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:274:in `synchronize'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:274:in `batch'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/up/command.rb:58:in `execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/cli.rb:42:in `execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:301:in `cli'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:174:in `<main>'

dusank commented Apr 23, 2015

Same command with debug log redirected to file.

=Dusan

> vagrant up --debug 1> log 2>&1 
 INFO global: Vagrant version: 1.7.2
 INFO global: Ruby version: 2.0.0
 INFO global: RubyGems version: 2.0.14
 INFO global: VAGRANT_EXECUTABLE="C:\\Tools\\Vagrant\\embedded\\gems\\gems\\vagrant-1.7.2\\bin\\vagrant"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\Tools\\Vagrant\\embedded"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
 INFO global: VAGRANT_LOG="debug"
 INFO global: Plugins:
 INFO global:   - bundler = 1.7.11
 INFO global:   - mime-types = 1.25.1
 INFO global:   - rdoc = 4.0.0
 INFO global:   - rest-client = 1.6.8
 INFO global:   - vagrant-share = 1.1.3
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/global-status/plugin.rb
 INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/list-commands/plugin.rb
 INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/login/plugin.rb
 INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/push/plugin.rb
 INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/rdp/plugin.rb
 INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/version/plugin.rb
 INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/winrm/plugin.rb
 INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/funtoo/plugin.rb
 INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/mint/plugin.rb
 INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/netbsd/plugin.rb
 INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/nixos/plugin.rb
 INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: RedHat guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/smartos/plugin.rb
 INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/tinycore/plugin.rb
 INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/windows/plugin.rb
 INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/darwin/plugin.rb
 INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/null/plugin.rb
 INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/suse/plugin.rb
 INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/docker/plugin.rb
 INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/hyperv/plugin.rb
 INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/atlas/plugin.rb
 INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/ftp/plugin.rb
 INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/heroku/plugin.rb
 INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/local-exec/plugin.rb
 INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/noop/plugin.rb
 INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/synced_folders/rsync/plugin.rb
 INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/synced_folders/smb/plugin.rb
 INFO manager: Registered plugin: SMB synced folders
 INFO global: Loading plugins!
 INFO manager: Registered plugin: vagrant-share
 INFO vagrant: `vagrant` invoked: ["up", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x3867e58>)
 INFO environment:   - cwd: D:/ws/vagrant/playbooks
 INFO environment: Home path: C:/Users/savant/.vagrant.d
 INFO environment: Local data path: D:/ws/vagrant/playbooks/.vagrant
DEBUG environment: Creating: D:/ws/vagrant/playbooks/.vagrant
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Builder:0x2cb77f0>
 INFO environment: Running hook: environment_load
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Builder:0x2d34cb0>
 INFO cli: CLI: [] "up" []
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command []
DEBUG command: 'Up' each target VM...
 INFO loader: Set :root = #<Pathname:D:/ws/vagrant/playbooks/Vagrantfile>
DEBUG loader: Populating proc cache for #<Pathname:D:/ws/vagrant/playbooks/Vagrantfile>
DEBUG loader: Load procs for pathname: D:/ws/vagrant/playbooks/Vagrantfile
 INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: ["default"]
DEBUG command:  -- options: {:provider=>nil}
DEBUG command: Finding machine that match name: default
 INFO loader: Set "29103960_machine_default" = []
 INFO loader: Loading configuration in order: [:home, :root, "29103960_machine_default"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
DEBUG base: Windows. Trying VBOX_INSTALL_PATH for VBoxManage
DEBUG base: VBOX_INSTALL_PATH value: C:\Tools\VirtualBox\
 INFO base: VBoxManage path: C:\Tools\VirtualBox\VBoxManage.exe
 INFO subprocess: Starting process: ["C:\\Tools\\VirtualBox\\VBoxManage.exe", "--version"]
 INFO environment: Running hook: environment_unload
 INFO host: Autodetecting host type for [#<Vagrant::Environment: D:/ws/vagrant/playbooks>]
DEBUG host: Trying: arch
DEBUG host: Trying: darwin
DEBUG host: Trying: freebsd
DEBUG host: Trying: gentoo
DEBUG host: Trying: redhat
DEBUG host: Trying: slackware
DEBUG host: Trying: suse
DEBUG host: Trying: bsd
DEBUG host: Trying: linux
DEBUG host: Trying: null
DEBUG host: Trying: windows
 INFO host: Detected: windows!
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Builder:0x39942d8>
C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:109:in `rescue in execute':  (193) (Vagrant::Util::Subprocess::LaunchError)
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:102:in `execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:22:in `execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:404:in `block in raw'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in `busy'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:403:in `raw'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:342:in `block in execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17:in `retryable'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:337:in `execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:141:in `block in read_version'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17:in `retryable'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:140:in `read_version'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:38:in `initialize'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/provider.rb:11:in `new'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/provider.rb:11:in `usable?'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:378:in `block in default_provider'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:377:in `each'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:377:in `default_provider'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:165:in `block in with_target_vms'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:192:in `call'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:192:in `block in with_target_vms'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:174:in `each'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:174:in `with_target_vms'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/up/command.rb:74:in `block in execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:277:in `block (2 levels) in batch'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:275:in `tap'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:275:in `block in batch'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:274:in `synchronize'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:274:in `batch'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/up/command.rb:58:in `execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/cli.rb:42:in `execute'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:301:in `cli'
    from C:/Tools/Vagrant/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:174:in `<main>'
@dusank

This comment has been minimized.

Show comment Hide comment
@dusank

dusank Apr 24, 2015

I have spent some time analyzing the code, working my way slowly up the vagrant call stack and I've found the cause, at least on my own system.

VBoxManage.exe was terminating with an error message since it strangely had only 0 bytes length. It is strange since my SSD works perfectly and I have just recently installed VirtualBox without any errors at all. Thus simply running a repair on my VirtualBox installation fixed the problem for me.

@mitchellh, since it is evident that more people run into this or at least similar kinds of bugs with VirtualBox called via vagrant, I would like to suggest improving the error message to indicate clearly that there is a problem with executing VBoxManage.exe, so that users don't have to go on bughunting in the source code on their own or opening similar issues.

Anyways, I like vagrant, good job! 👍

dusank commented Apr 24, 2015

I have spent some time analyzing the code, working my way slowly up the vagrant call stack and I've found the cause, at least on my own system.

VBoxManage.exe was terminating with an error message since it strangely had only 0 bytes length. It is strange since my SSD works perfectly and I have just recently installed VirtualBox without any errors at all. Thus simply running a repair on my VirtualBox installation fixed the problem for me.

@mitchellh, since it is evident that more people run into this or at least similar kinds of bugs with VirtualBox called via vagrant, I would like to suggest improving the error message to indicate clearly that there is a problem with executing VBoxManage.exe, so that users don't have to go on bughunting in the source code on their own or opening similar issues.

Anyways, I like vagrant, good job! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment