You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Min Chen (JIRA)" <ji...@apache.org> on 2014/07/22 18:46:39 UTC
[jira] [Created] (CLOUDSTACK-7162) queryAsyncJobResult api does not
return jobinstanceid
Min Chen created CLOUDSTACK-7162:
------------------------------------
Summary: queryAsyncJobResult api does not return jobinstanceid
Key: CLOUDSTACK-7162
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7162
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API
Affects Versions: 4.2.0
Reporter: Min Chen
Assignee: Min Chen
Priority: Critical
Fix For: 4.5.0
As per the API doc, queryAsyncJobResult should return jobinstanceid, but we never saw it returning jobinstanceid in any of the async query result.
ex: when we call deploy vm
http://<CCP-IP>:8080/client/api?command=deployVirtualMachine&zoneId=9d2971ac-e5d8-48ed-9433-6c841aaa2abe&templateId=5fdb8139-9dec-4104-b963-1169ee8a606c&hypervisor=XenServer&serviceOfferingId=f5599b66-1488-42d5-a68f-31b62b397aea&diskOfferingId=54a8e6c0-f68f-40db-a379-3f5052f10643&networkIds=daaed11e-a7b6-4375-8da1-80208f97dc32&response=json&sessionkey=h8sGm6EFEMifsm7w3FG6WDeSVWI%3D&_=1391080640434
we get:
{ "deployvirtualmachineresponse" :
{"id":"1967161f-903f-46d9-bb52-f8896bd5951f","jobid":"94fb216d-e28a-4a92-b59e-5b19df0fc042"}
}
But when we query async job result, we expect it to return jobinstanceid, which should be same as id above.
--
This message was sent by Atlassian JIRA
(v6.2#6252)