Deleting a VM using GOCA client


I’m using GOCA client to delete a VM. The code I’m using is like this:

vmCtrl := gocactrl.VM(vmID)
err = vmCtrl.Delete()

However, I receive this error:

GOCA client error [RESPONSE_XMLRPC_FAULT]: server response: Fault(-506): Method 'one.vm.delete' not defined


Hi @HodaAK,

Indeed, that method shouldn’t be defined and either TerminateHard() or Terminate() should be used. I’ve opened an issue for this.