hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.31k stars 4.43k forks source link

Vagrant hangs when creating new HyperV box. #7554

Closed bbrala closed 8 years ago

bbrala commented 8 years ago

Vagrant version

1.8.4

Host operating system

Windows 10 Pro Insider Preview

Guest operating system

Ubuntu 14.04 (doesn't reach this part)

Vagrantfile

Vagrant.configure(2) do |config|
  config.vm.hostname = "dev.local"

  # HyperV can't have a static IP address
  config.vm.provider "hyperv" do |h, override|
    override.vm.box = "fletcherh/trusty64"
    override.vm.network "private_network", use_dhcp_assigned_default_route: true
  end

  config.vm.network "forwarded_port", guest: 80, host: 8080
  config.vm.network "forwarded_port", guest: 3306, host: 3306

  config.ssh.forward_agent = true

  config.vm.provider "hyperv" do |h|
    h.cpus = 4
    h.memory = 4096
    h.maxmemory = 8192
  end
end

Debug output

Show ``` Windows PowerShell Copyright (C) 2016 Microsoft Corporation. All rights reserved. PS C:\WINDOWS\system32> G: PS G:\> cd .\laragon\www\devlocal\ PS G:\laragon\www\devlocal> vagrant up --provider=hyperv --debug INFO global: Vagrant version: 1.8.4 INFO global: Ruby version: 2.2.3 INFO global: RubyGems version: 2.4.5.1 INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.8.4\\bin\\vagrant" INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\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: VAGRANT_OLD_ENV_ALLUSERSPROFILE="C:\\ProgramData" INFO global: VAGRANT_OLD_ENV_APPDATA="C:\\Users\\bjorn\\AppData\\Roaming" INFO global: VAGRANT_OLD_ENV_CommonProgramFiles="C:\\Program Files (x86)\\Common Files" INFO global: VAGRANT_OLD_ENV_CommonProgramFiles(x86)="C:\\Program Files (x86)\\Common Files" INFO global: VAGRANT_OLD_ENV_CommonProgramW6432="C:\\Program Files\\Common Files" INFO global: VAGRANT_OLD_ENV_COMPUTERNAME="BJORN-PC" INFO global: VAGRANT_OLD_ENV_ComSpec="C:\\WINDOWS\\system32\\cmd.exe" INFO global: VAGRANT_OLD_ENV_devmgr_show_nonpresent_devices="1" INFO global: VAGRANT_OLD_ENV_ESET_OPTIONS=" " INFO global: VAGRANT_OLD_ENV_GOPATH="G:\\GoRoot" INFO global: VAGRANT_OLD_ENV_GOROOT="G:\\Go\\" INFO global: VAGRANT_OLD_ENV_HOMEDRIVE="C:" INFO global: VAGRANT_OLD_ENV_HOMEPATH="\\Users\\bjorn" INFO global: VAGRANT_OLD_ENV_LOCALAPPDATA="C:\\Users\\bjorn\\AppData\\Local" INFO global: VAGRANT_OLD_ENV_LOGONSERVER="\\\\BJORN-PC" INFO global: VAGRANT_OLD_ENV_NUMBER_OF_PROCESSORS="4" INFO global: VAGRANT_OLD_ENV_NVM_HOME="C:\\Users\\bjorn\\AppData\\Roaming\\nvm" INFO global: VAGRANT_OLD_ENV_NVM_SYMLINK="C:\\Program Files\\nodejs" INFO global: VAGRANT_OLD_ENV_OS="Windows_NT" INFO global: VAGRANT_OLD_ENV_Path="C:\\Program Files\\Docker\\Docker\\Resources\\bin;C:\\PROGRAMDATA\\ORACLE\\JAVA\\JAV APATH;C:\\PYTHON27\\;C:\\PYTHON27\\SCRIPTS;C:\\WINDOWS\\SYSTEM32;C:\\WINDOWS;C:\\WINDOWS\\SYSTEM32\\WBEM;C:\\WINDOWS\\SY STEM32\\WINDOWSPOWERSHELL\\V1.0\\;C:\\PROGRAM FILES (X86)\\ATI TECHNOLOGIES\\ATI.ACE\\CORE-STATIC;C:\\PROGRAM FILES (X86 )\\AMD\\ATI.ACE\\CORE-STATIC;C:\\PROGRAM FILES\\ORACLE\\VIRTUALBOX\\;C:\\USERS\\BJORN\\;G:\\GO\\BIN;G:\\GOROOT\\BIN;C:\\ PROGRAM FILES\\GIT\\CMD;C:\\Users\\bjorn\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;G:\\VAGRANT\\BIN;C:\\PROGRAM F ILES (X86)\\SKYPE\\PHONE\\;c:\\tools;C:\\Program Files (x86)\\PuTTY\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\Users\\bjorn \\AppData\\Local\\Microsoft\\WindowsApps;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C: \\HashiCorp\\Vagrant\\bin;C:\\Ruby22-x64\\bin;C:\\Program Files (x86)\\Microsoft VS Code\\bin;C:\\Users\\bjorn\\AppData\ \Local\\Microsoft\\WindowsApps;C:\\Program Files (x86)\\SVP 4\\mpv64" INFO global: VAGRANT_OLD_ENV_PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL" INFO global: VAGRANT_OLD_ENV_PROCESSOR_ARCHITECTURE="x86" INFO global: VAGRANT_OLD_ENV_PROCESSOR_ARCHITEW6432="AMD64" INFO global: VAGRANT_OLD_ENV_PROCESSOR_IDENTIFIER="Intel64 Family 6 Model 58 Stepping 9, GenuineIntel" INFO global: VAGRANT_OLD_ENV_PROCESSOR_LEVEL="6" INFO global: VAGRANT_OLD_ENV_PROCESSOR_REVISION="3a09" INFO global: VAGRANT_OLD_ENV_ProgramData="C:\\ProgramData" INFO global: VAGRANT_OLD_ENV_ProgramFiles="C:\\Program Files (x86)" INFO global: VAGRANT_OLD_ENV_ProgramFiles(x86)="C:\\Program Files (x86)" INFO global: VAGRANT_OLD_ENV_ProgramW6432="C:\\Program Files" INFO global: VAGRANT_OLD_ENV_PSModulePath="H:\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShe ll\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\" INFO global: VAGRANT_OLD_ENV_PUBLIC="C:\\Users\\Public" INFO global: VAGRANT_OLD_ENV_PYTHONPATH="C:\\Program Files (x86)\\SVP 4\\mpv64" INFO global: VAGRANT_OLD_ENV_QT_DEVICE_PIXEL_RATIO="auto" INFO global: VAGRANT_OLD_ENV_SystemDrive="C:" INFO global: VAGRANT_OLD_ENV_SystemRoot="C:\\WINDOWS" INFO global: VAGRANT_OLD_ENV_TEMP="C:\\Users\\bjorn\\AppData\\Local\\Temp" INFO global: VAGRANT_OLD_ENV_TMP="C:\\Users\\bjorn\\AppData\\Local\\Temp" INFO global: VAGRANT_OLD_ENV_UD_INSTALL_DIR="C:\\Program Files\\UltraDefrag" INFO global: VAGRANT_OLD_ENV_USERDOMAIN="BJORN-PC" INFO global: VAGRANT_OLD_ENV_USERDOMAIN_ROAMINGPROFILE="BJORN-PC" INFO global: VAGRANT_OLD_ENV_USERNAME="bjorn" INFO global: VAGRANT_OLD_ENV_USERPROFILE="C:\\Users\\bjorn" INFO global: VAGRANT_OLD_ENV_VBOX_MSI_INSTALL_PATH="C:\\Program Files\\Oracle\\VirtualBox\\" INFO global: VAGRANT_OLD_ENV_windir="C:\\WINDOWS" INFO global: Plugins: INFO global: - bundler = 1.12.5 INFO global: - mime-types = 1.25.1 INFO global: - rest-client = 1.6.9 INFO global: - vagrant-reload = 0.0.1 INFO global: - vagrant-share = 1.1.5 DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/box/plugin.rb INFO manager: Registered plugin: box command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/cap/plugin.rb INFO manager: Registered plugin: cap command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/destroy/plugin .rb INFO manager: Registered plugin: destroy command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/global-status/ plugin.rb INFO manager: Registered plugin: global-status command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/halt/plugin.rb INFO manager: Registered plugin: halt command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/help/plugin.rb INFO manager: Registered plugin: help command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/init/plugin.rb INFO manager: Registered plugin: init command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/list-commands/ plugin.rb INFO manager: Registered plugin: list-commands command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/login/plugin.r b INFO manager: Registered plugin: vagrant-login DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/package/plugin .rb INFO manager: Registered plugin: package command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/plugin/plugin. rb INFO manager: Registered plugin: plugin command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/port/plugin.rb INFO manager: Registered plugin: port command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/powershell/plu gin.rb INFO manager: Registered plugin: powershell command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/provider/plugi n.rb INFO manager: Registered plugin: provider command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/provision/plug in.rb INFO manager: Registered plugin: provision command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/push/plugin.rb INFO manager: Registered plugin: push command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/rdp/plugin.rb INFO manager: Registered plugin: rdp command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/reload/plugin. rb INFO manager: Registered plugin: reload command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/resume/plugin. rb INFO manager: Registered plugin: resume command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/snapshot/plugi n.rb INFO manager: Registered plugin: snapshot command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/ssh/plugin.rb INFO manager: Registered plugin: ssh command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/ssh_config/plu gin.rb INFO manager: Registered plugin: ssh-config command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/status/plugin. rb INFO manager: Registered plugin: status command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/suspend/plugin .rb INFO manager: Registered plugin: suspend command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/up/plugin.rb INFO manager: Registered plugin: up command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/commands/version/plugin .rb INFO manager: Registered plugin: version command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/communicators/ssh/plugi n.rb INFO manager: Registered plugin: ssh communicator DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/communicators/winrm/plu gin.rb INFO manager: Registered plugin: winrm communicator DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/amazon/plugin.rb INFO manager: Registered plugin: Amazon Linux guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/arch/plugin.rb INFO manager: Registered plugin: Arch guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/atomic/plugin.rb INFO manager: Registered plugin: Atomic Host guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/coreos/plugin.rb INFO manager: Registered plugin: CoreOS guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/darwin/plugin.rb INFO manager: Registered plugin: Darwin guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/debian/plugin.rb INFO manager: Registered plugin: Debian guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/esxi/plugin.rb INFO manager: Registered plugin: ESXi guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/fedora/plugin.rb INFO manager: Registered plugin: Fedora guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/freebsd/plugin.r b INFO manager: Registered plugin: FreeBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/funtoo/plugin.rb INFO manager: Registered plugin: Funtoo guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/linux/plugin.rb INFO manager: Registered plugin: Linux guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/mint/plugin.rb INFO manager: Registered plugin: Mint guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/netbsd/plugin.rb INFO manager: Registered plugin: NetBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/nixos/plugin.rb INFO manager: Registered plugin: NixOS guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/omnios/plugin.rb INFO manager: Registered plugin: OmniOS guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/openbsd/plugin.r b INFO manager: Registered plugin: OpenBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/photon/plugin.rb INFO manager: Registered plugin: VMware Photon guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/pld/plugin.rb INFO manager: Registered plugin: PLD Linux guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/redhat/plugin.rb INFO manager: Registered plugin: Red Hat Enterprise Linux guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/slackware/plugin .rb INFO manager: Registered plugin: Slackware guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/smartos/plugin.r b INFO manager: Registered plugin: SmartOS guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/solaris/plugin.r b INFO manager: Registered plugin: Solaris guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/solaris11/plugin .rb INFO manager: Registered plugin: Solaris 11 guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/suse/plugin.rb INFO manager: Registered plugin: SUSE guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/tinycore/plugin. rb INFO manager: Registered plugin: TinyCore Linux guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/trisquel/plugin. rb INFO manager: Registered plugin: Trisquel guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/ubuntu/plugin.rb INFO manager: Registered plugin: Ubuntu guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/guests/windows/plugin.r b INFO manager: Registered plugin: Windows guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/hosts/arch/plugin.rb INFO manager: Registered plugin: Arch host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/hosts/bsd/plugin.rb INFO manager: Registered plugin: BSD host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/hosts/darwin/plugin.rb INFO manager: Registered plugin: Mac OS X host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/hosts/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/hosts/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/hosts/linux/plugin.rb INFO manager: Registered plugin: Linux host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/hosts/null/plugin.rb INFO manager: Registered plugin: null host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/hosts/redhat/plugin.rb INFO manager: Registered plugin: Red Hat Enterprise Linux host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/hosts/slackware/plugin. rb INFO manager: Registered plugin: Slackware host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/hosts/suse/plugin.rb INFO manager: Registered plugin: SUSE host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/hosts/windows/plugin.rb INFO manager: Registered plugin: Windows host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/kernel_v1/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/kernel_v2/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/providers/docker/plugin .rb INFO manager: Registered plugin: docker-provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/providers/hyperv/plugin .rb INFO manager: Registered plugin: Hyper-V provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/providers/virtualbox/pl ugin.rb INFO manager: Registered plugin: VirtualBox provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/provisioners/ansible/pl ugin.rb INFO manager: Registered plugin: ansible DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/provisioners/cfengine/p lugin.rb INFO manager: Registered plugin: CFEngine Provisioner DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/provisioners/chef/plugi n.rb INFO manager: Registered plugin: chef DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/provisioners/docker/plu gin.rb INFO manager: Registered plugin: docker DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/provisioners/file/plugi n.rb INFO manager: Registered plugin: file DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/provisioners/puppet/plu gin.rb INFO manager: Registered plugin: puppet DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/provisioners/salt/plugi n.rb INFO manager: Registered plugin: salt DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/provisioners/shell/plug in.rb INFO manager: Registered plugin: shell DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/pushes/atlas/plugin.rb INFO manager: Registered plugin: atlas DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/pushes/ftp/plugin.rb INFO manager: Registered plugin: ftp DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/pushes/heroku/plugin.rb INFO manager: Registered plugin: heroku DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/pushes/local-exec/plugi n.rb INFO manager: Registered plugin: local-exec DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/pushes/noop/plugin.rb INFO manager: Registered plugin: noop DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/synced_folders/nfs/plug in.rb INFO manager: Registered plugin: NFS synced folders DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/synced_folders/rsync/pl ugin.rb INFO manager: Registered plugin: RSync synced folders DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/synced_folders/smb/plug in.rb INFO manager: Registered plugin: SMB synced folders INFO global: Loading plugins! INFO manager: Registered plugin: vagrant-share INFO manager: Registered plugin: Reload INFO vagrant: `vagrant` invoked: ["up", "--provider=hyperv", "--debug"] DEBUG vagrant: Creating Vagrant environment INFO environment: Environment initialized (#) INFO environment: - cwd: G:/laragon/www/devlocal INFO environment: Home path: C:/Users/bjorn/.vagrant.d INFO environment: Local data path: G:/laragon/www/devlocal/.vagrant DEBUG environment: Creating: G:/laragon/www/devlocal/.vagrant INFO environment: Running hook: environment_plugins_loaded INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: environment_plugins_loaded # INFO environment: Running hook: environment_load INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: environment_load # INFO cli: CLI: [] "up" ["--provider=hyperv"] DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--provider=hyperv"] DEBUG command: 'Up' each target VM... INFO loader: Set :root = ["#"] DEBUG loader: Populating proc cache for # DEBUG loader: Load procs for pathname: G:/laragon/www/devlocal/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: nil DEBUG command: Finding machine that match name: default INFO loader: Set "28488876_machine_default" = [] INFO loader: Loading configuration in order: [:home, :root, "28488876_machine_default"] DEBUG loader: Loading from: root (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO environment: Getting machine: default (hyperv) INFO environment: Uncached load of machine. INFO loader: Set "28488876_machine_default" = [] INFO loader: Loading configuration in order: [:home, :root, "28488876_machine_default"] DEBUG loader: Loading from: root (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO loader: Set :"28488876_vm_default__hyperv" = ["[\"2\", #]"] DEBUG loader: Populating proc cache for ["2", #] INFO loader: Loading configuration in order: [:home, :root, "28488876_machine_default", :"28488876_vm_default__hyperv"] DEBUG loader: Loading from: root (cache) DEBUG loader: Loading from: 28488876_vm_default__hyperv (evaluating) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO box_collection: Box not found: fletcherh/trusty64 (hyperv) INFO loader: Set :"28488876_vm_default_fletcherh/trusty64_hyperv" = ["[\"2\", #]"] INFO loader: Loading configuration in order: [:home, :root, "28488876_machine_default", :"28488876_vm_default_fletcherh /trusty64_hyperv"] ERROR loader: Unknown config sources: [:"28488876_vm_default__hyperv"] DEBUG loader: Loading from: root (cache) DEBUG loader: Loading from: 28488876_vm_default_fletcherh/trusty64_hyperv (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO machine: Initializing machine: default INFO machine: - Provider: VagrantPlugins::HyperV::Provider INFO machine: - Box: INFO machine: - Data dir: G:/laragon/www/devlocal/.vagrant/machines/default/hyperv INFO machine: New machine ID: nil INFO interface: Machine: metadata ["provider", :hyperv, {:target=>:default}] INFO command: With machine: default (#, @driver=#, @cap_logger=#, @name="stderr", @level=0, @formatter=#, @out=#>>], @additive= true, @name="vagrant", @path="", @parent=#, @level=1, @trace=false >, @level=1, @trace=false>, @cap_host_chain=[[:hyperv, #<#:0x3892ff8>]], @cap_args=[#], @cap_caps={:docker=>##, :proxy_ machine=>#}, @results_cache={}>, :hyperv=>##, :snapshot_list=>#}, @results_cache={}>, :virtualbox=>##, :nic_mac_addresses=>#, :public_address=>#, :snapshot_list=>#}, @results_cache={}>}>) INFO host: Autodetecting host type for [#] 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! DEBUG host: Searching for cap: provider_install_hyperv DEBUG host: Checking in: windows DEBUG command: Getting target VMs for command. Arguments: DEBUG command: -- names: ["default"] DEBUG command: -- options: {:provider=>"hyperv"} DEBUG command: Finding machine that match name: default INFO environment: Getting machine: default (hyperv) INFO environment: Returning cached machine: default (hyperv) INFO command: With machine: default (#, @driver=#, @cap_logger=#, @name="stderr", @level=0, @formatter=#, @out=#>>], @additive= true, @name="vagrant", @path="", @parent=#, @level=1, @trace=false >, @level=1, @trace=false>, @cap_host_chain=[[:hyperv, #<#:0x3892ff8>]], @cap_args=[#], @cap_caps={:docker=>##, :proxy_ machine=>#}, @results_cache={}>, :hyperv=>##, :snapshot_list=>#}, @results_cache={}>, :virtualbox=>##, :nic_mac_addresses=>#, :public_address=>#, :snapshot_list=>#}, @results_cache={}>}>) INFO interface: info: Bringing machine 'default' up with 'hyperv' provider... Bringing machine 'default' up with 'hyperv' provider... INFO batch_action: Enabling parallelization by default. INFO batch_action: Disabling parallelization because provider doesn't support it: hyperv INFO batch_action: Batch action will parallelize: false INFO batch_action: Starting action: # up {:destroy_on_error=>true, :install_provider=>true, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil, :provider=>"hyperv"} INFO machine: Calling action: up on provider Hyper-V (new) DEBUG environment: Attempting to acquire process-lock: machine-action-32173e1171b474f9453a758f2415bf0e DEBUG environment: Attempting to acquire process-lock: dotlock INFO environment: Acquired process lock: dotlock INFO environment: Released process lock: dotlock INFO environment: Acquired process lock: machine-action-32173e1171b474f9453a758f2415bf0e INFO interface: Machine: action ["up", "start", {:target=>:default}] INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: machine_action_up # INFO warden: Calling IN action: # INFO interface: output: Verifying Hyper-V is enabled... INFO interface: output: ==> default: Verifying Hyper-V is enabled... ==> default: Verifying Hyper-V is enabled... INFO subprocess: Starting process: ["C:\\WINDOWS\\SYSTEM32\\WINDOWSPOWERSHELL\\V1.0\\/powershell.EXE", "-NoProfile", "- ExecutionPolicy", "Bypass", "&('C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.8.4\\plugins\\providers\\hyperv\ \scripts\\check_hyperv.ps1')", "-ErrorAction", "Stop"] INFO subprocess: Command not in installer, restoring original environment... DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: ===Begin-Output=== { "result": true } ===End-Output=== ```

Expected behavior

Vagrant should start making the box

Actual behavior

Vagrant hangs after checking HyperV

Steps to reproduce

  1. vagrant up
  2. a machine
  3. Nothing.
bbrala commented 8 years ago

Maybe usefull:

PS C:\WINDOWS\SYSTEM32\WINDOWSPOWERSHELL\V1.0> $PSVersionTable.PSVersion.Major
5
PS C:\WINDOWS\SYSTEM32\WINDOWSPOWERSHELL\V1.0> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      14372  0
ghost commented 4 years ago

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.