Varying-Vagrant-Vagrants / VVV

An open source Vagrant configuration for developing with WordPress
https://varyingvagrantvagrants.org
MIT License
4.55k stars 850 forks source link

vagrant up fails for Windows 10 Hyper-V #1616

Closed tannerchung closed 5 years ago

tannerchung commented 5 years ago

Expected Behavior

vagrant up should fully provision with vvv

Current Behavior

I did a vagrant up and on the first run with Windows 10 and Hyper-V and it exited. In the logs a lot of packages were unable to be installed

Steps to Reproduce (for bugs)

  1. Install vagrant
  2. Download vvv from git
  3. vagrant up
$ vagrant provision
__ __ __ __
\ V\ V\ V / Varying Vagrant Vagrants
 \_/\_/\_/  v2.2.1-git::master

Docs:       https://varyingvagrantvagrants.org/
Contribute: https://github.com/varying-vagrant-vagrants/vvv
Dashboard:  http://vvv.test

==> default: Running provisioner: fix-no-tty (shell)...
    default: Running: inline script
==> default: Running provisioner: default (shell)...
    default: Running: C:/Users/tanner/AppData/Local/Temp/vagrant-shell20180823-17024-10lrjvn.sh
    default: Network connection detected...
    default: Bash profile setup and directories.
    default: cp:
    default: cannot stat ‘/srv/config/bash_profile’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/bash_aliases’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/vimrc’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/subversion-servers’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/subversion-config’
    default: : No such file or directory
    default:  * Copied /srv/config/bash_profile                      to /home/vagrant/.bash_profile
    default:  * Copied /srv/config/bash_aliases                      to /home/vagrant/.bash_aliases
    default:  * Copied /srv/config/vimrc                             to /home/vagrant/.vimrc
    default:  * Copied /srv/config/subversion-servers                to /home/vagrant/.subversion/servers
    default:  * Copied /srv/config/subversion-config                 to /home/vagrant/.subversion/config
    default: Network connection detected...
    default:
    default: Main packages check and install.
    default: Adding ppa:git-core/ppa repository
    default:  * php7.2-fpm                                          7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-cli                                          7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-common                                       7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-dev                                          7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php-pear                                            1:1.10.5+submodules+notgz-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php-imagick                                         3.4.3-3+ubuntu14.04.1+deb.sury.org+1
    default:  * php-memcache                                        3.0.9~20160311.4991c2f-7+ubuntu14.04.1+deb.sury.org+1
    default:  * php-memcached                                       3.0.4+2.2.0-3+ubuntu14.04.1+deb.sury.org+1
    default:  * php-ssh2                                            1.1.2+0.13-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php-xdebug                                          2.6.0+2.5.5-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-bcmath                                       7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-curl                                         7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-gd                                           7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-mbstring                                     7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-mysql                                        7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-imap                                         7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-json                                         7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-soap                                         7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-xml                                          7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * php7.2-zip                                          7.2.9-1+ubuntu14.04.1+deb.sury.org+1
    default:  * nginx                                               1.4.6-1ubuntu3.8
    default:  * memcached                                           1.4.14-0ubuntu9.3
    default:  * mariadb-server                                      5.5.59-1ubuntu0.14.04.1
    default:  * imagemagick                                         8:6.7.7.10-6ubuntu3.12
    default:  * subversion                                          1.8.8-1ubuntu3.3
    default:  * git                                                 1:1.9.1-1ubuntu0.3
    default:  * zip                                                 3.0-8
    default:  * unzip                                               6.0-9ubuntu1.5
    default:  * ngrep                                               1.45.ds2-12
    default:  * curl                                                7.35.0-1ubuntu2.8
    default:  * make                                                3.81-8.2ubuntu3
    default:  * vim                                                 2:7.4.052-1ubuntu3
    default:  * colordiff                                           1.0.13-1
    default:  * postfix                                             2.11.0-1ubuntu1.2
    default:  * python-pip                                          1.5.4-1ubuntu4
    default:  * ntp                                                 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13
    default:  * gettext                                             0.18.3.1-1ubuntu3
    default:  * graphviz                                            2.36.0-0ubuntu3.2
    default:  * dos2unix                                            6.0.4-1
    default:  * g++                                                 4:4.8.2-1ubuntu6
    default:  * nodejs                                              0.10.25~dfsg2-2ubuntu1.2
    default:  * libsqlite3-dev                                      3.8.2-1ubuntu2.1
    default: Linked custom apt sources
    default: No apt packages to install.
    default: sh: 0:
    default: Can't open /vagrant/config/homebin/xdebug_off
    default:
    default: Updating nvm...
    default: Installing/updating npm...
    default: /tmp/vagrant-shell: line 306: npm: command not found
    default: Installing/updating npm-check-updates...
    default: /tmp/vagrant-shell: line 308: npm: command not found
    default: ack-grep already installed
    default: Updating Composer...
    default: You are already using composer version 1.7.2 (stable channel).
    default: Changed current directory to /usr/local/src/composer
    default: ./composer.json has been updated
    default: Changed current directory to /usr/local/src/composer
    default: Changed current directory to /usr/local/src/composer
    default: Loading composer repositories with package information
    default: Updating dependencies (including require-dev)
    default: Nothing to install or update
    default: Generating autoload files
    default: /tmp/vagrant-shell: line 374: grunt: command not found
    default: Installing Grunt CLI
    default: /tmp/vagrant-shell: line 382: npm: command not found
    default: /tmp/vagrant-shell: line 383: npm: command not found
    default: /tmp/vagrant-shell: line 384: npm: command not found
    default: /tmp/vagrant-shell: line 385: npm: command not found
    default: chown:
    default: cannot access ‘/usr/lib/node_modules/’
    default: : No such file or directory
    default: Adding graphviz symlink for Webgrind...
    default: Installing Shyaml for bash provisioning..
    default: Requirement already satisfied (use --upgrade to upgrade): shyaml in /usr/local/lib/python2.7/dist-packages
    default: Cleaning up...
    default:
    default: Setup configuration files...
    default: cp:
    default: cannot stat ‘/srv/config/init/vvv-start.conf’
    default: : No such file or directory
    default:  * Copied /srv/config/init/vvv-start.conf               to /etc/init/vvv-start.conf
    default: cp:
    default: cannot stat ‘/srv/config/nginx-config/nginx.conf’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/nginx-config/nginx-wp-common.conf’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/nginx-config/php7.2-upstream.conf’
    default: : No such file or directory
    default: sending incremental file list
    default: rsync: change_dir "/srv/config/nginx-config/sites" failed: No such file or directory (2)
    default:
    default: sent 20 bytes  received 12 bytes  64.00 bytes/sec
    default: total size is 0  speedup is 0.00
    default: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]
    default:  * Copied /srv/config/nginx-config/nginx.conf           to /etc/nginx/nginx.conf
    default:  * Copied /srv/config/nginx-config/nginx-wp-common.conf to /etc/nginx/nginx-wp-common.conf
    default:  * Rsync'd /srv/config/nginx-config/sites/              to /etc/nginx/custom-sites
    default:  * RVM                                                 1.29.4
    default:  * Mailcatcher [not installed]
    default: Successfully installed mailcatcher-0.6.5
    default: 1 gem installed
    default: Ruby enVironment Manager 1.29.4 (latest) (c) 2009-2017 Michal Papis, Piotr Kuczynski, Wayne E. Seguin
    default: # Wrapper
    default:
    default: Show/regenerate wrappers.
    default:
    default: NOTE: This command delegates to 'gem wrapper' => <https://github.com/rvm/gem-wrappers>
    default:
    default: ## Usage
    default:
    default: Show paths and generated wrappers:
    default:
    default:     rvm wrapper show
    default:
    default:
    default: Show path to generated wrapper:
    default:
    default:     rvm wrapper show executable_name
    default:
    default: Where `executable_name` is something like `ruby` or `rake`.
    default:
    default:
    default: It is also possible to generate a wrapper for external scripts that require ruby:
    default:
    default:     rvm wrapper /full/path/to/script
    default:
    default: Where `/full/path/to/script` is full path to existing script
    default:
    default:
    default: Wrappers are generated automatically, but it is possible to rerun the process:
    default:
    default:     rvm wrapper regenerate
    default:
    default:
    default: Documentation:
    default:
    default:     rvm wrapper [help]
    default:
    default: For additional documentation please visit https://rvm.io
    default: cp:
    default: cannot stat ‘/srv/config/init/mailcatcher.conf’
    default: : No such file or directory
    default:  * Copied /srv/config/init/mailcatcher.conf    to /etc/init/mailcatcher.conf
    default: cp:
    default: cannot stat ‘/srv/config/php-config/mailcatcher.ini’
    default: : No such file or directory
    default:  * Copied /srv/config/php-config/mailcatcher.ini    to /etc/php/7.2/mods-available/mailcatcher.ini
    default: cp:
    default: cannot stat ‘/srv/config/php-config/php7.2-fpm.conf’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/php-config/php7.2-www.conf’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/php-config/php7.2-custom.ini’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/php-config/opcache.ini’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/php-config/xdebug.ini’
    default: : No such file or directory
    default:  * Copied /srv/config/php-config/php7.2-fpm.conf   to /etc/php/7.2/fpm/php-fpm.conf
    default:  * Copied /srv/config/php-config/php7.2-www.conf   to /etc/php/7.2/fpm/pool.d/www.conf
    default:  * Copied /srv/config/php-config/php7.2-custom.ini to /etc/php/7.2/fpm/conf.d/php-custom.ini
    default:  * Copied /srv/config/php-config/opcache.ini       to /etc/php/7.2/fpm/conf.d/opcache.ini
    default:  * Copied /srv/config/php-config/xdebug.ini        to /etc/php/7.2/mods-available/xdebug.ini
    default: cp:
    default: cannot stat ‘/srv/config/memcached-config/memcached.conf’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/memcached-config/memcached.conf’
    default: : No such file or directory
    default:  * Copied /srv/config/memcached-config/memcached.conf to /etc/memcached.conf and /etc/memcached_default.conf
    default:
    default: Restart services...
    default:  * Restarting nginx nginx
    default:    ...done.
    default: Restarting memcached:
    default: memcached.
    default: mailcatcher: unrecognized service
    default: WARNING: Module mailcatcher ini file doesn't exist under /etc/php/7.2/mods-available
    default: WARNING: Module mailcatcher ini file doesn't exist under /etc/php/7.2/mods-available
    default: php7.2-fpm stop/waiting
    default: php7.2-fpm start/running, process 67082
    default:
    default: Setup MySQL configuration file links...
    default: cp:
    default: cannot stat ‘/srv/config/mysql-config/my.cnf’
    default: : No such file or directory
    default: cp:
    default: cannot stat ‘/srv/config/mysql-config/root-my.cnf’
    default: : No such file or directory
    default:  * Copied /srv/config/mysql-config/my.cnf               to /etc/mysql/my.cnf
    default:  * Copied /srv/config/mysql-config/root-my.cnf          to /home/vagrant/.my.cnf
    default: service mysql restart
    default: mysql stop/waiting
    default: mysql start/running, process 67123
    default:
    default: No custom MySQL scripting found in database/init-custom.sql, skipping...
    default: /tmp/vagrant-shell: line 508: /srv/database/init.sql: No such file or directory
    default: Initial MySQL prep...
    default: /tmp/vagrant-shell: line 513: /srv/database/import-sql.sh: No such file or directory
    default: Network connection detected...
    default:
    default: Installing/updating wp-cli and debugging tools
    default:
    default: Updating wp-cli...
    default: Downloading from https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli-nightly.phar...
    default: md5 hash verified: 07b2ebef5d8b944e50e71896593f94a4
    default: New version works. Proceeding to replace.
    default: Success: Updated WP-CLI to the latest nightly release.
    default:
    default: Install/Update PHP_CodeSniffer (phpcs), see https://github.com/squizlabs/PHP_CodeSniffer
    default:
    default: Install/Update WordPress-Coding-Standards, sniffs for PHP_CodeSniffer, see https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
    default: /tmp/vagrant-shell: line 621: cd: /vagrant/provision/phpcs: No such file or directory
    default: Composer could not find a composer.json file in /srv/config/nvm
    default: To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
    default: /tmp/vagrant-shell: line 629: phpcs: command not found
    default: /tmp/vagrant-shell: line 630: phpcs: command not found
    default: /tmp/vagrant-shell: line 631: phpcs: command not found
    default: Network connection detected...
    default:
    default:
    default: Cleaning the virtual machine's /etc/hosts file...
    default: -----------------------------
    default: Provisioning complete in 33 seconds
    default: For further setup instructions, visit http://vvv.test
