Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
pre-4.0.0
-
None
-
Security Level: Public (Anyone can view this level - this is the default.)
-
None
Description
The following delete network API call is failing because there is a VM running in the network:
The popup states: "Failed to delete network", which is coming from the JSON response:
{ "queryasyncjobresultresponse" : {"accountid":"d0236100-db1a-4262-939b-d5a235e87d35","userid":"9cffba2c-54c9-4fde-8b5d-7e62c01eb9ee","cmd":"com.cloud.api.commands.DeleteNetworkCmd","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":
,"created":"2012-10-06T00:25:43+0000","jobid":"f3ee91a6-c4ca-48fb-bff5-8d2f5eee7a9d"} }
This gives the user too little information on why the network deletion failed. The error message should state that the network could not be deleted because there are VM(s) still running in the network.