vagrant up hanging on "Sending SSH keep-alive..."

532 views
Skip to first unread message

Robert Wang

unread,
Feb 5, 2018, 10:45:15 AM2/5/18
to Vagrant

This issue happened when there are 2 NIC on centos7, 1st is default NAT enp0s3, 2nd is hostonly private network interface enp0s8.


vagrant did "service network restart" via ssh before enable enp0s8, but hanging there so from debug  only see "ssh: Sending SSH keep-alive".


I used vagrant 2.0.2 on win7 64bits.


only remedy works for me:

  • ctrl-c to stop "vagrant up" when it is hanging
  • power off vm from virtualbox GUI or CLI since "vagrant halt" also will take long time
  • run "vagrant up" again it will start 2nd interface easily

vagrant up --debug 

# Restart network
service network restart
 (sudo=true)
DEBUG ssh: stderr: 41e57d38-b4f7-4e46-9c38-13873d338b86-vagrant-ssh
DEBUG ssh: Sending SSH keep-alive...
DEBUG ssh: Sending SSH keep-alive...
DEBUG ssh: Sending SSH keep-alive...
DEBUG ssh: Sending SSH keep-alive...

Alvaro Miranda Aguilera

unread,
Feb 7, 2018, 8:15:06 AM2/7/18
to vagra...@googlegroups.com
Can you test a different box?
If still happens, can you setup a minimal vagrantfile and open a issue for this?
Seems like a bug

Thanks
Alvaro.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/ce2d1efb-e896-4c6e-8d66-ed84152ae9b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages