-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9228/
-----------------------------------------------------------

Review request for cloudstack and Prachi Damle.


Description
-------

This is observed in the awsapi.log for all Describe* EC2 commands when the 
response object returned by CS has no elements. But With EC2DescribeImages 
command it is always observed. This is because every time DescribeImage is 
fired, we call CS listTemplates command multiple times, each time setting a 
different value for the templateFilter parameter (e.g. featured, executable, 
community etc.). And for some of these CS calls made we obtain am empty 
response and hence the message in the logs. 


This addresses bug CLOUDSTACK-1124.


Diffs
-----

  awsapi/src/com/cloud/stack/CloudStackClient.java 5002aa5 

Diff: https://reviews.apache.org/r/9228/diff/


Testing
-------

Using boto, call get_all_images - awsapi.log should not contain 'Unable to find 
responseObjName:[template]. Returning null! Exception: Property 
listtemplatesresponse.template is resolved to null JSON element on object: 
{"listtemplatesresponse":{}} '


Thanks,

Likitha Shetty

Reply via email to