==> default: Running provisioner: dashboard (shell)...
    default: Running: C:/Users/tanner/AppData/Local/Temp/vagrant-shell20180823-17024-m2ige6.sh
    default: Updating dashboard...
    default: Already up-to-date.
==> default: Running provisioner: utility-source-core (shell)...
    default: Running: C:/Users/tanner/AppData/Local/Temp/vagrant-shell20180823-17024-6r1l9v.sh
    default: Downloading core resources, see https://github.com/Varying-Vagrant-Vagrants/vvv-utilities.git
    default: fatal: could not create leading directories of '/vagrant/provision/resources/core': Permission denied
    default: /tmp/vagrant-shell: line 17: cd: /vagrant/provision/resources/core: No such file or directory
    default: fatal: Not a git repository (or any of the parent directories): .git
==> default: Running provisioner: utility-core-memcached-admin (shell)...
    default: Running: C:/Users/tanner/AppData/Local/Temp/vagrant-shell20180823-17024-14kf85z.sh
==> default: Running provisioner: utility-core-opcache-status (shell)...
    default: Running: C:/Users/tanner/AppData/Local/Temp/vagrant-shell20180823-17024-ewq3x9.sh
==> default: Running provisioner: utility-core-phpmyadmin (shell)...
    default: Running: C:/Users/tanner/AppData/Local/Temp/vagrant-shell20180823-17024-ya3gp4.sh
