Commit Graph

209 Commits (217dc6b0b7cec883cc0b484ee6d31907605bd023)

Author SHA1 Message Date
Brian Coca 0794597c7e corrected release when this feature was added 10 years ago
Toshio Kuratomi 6cbce4d911 Potential fix for 640 10 years ago
Alex Clifford d2ae2e6cc6 Fix slight typo in doco 10 years ago
Brian Coca 0edfdca58b Merge pull request #105 from luisguilherme/devel
ec2_lc does not create valid launch configuration for EC2-Classic
10 years ago
Michael DeHaan d3297dc8a8 Merge pull request #598 from jsmartin/fix_asg_zone_identifier
vpc_zone_identifier must be a csv string when an asg is updated.
10 years ago
James Martin 242aa9f81b vpc_zone_identifier must be a csv string when an asg is updated. 10 years ago
Luís Guilherme F. Pereira cfda942376 Allow ec2_lc to create EC2-Classic Launch Configs
Removes default value from ec2_lc so it can create launch configurations valid on a EC2-Classic environment. AWS API will not accept a assign_public_ip when creating an ASG outside of VPC.
10 years ago
Philip Misiowiec 71d1044b8b Adds tenancy state to returning json 10 years ago
Philip Misiowiec ad7f5abf28 Ability to detach an EBS volume from an EC2 instance 10 years ago
tedder c5fe40661d feature pull request: catch and retry recoverable errors
boto can throw SSLError when timeouts occur (among other SSL errors). Catch these so proper JSON can be returned, and also add the ability to retry the operation.

There's an open issue in boto for this: https://github.com/boto/boto/issues/2409

Here's a sample stacktrace that inspired me to work on this. I'm on 1.7, but there's no meaningful differences in the 1.8 release that would affect this. I've added line breaks to the trace for readability.

    failed to parse: Traceback (most recent call last):
      File "/home/ubuntu/.ansible/tmp/ansible-tmp-1419895753.17-160808281985012/s3", line 2031, in <module> main()
      File "/home/ubuntu/.ansible/tmp/ansible-tmp-1419895753.17-160808281985012/s3", line 353, in main download_s3file(module, s3, bucket, obj, dest)
      File "/home/ubuntu/.ansible/tmp/ansible-tmp-1419895753.17-160808281985012/s3", line 234, in download_s3file key.get_contents_to_filename(dest)
      File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 1665, in get_contents_to_filename response_headers=response_headers)
      File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 1603, in get_contents_to_file response_headers=response_headers)
      File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 1435, in get_file query_args=None)
      File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 1488, in _get_file_internal for bytes in self:
      File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 368, in next data = self.resp.read(self.BufferSize)
      File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 416, in read return httplib.HTTPResponse.read(self, amt)
      File "/usr/lib/python2.7/httplib.py", line 567, in read s = self.fp.read(amt)
      File "/usr/lib/python2.7/socket.py", line 380, in read data = self._sock.recv(left)
      File "/usr/lib/python2.7/ssl.py", line 341, in recv return self.read(buflen)
      File "/usr/lib/python2.7/ssl.py", line 260, in read return self._sslobj.read(len) ssl.SSLError: The read operation timed out
