-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
Description
Example of a response where the job "finished", but informs of an error.
{\"queryasyncjobresultresponse\"=>{\"accountid\"=>\"129cea07-35dd-47bc-bd89-a8b59e9a6211\", \"userid\"=>\"d08a5318-0f15-4c05-a9b7-6ed6466fbbc3\", \"cmd\"=>\"org.apache.cloudstack.api.command.user.vm.DestroyVMCmd\", \"jobstatus\"=>2, \"jobprocstatus\"=>0, \"jobresultcode\"=>530, \"jobresulttype\"=>\"object\", \"jobresult\"=>{\"errorcode\"=>530, \"errortext\"=>\"Parameter expunge can be passed by Admin only\"}, \"created\"=>\"2016-08-19T12:12:57+0200\", \"jobid\"=>\"3a99bde5-c142-400d-9655-174bed03a773\"}}"
In this specific case the CloudStack version only allowed admin to use expunge, and "therefore" did actually not destroy the VM.