hashicorp / vagrant

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

"Script: import_vm.ps1 Error" when run vagrant up #10789

Closed krompets closed 5 years ago

krompets commented 5 years ago

Please note that the Vagrant issue tracker is in priority reserved for bug reports and enhancements. For general usage questions, please use the Vagrant mailing list: https://groups.google.com/forum/#!forum/vagrant-up. Thank you!

Tip: Before submitting your issue, don't hesitate to remove the above introductory text, possible empty sections (e.g. References), and this tip.

Vagrant version

Vagrant 2.2.4

Host operating system

Windows-10

Guest operating system

Centos7

Debug output

Microsoft Windows [Version 10.0.17763.348] (c) 2018 Microsoft Corporation. All rights reserved.

rkrompets@WIN-9J214D0NDHV C:\Users\rkrompets> cd hyperv/CL7

rkrompets@WIN-9J214D0NDHV C:\Users\rkrompets\hyperv\CL7> vagrant up --debug INFO global: Vagrant version: 2.2.4 INFO global: Ruby version: 2.4.4 INFO global: RubyGems version: 2.6.14.1 INFO global: VAGRANT_EXECUTABLE="C:\HashiCorp\Vagrant\embedded\gems\2.2.4\gems\vagrant-2.2.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_LOG="debug" WARN global: resolv replacement has not been enabled! DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/box/plugin.rb INFO manager: Registered plugin: box command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/cap/plugin.rb INFO manager: Registered plugin: cap command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/cloud/plugin.rb INFO manager: Registered plugin: vagrant-cloud DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/destroy/plugin.rb INFO manager: Registered plugin: destroy command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/global-status/plugin.rb INFO manager: Registered plugin: global-status command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/halt/plugin.rb INFO manager: Registered plugin: halt command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/help/plugin.rb INFO manager: Registered plugin: help command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/init/plugin.rb INFO manager: Registered plugin: init command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/list-commands/plugin.rb INFO manager: Registered plugin: list-commands command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/login/plugin.rb INFO manager: Registered plugin: vagrant-login DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/package/plugin.rb INFO manager: Registered plugin: package command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/plugin/plugin.rb INFO manager: Registered plugin: plugin command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/port/plugin.rb INFO manager: Registered plugin: port command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/powershell/plugin.rb INFO manager: Registered plugin: powershell command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/provider/plugin.rb INFO manager: Registered plugin: provider command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/provision/plugin.rb INFO manager: Registered plugin: provision command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/push/plugin.rb INFO manager: Registered plugin: push command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/rdp/plugin.rb INFO manager: Registered plugin: rdp command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/reload/plugin.rb INFO manager: Registered plugin: reload command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/resume/plugin.rb INFO manager: Registered plugin: resume command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/snapshot/plugin.rb INFO manager: Registered plugin: snapshot command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/ssh/plugin.rb INFO manager: Registered plugin: ssh command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/ssh_config/plugin.rb INFO manager: Registered plugin: ssh-config command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/status/plugin.rb INFO manager: Registered plugin: status command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/suspend/plugin.rb INFO manager: Registered plugin: suspend command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/up/plugin.rb INFO manager: Registered plugin: up command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/upload/plugin.rb INFO manager: Registered plugin: upload command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/validate/plugin.rb INFO manager: Registered plugin: validate command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/version/plugin.rb INFO manager: Registered plugin: version command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/winrm/plugin.rb INFO manager: Registered plugin: winrm command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/winrm_config/plugin.rb INFO manager: Registered plugin: winrm-config command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/ssh/plugin.rb INFO manager: Registered plugin: ssh communicator DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/winrm/plugin.rb INFO manager: Registered plugin: winrm communicator DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/winssh/plugin.rb INFO manager: Registered plugin: windows ssh communicator DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/alt/plugin.rb INFO manager: Registered plugin: ALT Platform guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/amazon/plugin.rb INFO manager: Registered plugin: Amazon Linux guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/arch/plugin.rb INFO manager: Registered plugin: Arch guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/atomic/plugin.rb INFO manager: Registered plugin: Atomic Host guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/bsd/plugin.rb INFO manager: Registered plugin: BSD-based guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/coreos/plugin.rb INFO manager: Registered plugin: CoreOS guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/darwin/plugin.rb INFO manager: Registered plugin: Darwin guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/debian/plugin.rb INFO manager: Registered plugin: Debian guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/dragonflybsd/plugin.rb INFO manager: Registered plugin: DragonFly BSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/elementary/plugin.rb INFO manager: Registered plugin: Elementary guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/esxi/plugin.rb INFO manager: Registered plugin: ESXi guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/fedora/plugin.rb INFO manager: Registered plugin: Fedora guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/funtoo/plugin.rb INFO manager: Registered plugin: Funtoo guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/haiku/plugin.rb INFO manager: Registered plugin: Haiku guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/kali/plugin.rb INFO manager: Registered plugin: Kali guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/linux/plugin.rb INFO manager: Registered plugin: Linux guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/mint/plugin.rb INFO manager: Registered plugin: Mint guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/netbsd/plugin.rb INFO manager: Registered plugin: NetBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/nixos/plugin.rb INFO manager: Registered plugin: NixOS guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/omnios/plugin.rb INFO manager: Registered plugin: OmniOS guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/openbsd/plugin.rb INFO manager: Registered plugin: OpenBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/photon/plugin.rb INFO manager: Registered plugin: VMware Photon guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/pld/plugin.rb INFO manager: Registered plugin: PLD Linux guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.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/2.2.4/gems/vagrant-2.2.4/plugins/guests/slackware/plugin.rb INFO manager: Registered plugin: Slackware guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/smartos/plugin.rb INFO manager: Registered plugin: SmartOS guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/solaris/plugin.rb INFO manager: Registered plugin: Solaris guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/solaris11/plugin.rb INFO manager: Registered plugin: Solaris 11 guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/suse/plugin.rb INFO manager: Registered plugin: SUSE guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/tinycore/plugin.rb INFO manager: Registered plugin: TinyCore Linux guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/trisquel/plugin.rb INFO manager: Registered plugin: Trisquel guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/ubuntu/plugin.rb INFO manager: Registered plugin: Ubuntu guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/windows/plugin.rb INFO manager: Registered plugin: Windows guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/alt/plugin.rb INFO manager: Registered plugin: ALT Platform host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/arch/plugin.rb INFO manager: Registered plugin: Arch host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/bsd/plugin.rb INFO manager: Registered plugin: BSD host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/darwin/plugin.rb INFO manager: Registered plugin: Mac OS X host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/linux/plugin.rb INFO manager: Registered plugin: Linux host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/null/plugin.rb INFO manager: Registered plugin: null host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.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/2.2.4/gems/vagrant-2.2.4/plugins/hosts/slackware/plugin.rb INFO manager: Registered plugin: Slackware host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/suse/plugin.rb INFO manager: Registered plugin: SUSE host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/void/plugin.rb INFO manager: Registered plugin: Void host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/windows/plugin.rb INFO manager: Registered plugin: Windows host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/kernel_v1/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/kernel_v2/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/docker/plugin.rb INFO manager: Registered plugin: docker-provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/plugin.rb INFO manager: Registered plugin: Hyper-V provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb INFO manager: Registered plugin: VirtualBox provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/ansible/plugin.rb INFO manager: Registered plugin: ansible DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/cfengine/plugin.rb INFO manager: Registered plugin: CFEngine Provisioner DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/chef/plugin.rb INFO manager: Registered plugin: chef DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/docker/plugin.rb INFO manager: Registered plugin: docker DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/file/plugin.rb INFO manager: Registered plugin: file DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/puppet/plugin.rb INFO manager: Registered plugin: puppet DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/salt/plugin.rb INFO manager: Registered plugin: salt DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/shell/plugin.rb INFO manager: Registered plugin: shell DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/pushes/atlas/plugin.rb INFO manager: Registered plugin: atlas DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/pushes/ftp/plugin.rb INFO manager: Registered plugin: ftp DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/pushes/heroku/plugin.rb INFO manager: Registered plugin: heroku DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/pushes/local-exec/plugin.rb INFO manager: Registered plugin: local-exec DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/pushes/noop/plugin.rb INFO manager: Registered plugin: noop DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/synced_folders/nfs/plugin.rb INFO manager: Registered plugin: NFS synced folders DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/synced_folders/rsync/plugin.rb INFO manager: Registered plugin: RSync synced folders DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/synced_folders/smb/plugin.rb INFO manager: Registered plugin: SMB synced folders INFO vagrant: vagrant invoked: ["up", "--debug"] DEBUG vagrant: Creating Vagrant environment INFO environment: Environment initialized (#) INFO environment: - cwd: C:/Users/rkrompets/hyperv/CL7 INFO environment: Home path: C:/Users/rkrompets/.vagrant.d DEBUG environment: Effective local data path: C:/Users/rkrompets/hyperv/CL7/.vagrant INFO environment: Local data path: C:/Users/rkrompets/hyperv/CL7/.vagrant DEBUG environment: Creating: C:/Users/rkrompets/hyperv/CL7/.vagrant DEBUG manager: Enabling localized plugins INFO manager: Plugins: DEBUG bundler: Current generated plugin dependency list: [] DEBUG bundler: Generating new builtin set instance. DEBUG bundler: Generating new plugin set instance. Skip gems - [] DEBUG bundler: Activating solution set: [] INFO manager: Loading plugins... DEBUG manager: Enabling globalized plugins INFO manager: Plugins: DEBUG bundler: Current generated plugin dependency list: [] DEBUG bundler: Generating new builtin set instance. DEBUG bundler: Generating new plugin set instance. Skip gems - [] DEBUG bundler: Activating solution set: [] INFO manager: Loading plugins... INFO loader: Set :root = ["#<Pathname:C:/Users/rkrompets/hyperv/CL7/Vagrantfile>"] DEBUG loader: Populating proc cache for #<Pathname:C:/Users/rkrompets/hyperv/CL7/Vagrantfile> DEBUG loader: Load procs for pathname: C:/Users/rkrompets/hyperv/CL7/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 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 # DEBUG checkpoint_client: starting plugin check INFO cli: CLI: [] "up" [] DEBUG checkpoint_client: plugin check complete DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command [] DEBUG checkpoint_client: no information received from checkpoint DEBUG command: 'Up' each target VM... 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 "26179240_machine_default" = [] INFO loader: Loading configuration in order: [:home, :root, "26179240_machine_default"] DEBUG loader: Loading from: root (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing WARN vagrantfile: Failed to locate cloudlinux7-base with version WARN vagrantfile: Performing lookup with inital values cloudlinux7-base with version INFO subprocess: Starting process: ["C:\WINDOWS\System32\WindowsPowerShell\v1.0\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", "Write-Output $PSVersionTable.PSVersion.Major"] INFO subprocess: Command not in installer, restoring original environment... DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: 5 DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 30 DEBUG subprocess: Exit status: 0 INFO subprocess: Starting process: ["C:\WINDOWS\System32\WindowsPowerShell\v1.0\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", "(new-object System.Security.Principal.WindowsPrincipal([System.Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrator)"] INFO subprocess: Command not in installer, restoring original environment... DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: False DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO subprocess: Starting process: ["C:\WINDOWS\System32\WindowsPowerShell\v1.0\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", "Write-Output ([System.Security.Principal.WindowsIdentity]::GetCurrent().Groups | Select-Object Value | ConvertTo-JSON)"] INFO subprocess: Command not in installer, restoring original environment... DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: [ { "Value": "S-1-5-21-864462195-3587724766-381883056-513" }, { "Value": "S-1-1-0" }, { "Value": "S-1-5-32-578" }, { "Value": "S-1-5-32-555" }, { "Value": "S-1-5-32-545" }, { "Value": "S-1-5-2" }, { "Value": "S-1-5-11" }, { "Value": "S-1-5-15" }, { "Value": "S-1-5-113" }, { "Value": "S-1-5-64-10" } ] DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 DEBUG base: Windows, checking for VBoxManage on PATH first INFO base: VBoxManage path: VBoxManage DEBUG environment: Initial usable provider list: [[4, :hyperv]] DEBUG environment: Priority sorted usable provider list: [:hyperv] DEBUG environment: Preferred provider list: [] DEBUG environment: Using provider hyperv detected in configuration and usable. INFO environment: Getting machine: default (hyperv) INFO environment: Uncached load of machine. INFO loader: Set "26179240_machine_default" = [] INFO loader: Loading configuration in order: [:home, :root, "26179240_machine_default"] DEBUG loader: Loading from: root (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO box_collection: Box found: cloudlinux7-base (hyperv) INFO loader: Set :"31042960_cloudlinux7-base_hyperv" = ["#<Pathname:C:/Users/rkrompets/.vagrant.d/boxes/cloudlinux7-base/0/hyperv/Vagrantfile>"] DEBUG loader: Populating proc cache for #<Pathname:C:/Users/rkrompets/.vagrant.d/boxes/cloudlinux7-base/0/hyperv/Vagrantfile> DEBUG loader: Load procs for pathname: C:/Users/rkrompets/.vagrant.d/boxes/cloudlinux7-base/0/hyperv/Vagrantfile INFO loader: Loading configuration in order: [:"31042960_cloudlinux7-base_hyperv", :home, :root, "26179240_machine_default"] DEBUG loader: Loading from: 31042960_cloudlinux7-base_hyperv (evaluating) DEBUG loader: Upgrading config from version 1 to 2 DEBUG loader: Upgrading config to version 2 DEBUG loader: Upgraded to version 2 with 0 warnings and 0 errors DEBUG loader: Loading from: 31042960_cloudlinux7-base_hyperv (evaluating) DEBUG loader: Loading from: root (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: C:/Users/rkrompets/hyperv/CL7/.vagrant/machines/default/hyperv INFO machine: New machine ID: nil INFO interface: Machine: metadata ["provider", :hyperv, {:target=>:default}] INFO command: With machine: default (#<VagrantPlugins::HyperV::Provider:0x0000000003e232b0 @machine=#<Vagrant::Machine: default (VagrantPlugins::HyperV::Provider)>, @driver=#<VagrantPlugins::HyperV::Driver:0x0000000003d1c7b8 @vm_id=nil>, @logger=#<Log4r::Logger:0x0000000003e23238 @fullname="vagrant::hyperv::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::hyperv", @parent=#<VagrantLogger:0x00000000029bcf88 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000002953740 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000000000329fad8 @formatter=#<Log4r::BasicFormatter:0x0000000002919720 @depth=7>>, @out=#<IO:>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x00000000029bce20 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_logger=#<Log4r::Logger:0x0000000003d76e20 @fullname="vagrant::capability_host::vagrantplugins::hyperv::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::hyperv", @parent=#<VagrantLogger:0x00000000029bcf88 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000002953740 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000000000329fad8 @formatter=#<Log4r::BasicFormatter:0x0000000002919720 @depth=7>>, @out=#<IO:>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x00000000029bce20 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:hyperv, #<#:0x0000000003d29fa8>]], @cap_args=[#<Vagrant::Machine: default (VagrantPlugins::HyperV::Provider)>], @cap_caps={:docker=>#<Vagrant::Registry:0x0000000003d77168 @items={:public_address=>#Proc:0x00000000033a6f80@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/docker/plugin.rb:60, :proxy_machine=>#Proc:0x00000000033a6c38@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/docker/plugin.rb:65}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x0000000003d770c8 @items={:public_address=>#Proc:0x0000000004105aa0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/plugin.rb:25, :snapshot_list=>#Proc:0x0000000004105a28@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/plugin.rb:30}, @results_cache={}>, :virtualbox=>#<Vagrant::Registry:0x0000000003d77028 @items={:forwarded_ports=>#Proc:0x000000000337c2d0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:27, :nic_mac_addresses=>#Proc:0x000000000337f9d0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:32, :public_address=>#Proc:0x000000000337fb60@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:37, :snapshot_list=>#Proc:0x000000000337fc78@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:42}, @results_cache={}>}>) 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 "26179240_machine_default" = [] INFO loader: Loading configuration in order: [:home, :root, "26179240_machine_default"] ERROR loader: Unknown config sources: [:"31042960_cloudlinux7-base_hyperv"] DEBUG loader: Loading from: root (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing WARN vagrantfile: Failed to locate cloudlinux7-base with version WARN vagrantfile: Performing lookup with inital values cloudlinux7-base with version DEBUG base: Windows, checking for VBoxManage on PATH first INFO base: VBoxManage path: VBoxManage DEBUG environment: Initial usable provider list: [[4, :hyperv]] DEBUG environment: Priority sorted usable provider list: [:hyperv] DEBUG environment: Preferred provider list: [] DEBUG environment: Using provider hyperv detected in configuration and usable. INFO environment: Getting machine: default (hyperv) INFO environment: Returning cached machine: default (hyperv) INFO command: With machine: default (#<VagrantPlugins::HyperV::Provider:0x0000000003e232b0 @machine=#<Vagrant::Machine: default (VagrantPlugins::HyperV::Provider)>, @driver=#<VagrantPlugins::HyperV::Driver:0x0000000003d1c7b8 @vm_id=nil>, @logger=#<Log4r::Logger:0x0000000003e23238 @fullname="vagrant::hyperv::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::hyperv", @parent=#<VagrantLogger:0x00000000029bcf88 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000002953740 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000000000329fad8 @formatter=#<Log4r::BasicFormatter:0x0000000002919720 @depth=7>>, @out=#<IO:>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x00000000029bce20 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_logger=#<Log4r::Logger:0x0000000003d76e20 @fullname="vagrant::capability_host::vagrantplugins::hyperv::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::hyperv", @parent=#<VagrantLogger:0x00000000029bcf88 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000002953740 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000000000329fad8 @formatter=#<Log4r::BasicFormatter:0x0000000002919720 @depth=7>>, @out=#<IO:>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x00000000029bce20 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:hyperv, #<#:0x0000000003d29fa8>]], @cap_args=[#<Vagrant::Machine: default (VagrantPlugins::HyperV::Provider)>], @cap_caps={:docker=>#<Vagrant::Registry:0x0000000003d77168 @items={:public_address=>#Proc:0x00000000033a6f80@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/docker/plugin.rb:60, :proxy_machine=>#Proc:0x00000000033a6c38@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/docker/plugin.rb:65}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x0000000003d770c8 @items={:public_address=>#Proc:0x0000000004105aa0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/plugin.rb:25, :snapshot_list=>#Proc:0x0000000004105a28@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/plugin.rb:30}, @results_cache={}>, :virtualbox=>#<Vagrant::Registry:0x0000000003d77028 @items={:forwarded_ports=>#Proc:0x000000000337c2d0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:27, :nic_mac_addresses=>#Proc:0x000000000337f9d0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:32, :public_address=>#Proc:0x000000000337fb60@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:37, :snapshot_list=>#Proc:0x000000000337fc78@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:42}, @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=>false, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil} INFO machine: Calling action: up on provider Hyper-V (new) DEBUG environment: Attempting to acquire process-lock: machine-action-7ab77aab197d6b4678dc8abb5da0f541 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-7ab77aab197d6b4678dc8abb5da0f541 INFO interface: Machine: action ["up", "start", {:target=>:default}] INFO host: Autodetecting host type for [#<Vagrant::Environment: C:/Users/rkrompets/hyperv/CL7>] DEBUG host: Trying: alt 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: void 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: 2 hooks defined. INFO runner: Running action: machine_action_up # INFO warden: Calling IN action: # 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", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\HashiCorp\Vagrant\embedded\gems\2.2.4\gems\vagrant-2.2.4\plugins\providers\hyperv\scripts\utils'; &('C:\HashiCorp\Vagrant\embedded\gems\2.2.4\gems\vagrant-2.2.4\plugins\providers\hyperv\scripts\check_hyperv.ps1')", "-ErrorAction", "Stop"] INFO subprocess: Command not in installer, restoring original environment... DEBUG subprocess: Selecting on IO ==> default: Verifying Hyper-V is accessible... DEBUG subprocess: stdout: ===Begin-Output=== { "result": true } ===End-Output=== DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO interface: output: Verifying Hyper-V is accessible... INFO interface: output: ==> default: Verifying Hyper-V is accessible... INFO subprocess: Starting process: ["C:\WINDOWS\System32\WindowsPowerShell\v1.0\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\HashiCorp\Vagrant\embedded\gems\2.2.4\gems\vagrant-2.2.4\plugins\providers\hyperv\scripts\utils'; &('C:\HashiCorp\Vagrant\embedded\gems\2.2.4\gems\vagrant-2.2.4\plugins\providers\hyperv\scripts\check_hyperv_access.ps1')", "-Path", "'C:\Users\rkrompets\hyperv\CL7\.vagrant\machines\default\hyperv'", "-ErrorAction", "Stop"] INFO subprocess: Command not in installer, restoring original environment... DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: WARNING: The names of some imported commands from the module 'VagrantVM' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb. ===Begin-Output=== { "root_dir": "C:\Users", "result": true } ===End-Output=== DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO handle_box: Machine already has box. HandleBox will not run. INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: machine_action_up # INFO warden: Calling IN action: # INFO warden: Calling IN action: # DEBUG is_state: Checking if machine state is 'not_created' DEBUG is_state: -- Machine state: not_created INFO warden: Calling IN action: # INFO warden: Calling OUT action: # INFO warden: Calling OUT action: # INFO warden: Calling OUT action: # INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: machine_action_up # INFO warden: Calling IN action: #<Proc:0x0000000003b07ef0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)> INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO subprocess: Starting process: ["C:\WINDOWS\System32\WindowsPowerShell\v1.0\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\HashiCorp\Vagrant\embedded\gems\2.2.4\gems\vagrant-2.2.4\plugins\providers\hyperv\scripts\utils'; &('C:\HashiCorp\Vagrant\embedded\gems\2.2.4\gems\vagrant-2.2.4\plugins\providers\hyperv\scripts\has_vmcx_support.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=== DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO import: Found box configuration path: C:/Users/rkrompets/.vagrant.d/boxes/cloudlinux7-base/0/hyperv/Virtual Machines/E80A60A4-4D60-4F25-BC5A-AFED4909EBBA.vmcx INFO import: Found box image path: C:/Users/rkrompets/.vagrant.d/boxes/cloudlinux7-base/0/hyperv/Virtual Hard Disks/generic-centos7-hyperv.vhdx INFO interface: output: Importing a Hyper-V instance INFO interface: output: ==> default: Importing a Hyper-V instance ==> default: Importing a Hyper-V instance INFO interface: detail: Creating and registering the VM... INFO interface: detail: default: Creating and registering the VM... default: Creating and registering the VM... INFO subprocess: Starting process: ["C:\WINDOWS\System32\WindowsPowerShell\v1.0\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\HashiCorp\Vagrant\embedded\gems\2.2.4\gems\vagrant-2.2.4\plugins\providers\hyperv\scripts\utils'; &('C:\HashiCorp\Vagrant\embedded\gems\2.2.4\gems\vagrant-2.2.4\plugins\providers\hyperv\scripts\import_vm.ps1')", "-VMConfigFile", "'C:\Users\rkrompets\.vagrant.d\boxes\cloudlinux7-base\0\hyperv\Virtual Machines\E80A60A4-4D60-4F25-BC5A-AFED4909EBBA.vmcx'", "-DestinationPath", "'C:\Users\rkrompets\hyperv\CL7\.vagrant\machines\default\hyperv\Virtual Hard Disks\generic-centos7-hyperv.vhdx'", "-DataPath", "'C:\Users\rkrompets\hyperv\CL7\.vagrant\machines\default\hyperv'", "-SourcePath", "'C:\Users\rkrompets\.vagrant.d\boxes\cloudlinux7-base\0\hyperv\Virtual Hard Disks\generic-centos7-hyperv.vhdx'", "-VMName", "'hyperv-CL7-kernel-test-base'", "-ErrorAction", "Stop"] INFO subprocess: Command not in installer, restoring original environment... DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: WARNING: The names of some imported commands from the module 'VagrantVM' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb. DEBUG subprocess: stdout: ===Begin-Error=== { "error": "Win32 internal error \"Access is denied\" 0x5 occurred while reading the console output buffer. Contact Microsoft Customer Support Services." } ===End-Error=== DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31997 DEBUG subprocess: Exit status: 1 ERROR warden: Error occurred: An error occurred while executing a PowerShell script. This error is shown below. Please read the error message and see if this is a configuration error with your system. If it is not, then please report a bug.

Script: import_vm.ps1 Error:

Win32 internal error "Access is denied" 0x5 occurred while reading the console output buffer. Contact Microsoft Customer Support Services. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. ERROR warden: Error occurred: An error occurred while executing a PowerShell script. This error is shown below. Please read the error message and see if this is a configuration error with your system. If it is not, then please report a bug.

Script: import_vm.ps1 Error:

Win32 internal error "Access is denied" 0x5 occurred while reading the console output buffer. Contact Microsoft Customer Support Services. INFO warden: Beginning recovery process... INFO warden: Recovery complete. ERROR warden: Error occurred: An error occurred while executing a PowerShell script. This error is shown below. Please read the error message and see if this is a configuration error with your system. If it is not, then please report a bug.

Script: import_vm.ps1 Error:

Win32 internal error "Access is denied" 0x5 occurred while reading the console output buffer. Contact Microsoft Customer Support Services. INFO warden: Beginning recovery process... INFO warden: Calling recover: # INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO environment: Released process lock: machine-action-7ab77aab197d6b4678dc8abb5da0f541 INFO environment: Running hook: environment_unload INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: environment_unload # ERROR vagrant: Vagrant experienced an error! Details: ERROR vagrant: #<VagrantPlugins::HyperV::Errors::PowerShellError: An error occurred while executing a PowerShell script. This error is shown below. Please read the error message and see if this is a configuration error with your system. If it is not, then please report a bug.

