Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

[vagrant-hostsupdater] error with drupalvm #2067

Closed
amine-betari opened this issue Jul 8, 2020 · 7 comments
Closed

[vagrant-hostsupdater] error with drupalvm #2067

amine-betari opened this issue Jul 8, 2020 · 7 comments

Comments

@amine-betari
Copy link

amine-betari commented Jul 8, 2020

Hi,
I'm trying to execute a vagrant up to mount my drupal VM in order to setup a BLT project.
I get this error :

Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
==> drupalvm: Checking for guest additions in VM...
==> drupalvm: [vagrant-hostsupdater] Checking for host entries
==> drupalvm: [vagrant-hostsupdater]   found entry for: 192.168.88.88 drupalvm.test
==> drupalvm: [vagrant-hostsupdater]   found entry for: 192.168.88.88 www.drupalvm.test
==> drupalvm: [vagrant-hostsupdater]   found entry for: 192.168.88.88 adminer.drupalvm.test
==> drupalvm: [vagrant-hostsupdater]   found entry for: 192.168.88.88 xhprof.drupalvm.test
==> drupalvm: [vagrant-hostsupdater]   found entry for: 192.168.88.88 pimpmylog.drupalvm.test
==> drupalvm: [vagrant-hostsupdater]   found entry for: 192.168.88.88 dashboard.drupalvm.test
==> drupalvm: Forcing shutdown of VM...
==> drupalvm: Destroying VM and associated drives...
Traceback (most recent call last):
        171: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run'
        170: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `action'
        169: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `call'
        168: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/environment.rb:613:in `lock'
        167: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:212:in `block in action'
        166: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:240:in `action_raw'        165: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
        164: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
        163: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
        162: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
        161: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        160: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/check_virtualbox.rb:26:in `call'
        159: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        158: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/call.rb:53:in `call'
        157: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
        156: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
        155: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
        154: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
        153: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        152: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:107:in `block in finalize_action'
        151: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        150: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
        149: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        148: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:107:in `block in finalize_action'
        147: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        146: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
        145: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        144: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/call.rb:53:in `call'
        143: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
        142: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
        141: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
        140: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
        139: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        138: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:107:in `block in finalize_action'
        137: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        136: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call'
        135: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        134: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/customize.rb:40:in `call'
        133: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        132: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/import_master.rb:36:in `call'
        131: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        130: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/prepare_clone.rb:15:in `call'
        129: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        128: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/prepare_clone_snapshot.rb:32:in `call'
        127: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        126: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/import.rb:11:in `call'
        125: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/import.rb:46:in `clone'
        124: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        123: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/discard_state.rb:15:in `call'
        122: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        121: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/match_mac_address.rb:22:in `call'
        120: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        119: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:107:in `block in finalize_action'
        118: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        117: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/check_virtualbox.rb:26:in `call'
        116: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        115: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
        114: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        113: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/box_check_outdated.rb:92:in `call'
        112: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        111: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/call.rb:53:in `call'
        110: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
        109: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
        108: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
        107: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
        106: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        105: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:107:in `block in finalize_action'
        104: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
        103: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/call.rb:53:in `call'
        102: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
        101: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
        100: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
         99: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
         98: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         97: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:107:in `block in finalize_action'
         96: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         95: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/call.rb:53:in `call'
         94: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
         93: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
         92: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
         91: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
         90: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         89: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:107:in `block in finalize_action'
         88: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         87: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call'
         86: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         85: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/clean_machine_folder.rb:26:in `call'
         84: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         83: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/set_name.rb:50:in `call'
         82: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         81: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/clear_forwarded_ports.rb:15:in `call'
         80: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         79: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/provision.rb:80:in `call'
         78: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         77: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/env_set.rb:19:in `call'
         76: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         75: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb:30:in `call'
         74: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         73: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb:50:in `call'
         72: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         71: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb:12:in `call'
         70: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         69: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/synced_folders/nfs/action_cleanup.rb:25:in `call'
         68: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         67: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/synced_folder_cleanup.rb:28:in `call'
         66: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         65: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/delayed.rb:19:in `call'
         64: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         63: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/synced_folders.rb:87:in `call'
         62: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         61: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/prepare_nfs_settings.rb:19:in `call'
         60: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         59: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/set_default_nic_type.rb:64:in `call'
         58: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         57: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/clear_network_interfaces.rb:26:in `call'
         56: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         55: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/network.rb:123:in `call'
         54: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         53: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/network_fix_ipv6.rb:41:in `call'
         52: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         51: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/forward_ports.rb:31:in `call'
         50: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         49: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/set_hostname.rb:16:in `call'
         48: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         47: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/sane_defaults.rb:38:in `call'
         46: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         45: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/cleanup_disks.rb:30:in `call'
         44: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         43: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/disk.rb:30:in `call'
         42: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         41: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/customize.rb:40:in `call'
         40: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         39: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/boot.rb:18:in `call'
         38: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         37: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/customize.rb:40:in `call'
         36: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         35: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/wait_for_communicator.rb:71:in `call'
         34: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         33: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/action/customize.rb:40:in `call'
         32: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
         31: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/vagrant-vbguest-0.24.0/lib/vagrant-vbguest/middleware.rb:25:in `call'
         30: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/vagrant-vbguest-0.24.0/lib/vagrant-vbguest/machine.rb:25:in `run'
         29: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/vagrant-vbguest-0.24.0/lib/vagrant-vbguest/machine.rb:39:in `install'
         28: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/micromachine-3.0.0/lib/micromachine.rb:23:in `trigger'
         27: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/micromachine-3.0.0/lib/micromachine.rb:53:in `change'
         26: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/micromachine-3.0.0/lib/micromachine.rb:53:in `each'
         25: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/micromachine-3.0.0/lib/micromachine.rb:53:in `block in change'
         24: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/vagrant-vbguest-0.24.0/lib/vagrant-vbguest/machine.rb:106:in `block (2 levels) in guest_additions_state'
         23: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/vagrant-vbguest-0.24.0/lib/vagrant-vbguest/installer.rb:63:in `install'
         22: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/vagrant-vbguest-0.24.0/lib/vagrant-vbguest/installers/ubuntu.rb:19:in `install'
         21: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/vagrant-vbguest-0.24.0/lib/vagrant-vbguest/installers/debian.rb:22:in `install'
         20: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/vagrant-vbguest-0.24.0/lib/vagrant-vbguest/installers/linux.rb:66:in `install'
         19: from C:/Users/sqli/.vagrant.d/gems/2.6.6/gems/vagrant-vbguest-0.24.0/lib/vagrant-vbguest/installers/base.rb:234:in `upload'
         18: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/ssh/communicator.rb:307:in `upload'
         17: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/ssh/communicator.rb:740:in `scp_connect'
         16: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/ssh/communicator.rb:391:in `connect'
         15: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/ssh/communicator.rb:742:in `block in scp_connect'
         14: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/ssh/communicator.rb:337:in `block in upload'
         13: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/ssh/communicator.rb:331:in `block (2 levels) in upload'
         12: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-scp-1.2.1/lib/net/scp.rb:284:in `upload!'
         11: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/connection/channel.rb:272:in `wait'
         10: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/connection/session.rb:181:in `loop'
          9: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/connection/session.rb:181:in `loop'
          8: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/connection/session.rb:181:in `block in loop'
          7: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/connection/session.rb:228:in `process'
          6: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/connection/event_loop.rb:31:in `process'
          5: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/connection/event_loop.rb:112:in `ev_select_and_postprocess'
          4: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/connection/session.rb:271:in `ev_do_handle_events'
          3: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/connection/session.rb:271:in `each'
          2: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/connection/session.rb:275:in `block in ev_do_handle_events'
          1: from C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/buffered_io.rb:66:in `fill'
