stephenrlouie / PXE-Boot-VM

A Vagrant file to set up a PXE boot. (DHCP, TFTP, Apache, Provisioner = Virtualbox)
25 stars 7 forks source link

VBoxManage Not Cleaning Up Properly #4

Open stephenrlouie opened 8 years ago

stephenrlouie commented 8 years ago

Workaround:

Problem:

VBoxManage: error: Machine settings file '/Users/stelouie/VirtualBox VMs/node-1/node-1.vbox' already exists VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MachineWrap, interface IMachine, callee nsISupports VBoxManage: error: Context: "CreateMachine(bstrSettingsFile.raw(), bstrName.raw(), ComSafeArrayAsInParam(groups), bstrOsTypeId.raw(), createFlags.raw(), machine.asOutParam())" at line 272 of file VBoxManageMisc.cpp 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%... Progress state: NS_ERROR_INVALID_ARG VBoxManage: error: Failed to create medium VBoxManage: error: Cannot register the hard disk '/Users/stelouie/Documents/RIO/PXE-Boot-VM/create_cluster/node-1.vdi' {673a22ec-e841-456f-a78d-673c138b669f} because a hard disk '/Users/stelouie/Documents/RIO/PXE-Boot-VM/create_cluster/node-1.vdi' with UUID {9fc1d2fe-95fe-48e1-a363-a76619bbd90c} already exists VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component VirtualBoxWrap, interface IVirtualBox VBoxManage: error: Context: "RTEXITCODE handleCreateMedium(HandlerArg*)" at line 449 of file VBoxManageDisk.cpp VBoxManage: error: Could not find a registered machine named 'node-1' VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 1027 of file VBoxManageStorageController.cpp VBoxManage: error: Could not find a registered machine named 'node-1' VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 325 of file VBoxManageStorageController.cpp VBoxManage: error: Could not find a registered machine named 'node-1' VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 486 of file VBoxManageModifyVM.cpp VBoxManage: error: Could not find a registered machine named 'node-1' VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 486 of file VBoxManageModifyVM.cpp VBoxManage: error: Could not find a registered machine named 'node-1' VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 486 of file VBoxManageModifyVM.cpp VBoxManage: error: Could not find a registered machine named 'node-1' VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports VBoxManage: error: Context: "FindMachine(Bstr(pCtx->pszVmNameOrUuid).raw(), machine.asOutParam())" at line 842 of file VBoxManageGuestCtrl.cpp 000000000001

danehans commented 8 years ago

Not too worried about this one either. My suggestion is to update the README with a caveats or known limitations section that provides a quick blurb about each issue with a link to the GH issue. This is great work!!!