clong / DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices
MIT License
4.64k stars 987 forks source link

set up error #193

Closed totoroha closed 5 years ago

totoroha commented 5 years ago

Description of the issue:

run "vagrant up" command. and this is the error with DC vm, while logger is okay.

==> dc: Adding box '../Boxes/windows_2016_virtualbox.box' (v0) for provider: virtualbox dc: Unpacking necessary files from: file://D:/VirtualBox/DetectionLab/Boxes/windows_2016_virtualbox.box dc: The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and that enough disk space is available and then try again. The output from attempting to unpackage (if any):

x Vagrantfile x WindowsServer2016-disk001.vmdk: Write failed x box.ovf x metadata.json bsdtar.EXE: Error exit delayed from previous errors.

I restarted my machine several times, and the problem still exists.

clong commented 5 years ago

Either the box download got corrupted or you don't have enough disk space to extract it. Can you re-download the box and ensure you have sufficient free disk space where you're running this?

totoroha commented 5 years ago

I re-configed virtualbox directory to D drive. and since then, i was able to install:

and got this error again while my D drive have at least 1TB disk space left.

==> win10: Box '../Boxes/windows_10_virtualbox.box' could not be found. Attempting to find and install... win10: Box Provider: virtualbox win10: Box Version: >= 0 ==> win10: Box file was not detected as metadata. Adding it directly... ==> win10: Adding box '../Boxes/windows_10_virtualbox.box' (v0) for provider: virtualbox win10: Unpacking necessary files from: file://D:/VirtualBox/DetectionLab/Boxes/windows_10_virtualbox.box win10: The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and that enough disk space is available and then try again. The output from attempting to unpackage (if any):

x Vagrantfile x box.ovf x metadata.json x windows_10-disk001.vmdk: Write failed bsdtar.EXE: Error exit delayed from previous errors.

D:\VirtualBox\DetectionLab\Vagrant>

totoroha commented 5 years ago

re-downloaded the windows 10 box from the link, and still the same error.

clong commented 5 years ago

Hey @totoroha - sorry, I'm not sure I can be much help beyond this. There's a related Vagrant bug report with no resolution: https://github.com/hashicorp/vagrant/issues/9217

clong commented 5 years ago

Closing this ticket as builds are successfully passing in CircleCI and this isn't a problem with the code or the default boxes