PXE-Boot-VM icon indicating copy to clipboard operation
PXE-Boot-VM copied to clipboard

VBoxManage Not Cleaning Up Properly

Open stephenrlouie opened this issue 10 years ago • 1 comments

Workaround:

  • Change the node name in the cluster.sh script.

Problem:

  • Only occurs some times when old machines are not cleaned up properly.
  • Have to go and manually delete the .vbox at that location

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

stephenrlouie avatar Mar 22 '16 20:03 stephenrlouie

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!!!

danehans avatar Mar 23 '16 17:03 danehans