vagrant up 挂在 ssh 上

问题描述 投票:0回答:2

我做了

vagrant up --provision libvirt
,它仍然存在:

default: Waiting for SSH to become available...

我可以做

vagrant ssh
。有用!但我不明白为什么 vagrant up 在 ssh 模式下挂起。 我从本地删除了所有机器。再次构建。并不能解决问题。 另外,重新安装插件也没有帮助。 另外,从我的存储库中删除 .vagrant 文件! 我从 .vagrant.d 中删除了 inscure-keypair 我做到了
vagrant reload

问题实际上是这个错误:

An action 'up' was attempted on the machine 'default',
but another process is already executing an action on the machine.
Vagrant locks each machine for access by only one process at a time.
Please wait until the other Vagrant process finishes modifying this
machine, then try again.

If you believe this message is in error, please check the process
listing for any "ruby" or "vagrant" processes and kill them. Then
try again.

我杀死了所有 ruby 和 vagrant 进程,但没有帮助 流浪者版本:1.9.4 vagrant-libvirt 版本:0.0.37 ubuntu 16.04

ssh vagrant
2个回答
2
投票

我在尝试运行时遇到了类似的问题

vagrant up --provider=lxc
我通过检查是否有任何 ruby/vagrant 进程已经在运行并杀死它来修复它。 仅供参考,就我而言,我在当前运行之前启动的
vagrant up
进程仍在运行。

$ ps -ef | grep ruby
$ ps -ef | grep vagrant

$ kill -9

$ Restart "vagrant up --provider=lxc"

0
投票

我也发现了同样的问题,在进行流浪重启后解决了寻址问题。

流浪者重新加载。

它实际上对我有用:)

© www.soinside.com 2019 - 2024. All rights reserved.