Vagrant:调试慢启动VM

时间:2015-02-19 17:58:45

标签: vagrant

我正在使用vagrant在编程项目上设置虚拟环境。 Virtual Box是VM提供商。我在Windows工作站上工作。这是边缘服务器故障区域 - 但由于我使用vagrant为编程项目设置环境,我在Stack Overflow上询问。

当我跑步时

vagrant up

Vagrant可以花很长时间" (最多5分钟)启动虚拟机。在我的身边(从#34; Git Bash" shell开始流浪汉)我看到了这个

default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...

这种情况持续了一段时间,服务器最终出现了。此外,偶尔,SSH连接将在我执行vgrant up后12到24小时内死亡 - 这会强制halt -f /重新启动。

如果我从Virtual Box本身启动机器,请参阅启动程序的相关部分。

enter image description here

当此屏幕显示

时,似乎停止了
  

等待网络设备10秒

     

等待网络设备120秒

这似乎是异常(当然也很烦人)的行为,我想调试它为什么会发生 - 但是,我不熟悉阴道或虚拟机的运作方式来了解我应该从哪里开始我非常喜欢解决问题的神奇方法,但我真正追求的只是"我在哪里开始挖掘"

0 个答案:

没有答案