Script: import_vm.ps1 Error:

Win32 internal error "Access is denied" 0x5 occurred while reading the console output buffer. Contact Microsoft Customer Support Services.> ERROR vagrant: An error occurred while executing a PowerShell script. This error is shown below. Please read the error message and see if this is a configuration error with your system. If it is not, then please report a bug.

Script: import_vm.ps1 Error:

Win32 internal error "Access is denied" 0x5 occurred while reading the console output buffer. Contact Microsoft Customer Support Services. ERROR vagrant: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/driver.rb:60:in execute' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/driver.rb:145:inimport' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/action/import.rb:74:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:121:in block in finalize_action' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builder.rb:116:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:inblock in run' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/util/busy.rb:19:in busy' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:inrun' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/call.rb:53:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/after_trigger.rb:26:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/config_validate.rb:25:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/after_trigger.rb:26:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/handle_box.rb:56:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/after_trigger.rb:26:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/action/check_access.rb:19:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/after_trigger.rb:26:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/action/check_enabled.rb:18:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builder.rb:116:in call' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:inblock in run' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/util/busy.rb:19:in busy' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:inrun' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/machine.rb:238:in action_raw' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/machine.rb:209:inblock in action' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:615:in lock' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/machine.rb:195:incall' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/machine.rb:195:in action' C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/batch_action.rb:82:inblock (2 levels) in run' INFO interface: error: An error occurred while executing a PowerShell script. This error is shown below. Please read the error message and see if this is a configuration error with your system. If it is not, then please report a bug.

Script: import_vm.ps1 Error:

Win32 internal error "Access is denied" 0x5 occurred while reading the console output buffer. Contact Microsoft Customer Support Services. An error occurred while executing a PowerShell script. This error is shown below. Please read the error message and see if this is a configuration error with your system. If it is not, then please report a bug.

Script: import_vm.ps1 Error:

Win32 internal error "Access is denied" 0x5 occurred while reading the console output buffer. Contact Microsoft Customer Support Services. INFO interface: Machine: error-exit ["VagrantPlugins::HyperV::Errors::PowerShellError", "An error occurred while executing a PowerShell script. This error\nis shown below. Please read the error message and see if this is\na configuration error with your system. If it is not, then please\nreport a bug.\n\nScript: import_vm.ps1\nError:\n\nWin32 internal error \"Access is denied\" 0x5 occurred while reading the console output buffer. Contact Microsoft Customer Support Services."]

Expected behavior

"vagrant up" command should not fail. The progress bar should not break creating of machines.

Actual behavior

Can not up machine remotely while locally we have no problem. After the investigation, I found the root of the problem it happen because on Linux we can not process progress bar which appears when machine starting. I solve this problem by changing to "$ProgressPreference='SilentlyContinue' in shell profile and after removing "-NoProfile" option for shell script in file "C:\HashiCorp\Vagrant\embedded\gems\2.2.4\gems\vagrant-2.2.4\lib\vagrant\util\powershell"

Steps to reproduce

  1. Configure ssh-remote access on the hyperV host
  2. Try to up virtual machine from bash environment remotely ssh $HYPERV_USER@$HYPERV_HOST "cd $PATH_TO_VAGRANTFILE && vagrant up"
briancain commented 5 years ago

Hi @krompets - You need to make sure the user you are logging in as is Administrator. You need admin access to use Hyper-V.

krompets commented 5 years ago

Hi @briancain I was trying to work as an administrator and catch the same issue. If I connect to the remote desktop via "mstsc" and run "vagrant up" - the result is successful. But if I try to up a machine from my Centos server via ssh connection I catch an error.

chrisroberts commented 5 years ago

@krompets Hi. This is due to the restrictions imposed on logins via SSH. You will not be granted the same level of permissions, which is why you receive the error. This is why internally Vagrant makes use of scheduled tasks to perform escalated privileged tasks when managing Windows guests.

Cheers!

ghost commented 5 years ago

I got this 0x5 problem as well over SSH. I manually launch sshd with (right click) Administration rights, instead of via the Windows Service thing, and the 0x5 disappeared along with other permission problems.

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.