==> default: Running provisioner: utility-core-webgrind (shell)...
    default: Running: C:/Users/tanner/AppData/Local/Temp/vagrant-shell20180823-17024-iv5eql.sh
==> default: Running provisioner: utility-core-trusted-hosts (shell)...
    default: Running: C:/Users/tanner/AppData/Local/Temp/vagrant-shell20180823-17024-1pif29y.sh
==> default: Running provisioner: utility-core-tls-ca (shell)...
    default: Running: C:/Users/tanner/AppData/Local/Temp/vagrant-shell20180823-17024-1nucexb.sh
==> default: Running provisioner: site-wordpress-default (shell)...
    default: Running: C:/Users/tanner/AppData/Local/Temp/vagrant-shell20180823-17024-roteg1.sh
    default:
    default: Downloading wordpress-default, see https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
    default: fatal: could not create work tree dir '/srv/www/wordpress-default'.: Permission denied
    default: find:
    default: `/srv/www/wordpress-default'
    default: : No such file or directory
    default:  * Restarting nginx nginx
    default:    ...done.
==> default: Running provisioner: site-wordpress-develop (shell)...
    default: Running: C:/Users/tanner/AppData/Local/Temp/vagrant-shell20180823-17024-14k1ca8.sh
    default:
    default: Downloading wordpress-develop, see https://github.com/Varying-Vagrant-Vagrants/custom-site-template-develop.git
    default: fatal: could not create work tree dir '/srv/www/wordpress-develop'.: Permission denied
    default: find:
    default: `/srv/www/wordpress-develop'
    default: : No such file or directory
    default:  * Restarting nginx nginx
    default:    ...done.
