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

botocore.exceptions.ClientError #631

Closed
jjneojiajun opened this issue May 6, 2020 · 6 comments
Closed

botocore.exceptions.ClientError #631

jjneojiajun opened this issue May 6, 2020 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@jjneojiajun
Copy link

jjneojiajun commented May 6, 2020

Hey BentoML Maintainers,

I am currently facing an issue deploying my model to AWS Lambda, although i followed the docs completely. I have received the botocore.exceptions.ClientError indicating there's (NoSuchBucket) when calling the GetBuckAcl Operations and InvalidLocationConstraint when calling the CreateBucket Operations. Any tips in regards to this? Is there like a parameter that i can use to create this bucket?

image

Thanks!

@yubozhao
Copy link
Contributor

yubozhao commented May 6, 2020

hi @jjneojiajun what is the region you are trying to deploy to?

There is an ongoing issue on boto3 that create an S3 bucket will fail for region us-east-1 that I am not aware, boto/boto3#125. I tested deploy lambda with the us-east-1 region and received the same error as you did.

I am working on a fix for creating S3 bucket for the us-east-1 region.

If you are not deploying to that region, could you provide more info on which region you are deploying to?

@parano parano added the bug Something isn't working label May 7, 2020
@jjneojiajun
Copy link
Author

jjneojiajun commented May 7, 2020

hi @jjneojiajun what is the region you are trying to deploy to?

There is an ongoing issue on boto3 that create an S3 bucket will fail for region us-east-1 that I am not aware, boto/boto3#125. I tested deploy lambda with the us-east-1 region and received the same error as you did.

I am working on a fix for creating S3 bucket for the us-east-1 region.

If you are not deploying to that region, could you provide more info on which region you are deploying to?

Hi @yubozhao, yes I was trying to deploy to us-east-1 region. So I guess this is part of the bug fix that's required. I will close this thread then. Thank you! :)

@spencersmith
Copy link

I'm still getting this issue after the first deployment to lambda.

Running version 0.8.1 or bentoml.

The first deployment worked for the most part, however subsequent deployments do not.

@parano
Copy link
Member

parano commented Jun 18, 2020

cc @yubozhao could you help take a look?

@parano parano reopened this Jun 18, 2020
@yubozhao
Copy link
Contributor

Hi, @spencersmith, I tested deploying and updating with the quick start example BentoService with us-east-1 region. Unfortunately, I wasn't able to reproduce the boto3 ClientError about InvalidLocationConstraint error for creating Bucket.

Can you share your boto3 version and what region you are deploying into?

@parano
Copy link
Member

parano commented Jul 11, 2020

hey @spencersmith, are you still experiencing this issue?

I think this exact issue(InvalidLocationConstraint with us-east-1 region) should have been fixed in 0.8.1, you might be experiencing a different issue (or our fix did not work). Could you provide the exact error logs if you still have it or if you can still reproduce this issue?

@parano parano closed this as completed Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants