Girish Shilamkar created CLOUDSTACK-3889:
--------------------------------------------
Summary: createAffinityGroup API does not return "id" in response.
Key: CLOUDSTACK-3889
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3889
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API, Automation
Reporter: Girish Shilamkar
While making changes to affinity groups testcases, found that
createAffinityGroups API does not return id.
2013-07-29 12:17:16,641 INFO [cloud.api.ApiServer] (catalina-exec-24:null)
(userId=2 accountId=2 sessionId=72E8E1EE5D2EC61E90BE7F944D3EA4FC)
192.168.100.53 -- GET
command=createAffinityGroup&response=json&sessionkey=Hdq5ogh%2Fc2A5PXXrJDNd2SkwBvU%3D&name=Test_g&type=host+anti-affinity&_=1375080436560
200 { "createaffinitygroupresponse" :
{"id":"366e51ce-ce6d-41d9-9ea1-dfd932962bdc","jobid":"fba998cc-9285-421b-9a57-8fd3f9fae7a4"}
}
2013-07-29 12:17:19,668 INFO [cloud.api.ApiServer] (catalina-exec-21:null)
(userId=2 accountId=2 sessionId=72E8E1EE5D2EC61E90BE7F944D3EA4FC)
192.168.100.53 -- GET
command=queryAsyncJobResult&jobId=fba998cc-9285-421b-9a57-8fd3f9fae7a4&response=json&sessionkey=Hdq5ogh%2Fc2A5PXXrJDNd2SkwBvU%3D&_=1375080439598
200 { "queryasyncjobresultresponse" :
{"accountid":"4bc23192-f4f5-11e2-bf57-005056860002","userid":"4bc28d0e-f4f5-11e2-bf57-005056860002","cmd":"org.apache.cloudstack.api.command.user.affinitygroup.CreateAffinityGroupCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"affinitygroup":{"name":"Test_g","account":"admin","domainid":"3d051818-f4f5-11e2-bf57-005056860002","domain":"ROOT","type":"host
anti-affinity"}},"created":"2013-07-29T12:17:16+0530","jobid":"fba998cc-9285-421b-9a57-8fd3f9fae7a4"}
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira