Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make AWSJobStore work with us-east-1 #3709

Closed
adamnovak opened this issue Jul 15, 2021 · 0 comments · Fixed by #3710
Closed

Make AWSJobStore work with us-east-1 #3709

adamnovak opened this issue Jul 15, 2021 · 0 comments · Fixed by #3710

Comments

@adamnovak
Copy link
Member

adamnovak commented Jul 15, 2021

As noted in boto/boto3#125, the AWS API has a long-standing bug where a bucket cannot be told to be in the us-east-1 region in the normal way.

Instead, when a bucket is to be placed in us-east-1, the whole CreateBucketConfiguration, which we unconditionally pass here, must be omitted.

As is, Toil lets you request that a job store be created in us-east-1, but will fail to create the bucket with:

botocore.exceptions.ClientError: An error occurred (InvalidLocationConstraint) when calling the CreateBucket operation: The specified location-constraint is not valid

We could also revisit whether having manually specified locations for buckets makes sense anymore; I think that since the system was designed, S3 was more or less globalized.

┆Issue is synchronized with this Jira Task
┆Issue Number: TOIL-957

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant