1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/70c404e681a0/ Changeset: 70c404e681a0 User: dannon Date: 2014-10-16 17:54:46+00:00 Summary: S3ObjectStore will create the bucket for you when possible if it does not exist. Affected #: 1 file diff -r b1d9b4f49abb5f27bf54e01901fc37fe2fe20681 -r 70c404e681a0f4c347eaca75d65f23a11edcb823 lib/galaxy/objectstore/s3.py --- a/lib/galaxy/objectstore/s3.py +++ b/lib/galaxy/objectstore/s3.py @@ -167,8 +167,12 @@ log.debug("Using cloud object store with bucket '%s'" % bucket.name) return bucket except S3ResponseError: - log.debug("Could not get bucket '%s', attempt %s/5" % (bucket_name, i + 1)) - time.sleep(2) + try: + log.debug("Bucket not found, creating s3 bucket with handle '%s'" % bucket_name) + self.conn.create_bucket(bucket_name) + except S3ResponseError: + log.exception("Could not get bucket '%s', attempt %s/5" % (bucket_name, i + 1)) + time.sleep(2) # All the attempts have been exhausted and connection was not established, # raise error raise S3ResponseError 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.