Vagrant 2.2.17 forwarding ports
benauld345 opened this issue · comments
When upgrading to Vagrant 2.2.17 on macOS Big Sur, forwarding ports seems to crash with the following:
/Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/forward_ports.rb:32:in `rescue in block in call': uninitialized constant VagrantPlugins::Parallels::Errors::EnvironmentLockedError (NameError)
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/forward_ports.rb:27:in `block in call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/forward_ports.rb:26:in `synchronize'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/forward_ports.rb:26:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/clear_network_interfaces.rb:14:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/network.rb:123:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/prepare_nfs_settings.rb:18:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/synced_folders.rb:87:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/delayed.rb:19:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/synced_folder_cleanup.rb:28:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/synced_folders/nfs/action_cleanup.rb:25:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/prepare_nfs_valid_ids.rb:12:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb:52:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/prepare_forwarded_port_collision_params.rb:35:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/provision.rb:80:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/clear_forwarded_ports.rb:16:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/set_name.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/check_shared_interface.rb:13:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/box_check_outdated.rb:93:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/customize.rb:39:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/sane_defaults.rb:24:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/box_unregister.rb:32:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/import.rb:66:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/prepare_clone_snapshot.rb:36:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/prepare_clone.rb:15:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/box_register.rb:36:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/customize.rb:39:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:246:in `action_raw'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:215:in `block in action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/environment.rb:614:in `lock'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:201:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:201:in `action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run'
/opt/vagrant/embedded/gems/2.2.17/gems/i18n-1.8.10/lib/i18n.rb:196:in `translate': wrong number of arguments (given 2, expected 0..1) (ArgumentError)
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/forward_ports.rb:56:in `block in forward_ports'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/forward_ports.rb:46:in `each'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/forward_ports.rb:46:in `forward_ports'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/forward_ports.rb:30:in `block (2 levels) in call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/environment.rb:614:in `lock'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/forward_ports.rb:28:in `block in call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/forward_ports.rb:26:in `synchronize'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/forward_ports.rb:26:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/clear_network_interfaces.rb:14:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/network.rb:123:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/prepare_nfs_settings.rb:18:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/synced_folders.rb:87:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/delayed.rb:19:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/synced_folder_cleanup.rb:28:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/synced_folders/nfs/action_cleanup.rb:25:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/prepare_nfs_valid_ids.rb:12:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb:52:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/prepare_forwarded_port_collision_params.rb:35:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/provision.rb:80:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/clear_forwarded_ports.rb:16:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/set_name.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/check_shared_interface.rb:13:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/box_check_outdated.rb:93:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/customize.rb:39:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/sane_defaults.rb:24:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/box_unregister.rb:32:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/import.rb:66:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/prepare_clone_snapshot.rb:36:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/prepare_clone.rb:15:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/box_register.rb:36:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /Users/benauld345/.vagrant.d/gems/3.0.1/gems/vagrant-parallels-2.2.2/lib/vagrant-parallels/action/customize.rb:39:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:246:in `action_raw'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:215:in `block in action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/environment.rb:614:in `lock'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:201:in `call'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:201:in `action'
from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run'
I've found that changing these lines of code seem to fix in forward_ports.rb
:
Line 32, change to:
rescue Vagrant::Errors::EnvironmentLockedError
And line 56, change to:
@env[:ui].detail(I18n.t('vagrant_parallels.actions.vm.forward_ports.forwarding_entry',
:guest_port => fp.guest_port,
:host_port => fp.host_port))
thank you so much @benauld345 I confirmed the bug and your fix 🙏🏽
vagrant-parallels 2.2.2
vagrant 2.2.17
BigSur 11.4 MPB M1
The fix does work for the ports, unfortunately not for guest_ip. @benauld345 fp.guest_ip
is an unknown method, before now learning ruby, maybe you could point me to the right file to have the guest_ip obeyed too.
@benauld345 I got it working, it is a little too much for simple instructions here. I'll clean up the code and put in a PR, but it is late here in the UK, so expect it by tomorrow.
The rapid fix is actually to simply add two stars (**
) in front of the message_attributes
argument in line 56. This is now required for keyword arguments to be passed in ruby3.
Fixed by #399 and released in vagrant-parallels
v2.2.3
Thank you, @jmfrank63 👍