Open iamwlb opened 3 years ago
Hey there, thanks for opening an issue. Could you provide a bit more information about what caused this error. In particular, a Vagrantfile, the command run, and a full debug log would be useful. Thanks!
capturefilename="/Users/a1234/VirtualBox VMs/Centos7.4 1_1605070719233_95213/Centos7.4 1_1605070719233_95213.webm" captureres="1024x768" capturevideorate=512 capturevideofps=25 captureopts="" GuestMemoryBalloon=0 GuestOSType="Linux26_64" GuestAdditionsRunLevel=2 GuestAdditionsVersion="6.1.16 r140961" GuestAdditionsFacility_VirtualBox Base Driver=50,1605070752397 GuestAdditionsFacility_VirtualBox System Service=50,1605070763062 GuestAdditionsFacility_Seamless Mode=0,1605070752397 GuestAdditionsFacility_Graphics Mode=0,1605070752396 DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 DEBUG virtualbox_6_1: - [1, "ssh", 2222, 22, "127.0.0.1"] DEBUG ssh: Checking key permissions: /Users/a1234/Documents/Workspace/vagrant/.vagrant/machines/node1/virtualbox/private_key DEBUG ssh: Re-using SSH connection. INFO ssh: Execute: chown -R root /tmp/vagrant-shell (sudo=true) DEBUG ssh: stderr: 41e57d38-b4f7-4e46-9c38-13873d338b86-vagrant-ssh DEBUG ssh: Exit status: 0 DEBUG ssh: Uploading: /var/folders/9j/t6c21g4s0cg34qbywn29rs9w0000gn/T/vagrant-shell20201111-99712-18voz5t to /tmp/vagrant-shell DEBUG ssh: Re-using SSH connection. DEBUG ssh: Ensuring remote directory exists for destination upload DEBUG ssh: Re-using SSH connection. INFO ssh: Execute: mkdir -p "/tmp" (sudo=false) DEBUG ssh: stderr: 41e57d38-b4f7-4e46-9c38-13873d338b86-vagrant-ssh DEBUG ssh: Exit status: 0 DEBUG ssh: Uploading file /var/folders/9j/t6c21g4s0cg34qbywn29rs9w0000gn/T/vagrant-shell20201111-99712-18voz5t to remote /tmp/vagrant-shell INFO interface: detail: Running: inline script INFO interface: detail: node1: Running: inline script node1: Running: inline script DEBUG ssh: Re-using SSH connection. INFO ssh: Execute: chmod +x '/tmp/vagrant-shell' && /tmp/vagrant-shell (sudo=true) DEBUG ssh: stderr: 41e57d38-b4f7-4e46-9c38-13873d338b86-vagrant-ssh DEBUG ssh: stderr: SIOCADDRT: Network is unreachable
INFO interface: detail: SIOCADDRT: Network is unreachable
INFO interface: detail: node1: SIOCADDRT: Network is unreachable
node1: SIOCADDRT: Network is unreachable
DEBUG ssh: Exit status: 7
ERROR warden: Error occurred: The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #execute' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/provisioners/shell/provisioner.rb:124:in
block (2 levels) in provision_ssh'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/provisioners/shell/provisioner.rb:98:in tap' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/provisioners/shell/provisioner.rb:98:in
block in provision_ssh'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/provisioners/shell/provisioner.rb:335:in with_script_file' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/provisioners/shell/provisioner.rb:96:in
provision_ssh'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/provisioners/shell/provisioner.rb:35:in provision' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/provision.rb:138:in
run_provisioner'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:127:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:127:in
block in finalize_action'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builder.rb:149:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in block in run' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/busy.rb:19:in
busy'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in run' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/environment.rb:525:in
hook'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/provision.rb:126:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/provision.rb:126:in
block in call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/provision.rb:103:in each' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/provision.rb:103:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/clear_forwarded_ports.rb:15:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/set_name.rb:50:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/clean_machine_folder.rb:26:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/check_accessible.rb:18:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:127:in
block in finalize_action'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builder.rb:149:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in block in run' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/busy.rb:19:in
busy'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in run' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/call.rb:53:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:127:in
block in finalize_action'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builder.rb:149:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in block in run' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/busy.rb:19:in
busy'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in run' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/call.rb:53:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:127:in
block in finalize_action'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builder.rb:149:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in block in run' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/busy.rb:19:in
busy'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in run' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/call.rb:53:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/box_check_outdated.rb:36:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/config_validate.rb:25:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/check_virtualbox.rb:26:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/env_set.rb:19:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:127:in
block in finalize_action'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/match_mac_address.rb:22:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/discard_state.rb:15:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/import.rb:78:in
import'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/import.rb:13:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/prepare_clone_snapshot.rb:17:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/prepare_clone.rb:15:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/customize.rb:40:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/check_accessible.rb:18:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:127:in block in finalize_action' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builder.rb:149:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in
block in run'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/busy.rb:19:in busy' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in
run'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/call.rb:53:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/config_validate.rb:25:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:127:in block in finalize_action' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/handle_box.rb:56:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:127:in block in finalize_action' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builder.rb:149:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in
block in run'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/busy.rb:19:in busy' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in
run'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/call.rb:53:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/virtualbox/action/check_virtualbox.rb:26:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builder.rb:149:in call' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in
block in run'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/busy.rb:19:in busy' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in
run'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/machine.rb:246:in action_raw' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/machine.rb:215:in
block in action'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/environment.rb:613:in lock' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/machine.rb:201:in
call'
/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/machine.rb:201:in action' /opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/batch_action.rb:86:in
block (2 levels) in run'
INFO interface: error: The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
INFO interface: Machine: error-exit ["Vagrant::Errors::VagrantError", "The SSH command responded with a non-zero exit status. Vagrant\nassumes that this means the command failed. The output for this command\nshould be in the log above. Please read the output to determine what\nwent wrong."]
apturefilename="/Users/a1234/VirtualBox VMs/Centos7.4 1_1605070719233_95213/Centos7.4 1_1605070719233_95213.webm" captureres="1024x768" capturevideorate=512 capturevideofps=25 captureopts="" GuestMemoryBalloon=0 GuestOSType="Linux26_64" GuestAdditionsRunLevel=2 GuestAdditionsVersion="6.1.16 r140961" GuestAdditionsFacility_VirtualBox Base Driver=50,1605070752397 GuestAdditionsFacility_VirtualBox System Service=50,1605070763062 GuestAdditionsFacility_Seamless Mode=0,1605070752397 GuestAdditionsFacility_Graphics Mode=0,1605070752396 DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999 DEBUG subprocess: Exit status: 0 DEBUG ssh: == Net-SSH connection debug-level log START == DEBUG ssh: D, [2020-11-11T12:59:14.144284 #99712] DEBUG -- net.ssh.transport.session[3feb8c191e20]: establishing connection to 127.0.0.1:2222 D, [2020-11-11T12:59:14.144715 #99712] DEBUG -- net.ssh.transport.session[3feb8c191e20]: connection established I, [2020-11-11T12:59:14.144821 #99712] INFO -- net.ssh.transport.server_version[3feb8c190214]: negotiating protocol version D, [2020-11-11T12:59:14.144855 #99712] DEBUG -- net.ssh.transport.server_version[3feb8c190214]: local is `SSH-2.0-Ruby/Net::SSH_6.2.0.rc1 x86_64-darwin19'
DEBUG ssh: == Net-SSH connection debug-level log END == INFO ssh: SSH not ready: #<Vagrant::Errors::NetSSHException: An error occurred in the underlying SSH library that Vagrant uses. The error message is shown below. In many cases, errors from this library are caused by ssh-agent issues. Try disabling your SSH agent or removing some keys and try again.
If the problem persists, please report a bug to the net-ssh project.
timeout during server version negotiating>
DEBUG ssh: stderr: 41e57d38-b4f7-4e46-9c38-13873d338b86-vagrant-ssh DEBUG ssh: Exit status: 0 DEBUG ssh: Uploading: /tmp/vagrant-shell20201108-33150-rf16n3.ps1 to /tmp/vagrant-shell DEBUG ssh: Re-using SSH connection. DEBUG ssh: Ensuring remote directory exists for destination upload DEBUG ssh: Re-using SSH connection. INFO ssh: Execute: mkdir -p "/tmp" (sudo=false) DEBUG ssh: stderr: 41e57d38-b4f7-4e46-9c38-13873d338b86-vagrant-ssh DEBUG ssh: Exit status: 0 DEBUG ssh: Uploading file /tmp/vagrant-shell20201108-33150-rf16n3.ps1 to remote /tmp/vagrant-shell INFO interface: detail: Running: inline script INFO interface: detail: node4: Running: inline script node4: Running: inline script DEBUG ssh: Re-using SSH connection. INFO ssh: Execute: chmod +x '/tmp/vagrant-shell' && /tmp/vagrant-shell (sudo=true) DEBUG ssh: stderr: 41e57d38-b4f7-4e46-9c38-13873d338b86-vagrant-ssh DEBUG ssh: stderr: SIOCADDRT: Network is unreachable
INFO interface: detail: SIOCADDRT: Network is unreachable INFO interface: detail: node4: SIOCADDRT: Network is unreachable node4: SIOCADDRT: Network is unreachable DEBUG ssh: Exit status: 7 ERROR warden: Error occurred: The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.
INFO interface: error: The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong. The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong. INFO interface: Machine: error-exit ["Vagrant::Errors::VagrantError", "The SSH command responded with a non-zero exit status. Vagrant\nassumes that this means the command failed. The output for this command\nshould be in the log above. Please read the output to determine what\nwent wrong."]