Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Delete VDI #52

Closed
opticyclic opened this issue Oct 4, 2016 · 3 comments
Closed

Can't Delete VDI #52

opticyclic opened this issue Oct 4, 2016 · 3 comments

Comments

@opticyclic
Copy link

Is there an option to delete the vdi on vagrant destroy?

If I do vagrant destroy, delete the vdi on the host, then do vagrant up I get the following error:

==> default: ** Creating persistent storage **
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["createhd", "--filename", "secondDisk.vdi", "--size", "5000"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: E_INVALIDARG
VBoxManage.exe: error: Failed to create medium
VBoxManage.exe: error: Cannot register the hard disk 'C:\Projects\GitHub\test\secondDisk.vdi' {8166ff94-8866-44c9-93d8-18023f14d47b} because a hard disk 'C:\Projects\GitHub\test\secondDisk.vdi' with UUID {2e06f6f0-e768-4e07-a5f1-de1412fdb409} already exists
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component VirtualBoxWrap, interface IVirtualBox
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreateMedium(struct HandlerArg *)" at line 450 of file VBoxManageDisk.cpp

How do I destroy the vdi?

@kusnier
Copy link
Owner

kusnier commented Nov 30, 2016

Please test this with the latest version

@kusnier kusnier closed this as completed Nov 30, 2016
@AlexeyKosov
Copy link

The same issue, v. 0.0.24

@kusnier
Copy link
Owner

kusnier commented Jan 23, 2017

@AlexeyKosov Which box are you used? Then i can reproduce this on my local machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants