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

Buckets : check for used disk space before updating a quota #2

Open
phlg opened this issue Jun 5, 2023 · 0 comments
Open

Buckets : check for used disk space before updating a quota #2

phlg opened this issue Jun 5, 2023 · 0 comments

Comments

@phlg
Copy link
Contributor

phlg commented Jun 5, 2023

At the moment, it's possible to set a quota to a size lower than what is actually used by a bucket, which causes the operator to fail for path creation operations, with a generic error similar to this one :

2023-06-05T16:30:04.830+0200    INFO    s3Client        checking path existence on a bucket     {"bucket": "dummy-bucket", "path": "opendata"}
2023-06-05T16:30:05.142+0200    INFO    s3Client        the path does not exist {"bucket": "dummy-bucket", "path": "opendata"}
2023-06-05T16:30:05.152+0200    INFO    s3Client        creating a path on a bucket     {"bucket": "dummy-bucket", "path": "opendata"}
2023-06-05T16:30:05.252+0200    ERROR   s3Client        an error occurred during path creation on bucket        {"bucket": "dummy-bucket", "path": "opendata", "error": "Bucket quota exceeded"}
github.com/inseefrlab/s3-operator/controllers/s3/factory.(*MinioS3Client).CreatePath
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

No branches or pull requests

1 participant