Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrant freezes in vagrant up (windows host) #9391

Closed
basos9 opened this issue Jan 21, 2018 · 5 comments
Closed

Vagrant freezes in vagrant up (windows host) #9391

basos9 opened this issue Jan 21, 2018 · 5 comments

Comments

@basos9
Copy link

basos9 commented Jan 21, 2018

Hello,
I have tried to do the simplest initialization for vagrant on Windows 7

> vagrant init
> vagrant up

but is stucks there.
Tried with vagrant 2.0.1 and vagrant 1.9.8
Tried with admin cmd prompt.
Tried with disabled Antivirus.
Tried on a second windows 7 machine with the same result.

Vagrant version

Vagrant 2.0.1 and Vagrant 1.9.8

Host operating system

HOST: windows 7 x64
OS Version: 6.1.7601 Service Pack 1 Build 7601

Guest operating system

precise64

Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "hashicorp/precise64"
end

Debug output

https://gist.github.com/basos9/fbf996be0ff7a89dada3e8bb374a4eb1

Expected behavior

Vagrant virtual environment to be up and running.

Actual behavior

Command prompt freezes at vagrant up. System resources (CPU, Network) are idling. Application is frozen.

Steps to reproduce

  1. Download vagrant 2.0.1 for windows x64. Install on Windows 7 x64
  2. Open a command prompt in a working directory.
  3. vagrant init
  4. vagrant up

References

@mmodler
Copy link

mmodler commented Jan 22, 2018

We had the same problem. Upgrading powershell as mentioned here #8783 helped. We upgraded pwershell 2.0 to 4.0.

@briancain
Copy link
Member

Hi @basos9 - if you could, please confirm that upgrading powershell fixes your issue. thanks!

@basos9
Copy link
Author

basos9 commented Jan 22, 2018

Yes, upgrading Powershell to version 3 solved this issue.
And also the workaround of killing the spawned powershell process, also makes the script to continue, only to split out that the installed powershell version is not supported and version 3 is the minimum requirement.

I suspect that the check for the powershell version produces the freeze, itself.

If this is not considered a bug, which since there is already a check mechanism, it is, maybe, at least, update the readme to state out loud that Powershell v3 is a requirement.

@briancain
Copy link
Member

It's definitely a bug, however we already have an issue tracking the work (#9056). I'll go ahead and close this as a duplicate. Thanks!

@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants