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

[BUG]: StoreTask fails #149

Open
randerzander opened this issue Oct 9, 2024 · 0 comments
Open

[BUG]: StoreTask fails #149

randerzander opened this issue Oct 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@randerzander
Copy link
Collaborator

Version

main branch

Which installation method(s) does this occur on?

No response

Describe the bug.

The store task documented client example is:

store_task = StoreTask(
    structured=True,
    images=True,
    store_method="minio",
    extra_params={
        "access_key": MINIO_ACCESS_KEY, 
        "secret_key": MINIO_SECRET_KEY,
    }
)

But this fails with:

minio.error.S3Error: S3 operation failed; code: AccessDenied, message: Access denied, resource: /nv-ingest, request_id: 17FC39443881F273, host_id: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855, bucket_name: nv-ingest

It's unclear if the documentation needs an update, or if some cleanup is necessary for task extra_params across the codebase.

Workaround:
store_task = StoreTask(
structured=True,
images=True,
store_method="minio",
access_key=MINIO_ACCESS_KEY,
secret_key=MINIO_SECRET_KEY,
)

Minimum reproducible example

No response

Relevant log output

No response

Other/Misc.

No response

@randerzander randerzander added the bug Something isn't working label Oct 9, 2024
@sosahi sosahi assigned sosahi and unassigned ChrisJar and sosahi Oct 29, 2024
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

3 participants