==> default: Running provisioner: shell...
    default: Running: inline script
    default: mysql stop/waiting
    default: mysql start/running, process 70824
==> default: Running provisioner: shell...
    default: Running: inline script
    default:  * Restarting nginx nginx
    default:    ...done.

Context

This is a provision after doing a vagrant up and then vagrant ssh to install all the packages manually because it had failed.

Your Environment

ghost commented 5 years ago

@tomjn, should this be closed since it has a fixed at #1619.

tomjn commented 5 years ago

A lot has changed since this issue, I think we need to re-test from a clean slate for Hyper-V

ghost commented 5 years ago

I'll just re-comment all testing for Hyper-V on this ticket when I get a Hyper-V enable.

ghost commented 5 years ago

@tomjn When I try to use vagrant up --provider=hyperv, it keeps saying that the executable VBoxManage Vagrant is trying to run was not found in the %path% variable. This is an error, please verify, if the software is installed.

but when i create a new folder, with vagrant init bento/ubuntu-18.04, then it will try to download hyperv environment.

is this something to do with our Vagrantfile.

Mte90 commented 5 years ago

it is better to have the full output to understand the error. Can you do a screenshot in case?

ghost commented 5 years ago

image

ghost commented 5 years ago

please note that this is a new windows 10 environment, with hyper-v only.

