You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Prachi Damle (JIRA)" <ji...@apache.org> on 2013/07/29 20:15:48 UTC

[jira] [Resolved] (CLOUDSTACK-3889) createAffinityGroup API does not return "id" in response.

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prachi Damle resolved CLOUDSTACK-3889.
--------------------------------------

    Resolution: Cannot Reproduce

Please update on what steps are you using to test this.

If this is just seen through automation, then we need to check the automation area.
                
> 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
>    Affects Versions: 4.2.0
>            Reporter: Girish Shilamkar
>            Assignee: Prachi Damle
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> 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