Issue


VS deletion fails with the error:

Running: Storage API Call: PUT 12.34.56.78:8080/is/Datastore/5kx8b3ujq2hs0p/VDisk/ujxq0ye4zntskp "{\"state\":2,\"frontend_uuid\":\"2853206155\"}"
OnApp::Actions::Fatal Storage API Call failed: {"result"=>"FAILURE", "error"=>"onappstore offlineVDisk failed, vdisk ujxq0ye4zntskp not found."}
Fatal: OnApp::Actions::Fatal Storage API Call failed: {"result"=>"FAILURE", "error"=>"onappstore offlineVDisk failed, vdisk ujxq0ye4zntskp not found."}
CODE

Environment


OnApp 5.x.x

Integrated Storage 

Resolution


SSH to the compute resource listed in the error log (in the above error it's 12.64.56.78).

Once there, create a dummy disk using the following command. You'll see that the name UUID and datastore comes from the error log:

[root@~]# onappstore create name=ujxq0ye4zntskp uuid=ujxq0ye4zntskp size=1000 Datastore=5kx8b3ujq2hs0p
CODE

It may be the case that the deletion fails again, listed a different disk - use the same command for this new disk; you'll probably also need to create the first dummy disk again, as it was probably deleted during the DestroyVirtualServer task.

Below is a template of the command:

onappstore create name= uuid= size=1000 Datastore=
CODE

Also, make sure to check if the VS has additional disks that need to be created and/or be offline.

Cause 


Somewhere a disk is missing. It could have been deleted prior to VS destruction.