ghost commented 5 years ago

this is another folder i created, with vagrant init bento/ubuntu-18.04 image

Mte90 commented 5 years ago

Can you try without specify the provider? Because on vagrant up reconized rightly hyperv instead with the parameter had issue.

ghost commented 5 years ago

i've already done that, is still looking for VBoxManage.

ghost commented 5 years ago

image

Mte90 commented 5 years ago

Can you try on adding https://github.com/Varying-Vagrant-Vagrants/VVV/blob/develop/vvv-config.yml#L102 this line and use hyperv as parameter? In this way we are forcing it to use hyperv.

GitHub
Varying-Vagrant-Vagrants/VVV
An open source Vagrant configuration for developing with WordPress - Varying-Vagrant-Vagrants/VVV
ghost commented 5 years ago

I've done all i can think off right now. i even create a new folder with vagrant init bento/ubuntu-18.04, from here I can tell is not the environment. it seems to be VVV. i even went to vvv-custom.yml and allow provider: hyperv.

Mte90 commented 5 years ago

The problem is not the box as I can see or in a new folder, the problem is vagrant that is looking for virtualbox instead of hyperv so we need to see why this detection is failing.

Mte90 commented 5 years ago

Can you share the output of vagrant up --provider=hyperv --debug in the folder where it is happening the error?

ghost commented 5 years ago
benlumia007@anetheron MINGW64 ~/VVV (develop)
$ vagrant.exe up --provider=hyperv --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", "--provider=hyperv", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x0000000004592690>)
 INFO environment:   - cwd: C:/Users/benlumia007/VVV
 INFO environment: Home path: C:/Users/benlumia007/.vagrant.d
DEBUG environment: Effective local data path: C:/Users/benlumia007/VVV/.vagrant
 INFO environment: Local data path: C:/Users/benlumia007/VVV/.vagrant
DEBUG environment: Creating: C:/Users/benlumia007/VVV/.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:
 INFO manager:   - vagrant-hostsupdater = [installed: 1.1.1.160 constraint: > 0]
DEBUG bundler: Current generated plugin dependency list: [<Gem::Dependency type=:runtime name="vagrant-hostsupdater" requirements="= 1.1.1.160">]
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: ["vagrant-hostsupdater-1.1.1.160"]
DEBUG bundler: Activating gem vagrant-hostsupdater-1.1.1.160
 INFO manager: Loading plugins...
 INFO manager: Loading plugin `vagrant-hostsupdater` with default require: `vagrant-hostsupdater`
 INFO manager: Registered plugin: HostsUpdater
DEBUG manager: Successfully loaded plugin `vagrant-hostsupdater`.
 INFO loader: Set :root = ["#<Pathname:C:/Users/benlumia007/VVV/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:C:/Users/benlumia007/VVV/Vagrantfile>
DEBUG loader: Load procs for pathname: C:/Users/benlumia007/VVV/Vagrantfile
 INFO root: Version requirements from Vagrantfile: [">= 2.2.4"]
 INFO root:   - Version requirements satisfied!
ghost commented 5 years ago
\ V\ V\ V / Varying Vagrant Vagrants
 \_/\_/\_/  v3.0.0-git::develop

 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", "$(Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-Hypervisor).State"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stderr: Get-WindowsOptionalFeature : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:3
+ $(Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-Hyperviso ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-WindowsOptionalFeature], ParameterBindingException
    + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.Dism.Commands.GetWindowsOptionalFeatureCommand

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", "$(Get-WindowsFeature -FeatureName Microsoft-Hyper-V-Hypervisor).State"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stderr: Get-WindowsFeature : The term 'Get-WindowsFeature' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:3
+ $(Get-WindowsFeature -FeatureName Microsoft-Hyper-V-Hypervisor).State
+   ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-WindowsFeature:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31998
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-1-0"
    },
    {
        "Value":  "S-1-5-32-545"
    },
    {
        "Value":  "S-1-5-4"
    },
    {
        "Value":  "S-1-2-1"
    },
    {
        "Value":  "S-1-5-11"
    },
    {
        "Value":  "S-1-5-15"
    },
    {
        "Value":  "S-1-11-96-3623454863-58364-18864-2661722203-1597581903-1886743352-2079687130-1807435088-3423265118-1097016707"
    },
    {
        "Value":  "S-1-5-113"
    },
    {
        "Value":  "S-1-2-0"
    },
    {
        "Value":  "S-1-5-64-36"
    }
]
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", "$x = (Get-VMHost).Name; if($x -eq [System.Net.Dns]::GetHostName()){ Write-Output 'true'}"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stderr: Get-VMHost : You do not have the required permission to complete this task. Contact the administrator of the
authorization policy for the computer 'ANETHERON'.
At line:1 char:7
+ $x = (Get-VMHost).Name; if($x -eq [System.Net.Dns]::GetHostName()){ W ...
+       ~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-VMHost], VirtualizationException
    + FullyQualifiedErrorId : Unspecified,Microsoft.HyperV.PowerShell.Commands.GetVMHost

DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
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
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::CommandUnavailableWindows: The executable 'VBoxManage' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.>
ERROR vagrant: The executable 'VBoxManage' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.
ERROR vagrant: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/util/subprocess.rb:30:in `initialize'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/util/subprocess.rb:22:in `new'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/util/subprocess.rb:22:in `execute'
C:/Users/benlumia007/VVV/Vagrantfile:77:in `virtualbox_version'
C:/Users/benlumia007/VVV/Vagrantfile:312:in `<top (required)>'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:239:in `load'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:239:in `block in procs_for_path'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config.rb:53:in `block in capture_configures'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config.rb:48:in `synchronize'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config.rb:48:in `capture_configures'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:237:in `procs_for_path'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:223:in `procs_for_source'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:67:in `block in set'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:61:in `each'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:61:in `set'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:489:in `config_loader'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:794:in `vagrantfile'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:178:in `initialize'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/bin/vagrant:145:in `new'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/bin/vagrant:145:in `<main>'
Vagrant failed to initialize at a very early stage:

The executable 'VBoxManage' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.

benlumia007@anetheron MINGW64 ~/VVV (develop)
ghost commented 5 years ago

the new folder i create, only contains

config.vm.box = "bento/ubuntu-18.04"

Mte90 commented 5 years ago

Looking at the second log seems that vagrant is trying to check if hyperv is available and get error from some Windows command.

Hyper-V must be enabled prior to using the provider. 
Most Windows installations will not have Hyper-V enabled by default. 
Hyper-V is available by default for almost all Windows Enterprise, Professional, or Education 8.1 and later installs. 
To enable Hyper-V, go to "Programs and Features", click on "Turn Windows features on or off" and check the box next to "Hyper-V". 
Or install via PowerShell with:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

https://www.vagrantup.com/docs/hyperv/ Can you check this?

ghost commented 5 years ago

its already been enabled, i just downloaded the box itself using the the other folder i created.

Mte90 commented 5 years ago

Well the vagrant's log say that cannot detect the hyperv state. Looking on internet enabled doesn't mean that is working or started.

ghost commented 5 years ago

well it doesn't make sense then to why it would cause this, like i said, if i created a new folder called example, and inside of this example, and run vagrant init bento/ubuntu-18.04, it downloads the box, and started the VM.

ghost commented 5 years ago

it shouldn't be like this, i've done this many times, before VVV 3.0.

ghost commented 5 years ago

i also tested on 2 windows 10 pro, and is the same.

ghost commented 5 years ago

this is from the new folder, evverything is fine, eccept for the mount problem

benlumia007@anetheron MINGW64 ~/test
$ vagrant.exe up
Bringing machine 'default' up with 'hyperv' provider...
==> default: Verifying Hyper-V is enabled...
==> default: Verifying Hyper-V is accessible...
==> default: Box 'bento/ubuntu-18.04' could not be found. Attempting to find and install...
    default: Box Provider: hyperv
    default: Box Version: >= 0
==> default: Loading metadata for box 'bento/ubuntu-18.04'
    default: URL: https://vagrantcloud.com/bento/ubuntu-18.04
==> default: Adding box 'bento/ubuntu-18.04' (v201812.27.0) for provider: hyperv
    default: Downloading: https://vagrantcloud.com/bento/boxes/ubuntu-18.04/versions/201812.27.0/providers/hyperv.box
==> default: Box download is resuming from prior download progress
    default: Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com
    default:
