You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Likitha Shetty <li...@citrix.com> on 2012/12/11 12:35:37 UTC
Re: Review Request: [AWSAPI] Property file fix for AWSAPI db(cloudbridge)
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8464/
-----------------------------------------------------------
(Updated Dec. 11, 2012, 11:35 a.m.)
Review request for cloudstack and Prachi Damle.
Summary (updated)
-----------------
[AWSAPI] Property file fix for AWSAPI db(cloudbridge)
Description
-------
For any EC2 call made to CloudStack AWSAPI 'com.cloud.utils.exception.CloudRuntimeException: DB Exception on: null' error is returned as the AWSAPI database is resolved to null.
Fix the db.properties file to map the awsapi db name to cloudbridge.
This addresses bug CLOUDSTACK-488.
Diffs
-----
utils/conf/db.properties 8d98119
Diff: https://reviews.apache.org/r/8464/diff/
Testing
-------
Run the awsapi server:
mvn -pl :cloud-awsapi jetty:run
Set the user keys:
<mgmt-server-ip>:7080/awsapi?Action=SetUserKeys&accesskey=<cs_api_key>&secretkey=<cs_secret_key>
Run any EC2 Query API against CloudStack(using boto client):
get_all_images()
Successfully returned all images present in CloudStack.
Thanks,
Likitha Shetty
Re: Review Request: [AWSAPI] Property file fix for AWSAPI db(cloudbridge)
Posted by Prasanna Santhanam <Pr...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8464/#review14486
-----------------------------------------------------------
Ship it!
looks good to me
- Prasanna Santhanam
On Dec. 11, 2012, 11:35 a.m., Likitha Shetty wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/8464/
> -----------------------------------------------------------
>
> (Updated Dec. 11, 2012, 11:35 a.m.)
>
>
> Review request for cloudstack and Prachi Damle.
>
>
> Description
> -------
>
> For any EC2 call made to CloudStack AWSAPI 'com.cloud.utils.exception.CloudRuntimeException: DB Exception on: null' error is returned as the AWSAPI database is resolved to null.
> Fix the db.properties file to map the awsapi db name to cloudbridge.
>
>
> This addresses bug CLOUDSTACK-488.
>
>
> Diffs
> -----
>
> utils/conf/db.properties 8d98119
>
> Diff: https://reviews.apache.org/r/8464/diff/
>
>
> Testing
> -------
>
> Run the awsapi server:
> mvn -pl :cloud-awsapi jetty:run
>
> Set the user keys:
> <mgmt-server-ip>:7080/awsapi?Action=SetUserKeys&accesskey=<cs_api_key>&secretkey=<cs_secret_key>
>
> Run any EC2 Query API against CloudStack(using boto client):
> get_all_images()
>
> Successfully returned all images present in CloudStack.
>
>
> Thanks,
>
> Likitha Shetty
>
>
Re: Review Request: [AWSAPI] Property file fix for AWSAPI db(cloudbridge)
Posted by Prasanna Santhanam <Pr...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8464/#review14487
-----------------------------------------------------------
Applied with
commit 2a8b9e513045bb1d5be93c192e3663f6db5cef4c
Author: Likitha Shetty <li...@citrix.com>
Date: Mon Dec 10 13:42:13 2012 +0530
CLOUDSTACK-292: AWSAPI calls fail with 'com.cloud.utils.exception.CloudRuntimeException: DB Exception on: null'
- Prasanna Santhanam
On Dec. 11, 2012, 11:35 a.m., Likitha Shetty wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/8464/
> -----------------------------------------------------------
>
> (Updated Dec. 11, 2012, 11:35 a.m.)
>
>
> Review request for cloudstack and Prachi Damle.
>
>
> Description
> -------
>
> For any EC2 call made to CloudStack AWSAPI 'com.cloud.utils.exception.CloudRuntimeException: DB Exception on: null' error is returned as the AWSAPI database is resolved to null.
> Fix the db.properties file to map the awsapi db name to cloudbridge.
>
>
> This addresses bug CLOUDSTACK-488.
>
>
> Diffs
> -----
>
> utils/conf/db.properties 8d98119
>
> Diff: https://reviews.apache.org/r/8464/diff/
>
>
> Testing
> -------
>
> Run the awsapi server:
> mvn -pl :cloud-awsapi jetty:run
>
> Set the user keys:
> <mgmt-server-ip>:7080/awsapi?Action=SetUserKeys&accesskey=<cs_api_key>&secretkey=<cs_secret_key>
>
> Run any EC2 Query API against CloudStack(using boto client):
> get_all_images()
>
> Successfully returned all images present in CloudStack.
>
>
> Thanks,
>
> Likitha Shetty
>
>