Vagrant upがConnection timeout. Retrying...から進まない
「$ vagrant up」でvccwの立ち上げをやろうとしているのですが、「Connection timeout. Retrying...」から先に進めません。
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'centos'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: vagrant-wataca_default_1435643479833_86344
==> default: Clearing any previously set forwarded ports...
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 2200 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2200
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying..
その際のエラー文は以下のとおりです。
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
config.vm.boot_timeoutを10秒→120秒に書き換えると以下のようなメッセージに変わりました。
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, runvagrant up
while the
VirtualBox GUI is open.
「vagrant up」後に「vagrant ssh」で接続することもできません。
また他のVagrantfileでも同様の問題が発生していますので、
VirtualBoxまわりかSSHの設定が漏れているのかなと思っていますが、この先どう調べていけばいいのか手詰まり状態です。
かなり基本的なミスではないかと思うのですが、アドバイスを頂けると幸いです。