==> default: Successfully added box 'bento/ubuntu-18.04' (v201812.27.0) for 'hyperv'!
==> default: Importing a Hyper-V instance
    default: Creating and registering the VM...
    default: Successfully imported VM
    default: Configuring the VM...
==> default: Starting the machine...
==> default: Waiting for the machine to report its IP address...
    default: Timeout: 120 seconds
    default: IP: 172.18.84.167
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 172.18.84.167:22
    default: SSH username: vagrant
    default: SSH auth method: private key
    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 it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Preparing SMB shared folders...
    default: You will be asked for the username and password to use for the SMB
    default: folders shortly. Please use the proper username/password of your
    default: account.
    default:
    default: Username: vagrant
    default: Password (will be hidden):
Error! Your console doesn't support hiding input. We'll ask for
input again below, but we WILL NOT be able to hide input. If this
is a problem for you, ctrl-C to exit and fix your stdin.
     default: Password (will be hidden): vagrant

Vagrant requires administrator access to create SMB shares and
may request access to complete setup of configured shares.
==> default: [*****-hostsupdater] Checking for host entries
==> default: Mounting SMB shared folders...
    default: C:/Users/benlumia007/test => /*****
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t cifs -o vers=2.0,credentials=/etc/smb_creds_vgt-6a25aa90632cd21d1d2d5ee3f96b2838-6ad5fdbcbf2eaa93bd62f92333a2e6e5,uid=1000,gid=1000 //172.18.84.161/vgt-6a25aa90632cd21d1d2d5ee3f96b2838-6ad5fdbcbf2eaa93bd62f92333a2e6e5 /*****

The error output from the last command was:

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

benlumia007@anetheron MINGW64 ~/test
$ vagrant.exe ssh
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-29-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Wed May 22 21:23:15 UTC 2019

  System load:  0.08              Processes:           90
  Usage of /:   2.3% of 61.31GB   Users logged in:     0
  Memory usage: 16%               IP address for eth0: 172.18.84.167
  Swap usage:   0%

0 packages can be updated.
0 updates are security updates.

vagrant@ubuntu-18:~$ df -h
Filesystem                       Size  Used Avail Use% Mounted on
udev                             441M     0  441M   0% /dev
tmpfs                             93M  5.2M   87M   6% /run
/dev/mapper/ubuntu--18--vg-root   62G  1.5G   57G   3% /
tmpfs                            461M     0  461M   0% /dev/shm
tmpfs                            5.0M     0  5.0M   0% /run/lock
tmpfs                            461M     0  461M   0% /sys/fs/cgroup
/dev/sda1                        511M  6.1M  505M   2% /boot/efi
tmpfs                             93M     0   93M   0% /run/user/1000
vagrant@ubuntu-18:~$
tomjn commented 5 years ago

@benlumia007 that looks like a windows credentials issue, it could be the type of user account you're using but fundamentally whatever you put in wasn't correct or was for a user that can't be used for that, e.g. a domain user

As for existing installs, once you provision a VM it will always use the same box until you destroy it. You might even have to do more thorough cleaning out to get it to use a different provider

ghost commented 5 years ago

yeah i got it work, on a test folder with the right credentials, but still having issues trying to vagrant up in the vvv folder. still haven't figure it out. it still looks for VBoxManage.

tomjn commented 5 years ago

is that a fresh VVV folder? Is your test folder a VVV folder?

ghost commented 5 years ago

so basically, whenever i create a new fresh VVV folder, from cloning, and if i vagrant up with provider of hyperv, and fails, so it doesn't get passed boot VM or downloading the box. it just fails right after I vagrantup.

the test folder is just the box, nothing else, no VVV configurations. this is just ot make sure that hyperv works.

j0j00 commented 5 years ago

FYI: For those interested, it looks like a vagrant-related issue rather than this. Details are in the referenced issue/comments above.

Temp fix is to update C:\HashiCorp\Vagrant\embedded\gems\2.2.4\gems\vagrant-2.2.4\lib\vagrant\util\platform.rb or equivalent locally and run vagrant again.

edit: Ignore me, I was conflating different issues together. 🙄

ghost commented 5 years ago

@tomjn and @Mte90 Since we may have done a lot with Hyper-V from the PR i created. Should this be closed for now, since we made a lot of effort on this even tho, it still has issues with Mariadb but we managed to get half it fix.

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.