10 years ago
Mick Bass 2d189f0d19 add retry with exponential backoff when we receive throttling error code from cloudformation 10 years ago
Brian Coca 62a53b1209 Merge pull request #541 from bcoca/cloudformation_china
update to use connect_to_region to avoid errors with china
10 years ago
Brian Coca 0ab5682b87 Merge pull request #260 from willthames/aws_frankfurt
Added better region handling and enabled eu-central-1, leaving centralizing the list on these modules to a subsequent patch
10 years ago
Brian Coca d564569910 update to use connect_to_region to avoid errors with china 10 years ago
Brian Coca 8e5a849c66 Merge pull request #3 from atlashealth/ec2_vol_ssd_ebs
Ability to specify new SSD EBS option
10 years ago
Brian Coca 3ee8e2840f Merge pull request #6 from willthames/ec2_snapshot_remove
Added the ability to remove snapshots
10 years ago
Brian Coca 978204aaa2 Merge pull request #496 from haraldsk/devel
add support for stack policies in cloudformation
10 years ago
Kale Franz 73172fae47 #531 correction
correct list comprehension for older versions of python (back to python 2.4)
10 years ago
Kale Franz e174c9b474 fixes #529 ec2_group module bug 10 years ago
Jeff Gonzalez 369eeb2666 Fixed formatting in documentation
The example was using mixed shorthand and long form yaml (region: "us-east-1 disable_rollback=true"

I modified the entire example to be long form.
10 years ago
Mike Putnam 5c6f375c17 Type fix on delete_snapshot docs. 10 years ago
Harald Skoglund 5bc8d5b96e add support for stack policies in cloudformation 10 years ago
Peter Gehres 05ca85a172 Issue #489: s3 should not fail on checksum mismtach when overwrite=no 10 years ago
Mike Putnam 55a51f4ca9 Clarify possible variable value in the docs. 10 years ago
Michael DeHaan 95aa8481b2 Merge pull request #466 from marcus-ahle/devel
Preventing Nonetype is not iterable error when no tags are set for new ASG
10 years ago
Marcus Ahle ba5c36ce5a Preventing Nonetype is not iterable error when no tags are passed in for a newly created ASG 10 years ago
Ben Whaley cf24e7d56c vpc_zone_identifier should be a list as per the docs 10 years ago
Scott Miller 53afd359f6 fix documentation
AWS does not recognize the subnet if it is presented in a comma delimited format with spaces. you must remove the space for Amazon to recognize the second subnet.
10 years ago
Toshio Kuratomi 5af4463823 Gixes to doc formatting 10 years ago
Brian Coca 71224c8678 Merge pull request #420 from drfickle/route53_float_fix
route53 module retry_interval needs to be a float before passing to time.sleep
10 years ago
willthames b287e7c0a6 Added the ability to remove snapshots
Added state option, and accompanying snapshot_id option for
when state=absent.
10 years ago
Will Thames 565fa9a0ae Fixed tagging 10 years ago
Denver Janke 0edb9f51e8 Fix few bugs around renaming db instances. 10 years ago
Will Thames a1a6201b82 Improved error handling
More tests, particular for failure testing
10 years ago
Will Thames 7a8586c53c RDS rewrite to use boto.rds and boto.rds2
Using rds2 allows tags and the control over whether or not DBs are
publicly accessible.
Move RDS towards a pair of interfaces implementing the details of rds
and rds2
Added tests to ensure that all operations work correctly as well as
requirements files that allow virtualenvs to test either boto.rds or
boto.rds2
10 years ago
Steve Fox c03ec202a7 retry_interval needs to be a float before passing to time.sleep 10 years ago
Michael DeHaan 9de0045d00 Remove potentially out of date or specific product references. 10 years ago
Michael DeHaan e7c92a6bc6 More EC2 doc tweaks 10 years ago
Michael DeHaan c6b0d469ac Misc EC2 doc tweaks. 10 years ago
Philip Misiowiec 59701feadb added version 10 years ago
Philip Misiowiec f5789e8eda Support for EC2 dedicated tenancy option 10 years ago
Philip Misiowiec c241e9dd9c added version 10 years ago
Philip Misiowiec b37a2328c0 Ability to specify new SSD EBS option 10 years ago
Robert Estelle 5e694c490c ec2_group allow empty rules. 10 years ago
follower a6e0d9d613 Fix typo of "rules_egress"
Or is "rules_egree" supposed to be a plural? The sentence is difficult to parse.

Maybe the correct fix is to "Purge existing rules on security group that are not found in rules_egress"?
10 years ago
Will Thames 30c7f9a7d3 Added better region handling and enabled eu-central-1
Make use of improved connect_to_aws that throws an exception
if a region can't be connected to (e.g. eu-central-1 requires
boto 2.34 onwards)

Add eu-central-1 to the two modules that hardcode their regions
Add us-gov-west-1 to ec2_ami_search to match documentation!
This pull request makes use of the changes in ansible/ansible#9419
10 years ago
Robert Estelle 4dd099fe7a Remove incorrect executable permissions. 10 years ago
James Cammarata a7749a8fce Merge pull request #309 from jsmartin/asg_fix_delete
asg will now be terminated if state=absent.
10 years ago
James Martin 341c7ce307 asg will now be terminated if state=absent.
adds mutually exclusive options
10 years ago
James Cammarata 710b7b9aba Merge pull request #308 from jsmartin/asg_orphaned_code
Removes orphaned code.
10 years ago
James Cammarata ae744f98d8 Serialize tag attributes to ASG properties in ec2_asg
Fixes #108
10 years ago
James Martin d5326e6dbd Removes orphaned code. 10 years ago
James Martin f287600e6c fixes #240, #274, #108 10 years ago
José Moreira 03cf57c6f0 Fixed small typo on ec2 task name 10 years ago
Dan Abel 4c04366882 use aws connect calls that allow boto profile use 10 years ago
Dan Abel a70f1c7718 use simpler ec2_connect ec2 util call
This allows boto profile use
10 years ago
Tom Wadley 1e08f508c6 use aws connect call in rds_subnet_group that allows boto profile use 10 years ago
Brian Coca 19ed60196c added __init__.py to new cloud subcategories so builds work again 10 years ago
Brian Coca 0c4adcb2c6 made subcategories for cloud modules for better organization 10 years ago