Likitha Shetty
14902a0bf7
CS-14731. Not able to revoke ingress rule, when there are multiple rules pointing to the same port and CIDR.
...
Resolved.
2012-05-14 17:37:14 +05:30
Likitha Shetty
c4f258fa82
CS-14728. ec2-revoke: Not able to revoke the icmp rules. Presented with "Server.InternalError:Cannot find matching ruleid"
...
Resolved. ICMP type and code was not correctly set in the request.
2012-05-14 17:37:14 +05:30
Rajesh Battala
9f7d218698
removed TODO comment
2012-05-13 22:32:14 +05:30
Rajesh Battala
f51cdd61f2
Implemented Multi Object Delete feature for S3
2012-05-13 22:26:43 +05:30
prachi
1b806e3713
CS 14640 - Output of ec2-describe-instances should provide security group,private ipaddress, ipaddress and hypervisor information.
...
Changes:
- fixed response.
2012-05-11 18:59:57 -07:00
prachi
f5363e4c51
CS- 14640 Output of ec2-describe-instances should provide security group,private ipaddress, ipaddress and hypervisor information.
...
Changes:
- Fixed response of describe Instances
2012-05-11 18:59:55 -07:00
prachi
1a81acd232
CS-14827: ec2-start-instances and ec2-stop-instances - When we try to start an instance that is already in "Running" state / try to stop an instance that is in "Stopped" state , API returns nothing.
...
Changes:
Adding the instance previous and current state to resposne; both states will be same.
2012-05-11 16:44:05 -07:00
prachi
1f5e68d96f
CS-14828: ec2-terminate-instance - When trying to terminate/start/top/reboot an instance that is already terminated , we get an error - "Server.InternalError: Instance:cffab230-b3c1-478b-b44a-6a603c5673ed not found"
...
Changes:
Changed error message.
2012-05-11 16:25:24 -07:00
Likitha Shetty
48d1191fef
CS-14742. When icmp rules are listed type and code is always shown as 0.
...
Not able to use filters "ip-permission.from-port" and "ip-permission.to-port" for listing icmp ingress rules.
Resolved.
2012-05-11 17:35:33 +05:30
Likitha Shetty
41aba7872d
CS-14638, Output of ec2-run-instances should provide security group, private address and ipaddress information.
2012-05-11 14:27:06 +05:30
Likitha Shetty
51963ef03d
CS-14727 ec2-describe-group. When a group has an account based ingress rule, we see and additional CIDR entry with no CIDR being returned.
...
Resolved. Update the response of DescribeSecurityGroup.
reviewed by: prachi
2012-05-11 10:25:18 +05:30
prachi
ba4f35add6
CS-14684 - ec2-describe-instances - Not able to use ip-address filter to list an instance with the provided ip-address.
...
Changes:
- awsapi was using a wrong name for the public ip field in response, so the ip address was not getting parsed out of the json response.
2012-05-10 16:50:32 -07:00
prachi
da520dfe21
awsapi - EIP related changes
2012-05-10 15:58:30 -07:00
Likitha Shetty
26f9cc6475
CS-14632 Not able to deploy VM in security groups using -g option for ec2-run-instances
...
Resolved. Updated the request and response for ec2-run-instances to
deploy VM in multiple security groups and output the corresponding security groups.
reviewed by: Prachi
2012-05-10 11:54:45 +05:30
prachi
96dffa2155
CS-14837 [ec2-describe-snapshots] Unable to find responseObjName:[snapshot]. Returning null! Exception: java.lang.NumberFormatException: For input string: <job-id>
...
- Changing JobId to String since CS 3.0.x uses String Ids now.
2012-05-09 23:20:51 -07:00
Rajesh Battala
44f3846168
Modified S3RestServlet to turn down request if enable.s3.api is false. Changed upgrade script for S3 API Feature
2012-05-09 15:25:39 +05:30
prachi
82af66cc5d
CS-14704 ec2-describe-keypairs - Not able to list the keypairs.
...
Changes:
- Response name that awsapi looks for was wrong.
- Filter matching improved.
2012-05-08 17:46:49 -07:00
prachi
48573deb1f
Change in awsapi to get Default Zone for the account during runInstances, CreateVolume etc.
...
- If zoneName is specified we use that
- If not, we choos the default zone marked for the account
- If no such default zone is found, fall back to choosing the first available zone.
2012-05-08 15:50:58 -07:00
JohnZ
2242ec0ca3
Correction to cloud-bridge-register and S3RestServlet to use parameter Action in POST
2012-05-08 17:54:53 +01:00
Likitha Shetty
9228a70913
Changes in CloudBridge to lookup defaultZoneId(marked for an account) from CloudStack DB.
...
reviewed by: Prachi
2012-05-08 13:10:29 +05:30
prachi
0ca7bbe89f
CS-14682 - When invalid filter name is provided in ec2-describe-instances command , java.lang.reflect.InvocationTargetException is thrown.
...
Changes:
- AxisFault was not being constructed in some cases
2012-05-07 17:21:15 -07:00
prachi
4c163bfab0
CS-14687: When a valid instance id that does not belong to the current user is passed to ec2-stop-instances,ec2-start-instances,ec2-terminate-instances, api does not return anythin
...
Changes:
Throw error if LookUpInstances fails to list the Vm by id.
2012-05-07 16:07:06 -07:00
prachi
da884e18ef
CS-14775: When trying to vms when there is enough capacity for only Vms between the min and max range , we donot respect the min count.
...
Changes:
Deploy minimum instances if the max allowed is less than the specified max. number in the request.
2012-05-07 14:31:50 -07:00
prachi
dcbd098ab0
CS-14777- Not able to retrieve password of a VM using ec2-get-password command.
...
Resolved. The response parsing in awsapi was broken.
2012-05-07 12:43:11 -07:00
prachi
31bf4eb426
EC2 API fidelity: Implement support for image attribute - launchPermission
...
Now SOAP EC2 API supports launchPermission attribute for following commands:
- ec2-describe-image-attribute
- ec2-modify-image-attribute
- ec2-reset-image-attribute
Note:
- REST API is not changed.
- ec2 tools have some validation for userId to be AWS account id (8 digits). SO its is not possible to test adding or removing individual userIds in ec2-modify-image-attribute command.
2012-05-07 11:40:09 -07:00
prachi
43f0d0df35
Logging related Changes overwritten by S3 Merger
...
Also did changes to not log the hibernate SQL
2012-05-07 11:40:01 -07:00
JohnZ
bc5ea30dfc
Revert 07e3632b59 removing change to awsapi-lib
2012-05-06 18:49:43 +01:00
JohnZ
07e3632b59
Revert "cloud-jasypt-1.8.jar into deps/awsapi-lib"
...
This reverts commit 7702a2da85 .
2012-05-06 18:35:45 +01:00
JohnZ
7702a2da85
cloud-jasypt-1.8.jar into deps/awsapi-lib
2012-05-04 16:08:44 +01:00
prachi
01fdcd5d00
Changes overwritten by S3 Merge
2012-05-03 16:45:19 -07:00
prachi
2986d31e04
Adding back code that S3 merge overwrote
2012-05-03 16:45:17 -07:00
JohnZ
e1c1e8fae1
awsapi-setup-db executable
2012-05-03 16:52:02 +01:00
JohnZ
4b0d7ccb31
Core S3 classes up to date
2012-05-03 15:06:30 +01:00
JohnZ
b89841ee4a
S3AccessControlList, SHost, SAcl updates and fixes
2012-05-02 22:28:00 +01:00
JohnZ
ef2c7423f1
S3 API merged branch
2012-05-02 15:51:10 +01:00
JohnZ
f8864fbbdd
S3 Result changes using MTOMAwareResultStreamWriter
2012-05-02 12:20:48 +01:00
Salvatore Orlando
4643e403ff
Finishing merge with 3.0.x
2012-05-01 15:08:51 +01:00
Salvatore Orlando
6257af95ed
Now really adding the renamed files!
2012-05-01 13:59:16 +01:00
prachi
7140bab73c
Files missing after cloudbridge-ec2-integration branch merge
2012-04-30 17:08:38 -07:00
prachi
9a4f5f90a2
Fix error from merge
2012-04-30 17:08:36 -07:00
prachi
7c61b8c7f6
Reverting changes in UserCredentialsDao becuse hibernate session is not handled well in REST part of code.
2012-04-30 17:08:33 -07:00
prachi
74a152df8d
- Changes to Configuring hibernate to connect to multiple databases: cloudbridge and cloudstack
...
- This avoids making multiple API calls just to list ServiceOfferings
2012-04-30 17:08:29 -07:00
prachi
35d3c279db
CS-14634: AWS API related logging should happen in awsapi.log.
...
Changes:
- Added awsapi logging to log4j-cloud.xml
- Having two log4j configurations caused problems when two webapps were deployed in tomcat
2012-04-30 17:08:28 -07:00
prachi
5ffc9990c3
Corrected the encryption key path
2012-04-30 17:08:27 -07:00
prachi
42728c7f78
Fixed the Encryption util to not do anything when db.properties do not use encryption.
2012-04-30 17:08:26 -07:00
prachi
3207ef6b78
CS-14611 : Not able to connect to cloudbridge db
...
changes:
- Added the util code that CloudStack uses to decrypt the password
2012-04-30 17:08:24 -07:00
prachi
e9ae32f172
Call CS to get the ServiceOffering name for the SvcOfferingId
2012-04-30 17:08:20 -07:00
prachi
38fffccb58
- Changes to EC2MainServlet to turn down request in enable.ec2.api is 'false'
...
- runInstances now calls CS to get the matching serviceOffering for the EC2 instanceType
2012-04-30 17:08:19 -07:00
Likitha Shetty
860aa58540
Fix RevokeSecurityGroupIngressCmd in AWSAPI to use responsename returned by CloudStack
...
reviewed by: prachi
2012-04-30 17:08:18 -07:00
Likitha Shetty
c130768b94
DescribeSecurityGroup: Use String instead of Long for RuleId
...
RevokeSecurityGroupIngress: Match the response name that CloudBridge uses with that provided by Cloudstack
2012-04-30 17:08:15 -07:00