C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/net-ssh-5.2.0/lib/net/ssh/buffered_io.rb:66:in `recv': An existing connection was forcibly closed by the remote host. - recvfrom(2) (Errno::ECONNRESET)

My configuration:

Windows 10
wsl 1
vagrant 2.2.9
virtualbox 6.1
blt 10

I have already installed vagrant-hostaupdater, vagrant-vbguest . launched the powershell as admin. checked the hosts file permission. none of this worked ?

any help please ?

thanks

@geerlingguy
Copy link
Owner

Just searching for your error message I found a couple issues - are they helpful?

hashicorp/vagrant#6430
hashicorp/vagrant#1399

@amine-betari
Copy link
Author

I managed to resolve this by downgrading the version og virtualbox from 6.1.10 to 6.1.4
and keeping the same conf listed above

@chumkui
Copy link

chumkui commented Aug 4, 2020

I am setting up a new dev laptop today (Win10 Pro 2004 update), so using very latest Vagrant (2.2.9), Drupal VM and VirtualBox (6.1.12 r139181) and just did a test Vagrant Up - I have exactly the same error message at the same point. I tried running VirtualBox and having it 'show' but that did not work for me. There is a mismatch on the GuestAdditions, so maybe that is why the downgrade that was tried by amine-betari worked. I'll downgrade and see if that works.

@BRAiNCHiLD95
Copy link

I was facing a very similar error when using vagrant-vbguest plugin to automatically match the guest additions version on the box. Took me 2 days to find this post. Downgrading now to test.

@chumkui Same here. I upgraded to Windows 10 Pro 2004 over the weekend. Updated Vagrant to 2.2.9 and VirtualBox to 6.1.12.r139181 - and my dev environment completely stopped working. I've wasted 2 days trying to destroy and re-create boxes. Only to have something or the other fail - either ubuntu apt updates would fail OR npm fails.
PS: This is all after disabling the vb-guest additions plugin. With that installed, I can't even create a box - it fails and deletes everything.

My first today move is going to be to revert back to the previous version of VirtualBox v6.1.4 r136177 (this used to work perfectly fine for me along with Vagrant 2.2.7).
If reverting VirtualBox alone doesn't work for me, I might try downgrading Vagrant.

I'll update this post incase someone else ends up facing this same error and sees this. I would not wish what I went through the last 48+hours on ANYONE.

@BRAiNCHiLD95
Copy link

Downgraded to VirtualBox v6.1.4 r136177, and Vagrant v2.2.7 - still facing the same issue.
This is super frustrating.

has anyone else had better luck with this?

@BRAiNCHiLD95
Copy link

BRAiNCHiLD95 commented Aug 13, 2020

I've managed to get my development environment working again -

Check here for other solutions that worked for some other people.

The solution in my case was to use "virtualbox" as the type for synced_folders -

config.vm.synced_folder ".", "/vagrant", type: "virtualbox"

And also, inside the config specific to provider -

config.vm.provider "virtualbox" do |vb|
      # Allow shared folders sym linking
      vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant", "1"]
end

Note that /vagrant is the path I use inside my virtual machine - therefore that's the path added at the end of SharedFoldersEnableSymlinksCreate.

These 2 changes fixed all my problems. Back to productive work!!

@eigentor
Copy link

eigentor commented Jan 22, 2021

I ran into this problem as well.
The root of it all seems to be compatibility issues between Windows update, Vagrant, Virtualbox and the vbguest / hostsupdater plugins.
Since I was lacking patience to get through that and wanted to use nfs shares, here is my analysis of the problem and a somewhat dirty and temporary, but nonetheless workaround:

  1. Most important: the problem appears to not affect the actual Virtual machine but only the Windows side.
  2. What does the hostsupdater do? It appears to write all the virtual host entries to the hosts file and to write entries into /users/[your-windows-username]/.ssh/known hosts.

Now if the hostsupdater does not work, can we get around 2. manually? It appears: yes, we can. What I did:
a) put all the hosts entries ( I have many virtual hosts inside my DrupalVM) manually into the hosts file. You can easily copy that from the console, personally I use Powershell. Just manually delete the start of each line which does not belong in the hosts file with search+replace
b) For SSHing into the VM, start your shell as Administrator. This way, the missing entry in user/../.ssh/known hosts is ignored. Gonna find out how to add that manually later
c) live with the fact that vagrant up is a bit of a pain: the process tries about 10 times to add the hosts entries before it gives up, and you have to click several Windows dialogs with yes.

Since I normally shut down my machine into hibernation instead of restarting it, I will not have to do a vagrant up each time.
Provisioning will have to repeat part of the process, since you have to manually add the new vhost entry into the hosts file and restart vagrant.

This is not a permanent solution and sure hacky and not pretty - but when vagrant runs, everything inside the VM works as expected and I can do productive work again.

--- Edit ---
It did not work for me in the end, since Vagrant periodically crashed :/
Still maybe helpful for others as an extreme Workaround.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants