vagrantのエラーメモ(雑)
一週間ぶりくらいにvagrant 立ち上げると見慣れないエラーが出力された
$ vagrant u#p Bringing machine 'default' up with 'virtualbox' provider... ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Booting VM... There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm", "a4b6a234-a9a5-4205-b8d8-0c8bf1cbedf0", "--type", "headless"] Stderr: VBoxManage: error: Could not open the medium '/Users/UserName/VirtualBox VMs/create_laravel_default_1522422912756_3091/centos-vm-disk1.vmdk'. VBoxManage: error: VD: error VERR_FILE_NOT_FOUND opening image file '/Users/UserName/VirtualBox VMs/create_laravel_default_1522422912756_3091/centos-vm-disk1.vmdk' (VERR_FILE_NOT_FOUND) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MediumWrap, interface IMedium
ネットの記事を読んで、VagrantやVertualBoxをいれなおしたがなおらず、
VirtualBoxをGUIごしに叩くと色々ポップアップ出たので、そこからごちゃごちゃやったらエラーが消えた(雑すぎる)。
*一応意外とGUIごしからエラーの内容教えてくれた程度の忘備録。
そこからvagrant upすると以下でタイムアウトした(割りと今までも見た光景)
==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key
以下のURLを参考に対応