commit/galaxy-central: dannon: Remove Availability Zone placement from cloud_launch instance kickoff. This prevents the failure where an AZ is temporarily unavailable by allowing Amazon to auto-place.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/a0a4f15fe095/ changeset: a0a4f15fe095 user: dannon date: 2012-06-21 20:09:17 summary: Remove Availability Zone placement from cloud_launch instance kickoff. This prevents the failure where an AZ is temporarily unavailable by allowing Amazon to auto-place. affected #: 1 file diff -r f6a710440c0500fb09e980300419b53b2cda6088 -r a0a4f15fe0958c5ff2658c1695c63023b9cf6d39 lib/galaxy/web/controllers/cloudlaunch.py --- a/lib/galaxy/web/controllers/cloudlaunch.py +++ b/lib/galaxy/web/controllers/cloudlaunch.py @@ -177,7 +177,6 @@ instance_type = user_provided_data['instance_type'] # Remove 'instance_type' key from the dict before creating user data del user_provided_data['instance_type'] - placement = _find_placement(ec2_conn, instance_type) ud = "\n".join(['%s: %s' % (key, value) for key, value in user_provided_data.iteritems() if key != 'kp_material']) try: rs = ec2_conn.run_instances(image_id=image_id, @@ -186,8 +185,7 @@ security_groups=security_groups, user_data=ud, kernel_id=kernel_id, - ramdisk_id=ramdisk_id, - placement=placement) + ramdisk_id=ramdisk_id) except EC2ResponseError, e: log.error("Problem starting an instance: %s\n%s" % (e, e.body)) if rs: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket