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

Sometimes S3 Bucket doesn't get created #616

Open
joehoyle opened this issue Aug 7, 2023 · 1 comment
Open

Sometimes S3 Bucket doesn't get created #616

joehoyle opened this issue Aug 7, 2023 · 1 comment
Labels
bug Existing functionality isn't behaving as expected developer advocacy Developer Advocacy related tasks to refine Issues needing refinement.

Comments

@joehoyle
Copy link
Member

joehoyle commented Aug 7, 2023

Steps to reproduce:

  1. composer server start
  2. Visit https://s3-console-$project.altis.dev/buckets, login with admin password
  3. Observe no buckets exist

This looks like a race condition between the s3 and s3-sync service. s3-sync creates the bucket and sets the permissions. I think if minino isn't up and running set the mc mb -p request fires too early. Subsequently, if I do wait for minio to start and then manually run mc mb -p local/s3-$project && mc policy set public local/$project and then I see:

mc mb -p local/s3-$project && mc policy set public local/s3-$project
Bucket created successfully `local/s3-$project`.
mc: <ERROR> Unable to set policy `public` for `local/s3-$project`. The specified bucket does not exist.

And then I run it again and it works, so there seems to need to be more time between the make bucket request and the ACL public request.

@joehoyle joehoyle added bug Existing functionality isn't behaving as expected to refine Issues needing refinement. labels Aug 7, 2023
@missjwo missjwo added the developer advocacy Developer Advocacy related tasks label Dec 16, 2024
@missjwo
Copy link
Member

missjwo commented Dec 18, 2024

@joehoyle Have you seen this happen recently?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing functionality isn't behaving as expected developer advocacy Developer Advocacy related tasks to refine Issues needing refinement.
Projects
None yet
Development

No branches or pull requests

2 participants