question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

StorageManager cannot work with MinIO

See original GitHub issue

Hi,

Describe the bug

i want to store all task, model, dataset, etc to minio. I see on document, StorageManager to manage upload, download data to our storage platform (i use minio). this is my config:

    aws {
        s3 {
            # use_credentials_chain: false
            region: "my_xx"
            key: "my_xx"
            secret: "my_xx"
            credentials: [
                {
                    # This will apply to all buckets in this host (unless key/value is specifically provided for a given bucket)
                    host: "minio_ip:9000"
                    key: "my_xx"
                    secret: "my_xx"
                    region: "my_xx"
                    multipart: false
                    secure: false
                }
            ]
        }
    }

To reproduce

i run this code to try upload but not works.

from clearml import StorageManager

manager = StorageManager()
manager.upload_folder(
    local_folder="/home/****/project1/dataset", 
    remote_url="s3://ip_minio:9000/test-bucket/dateset-clearml"
)

and return the error

...
Failed uploading: Could not connect to the endpoint URL: "http://s3.region-name.amazonaws.com/test-bucket/dateset-clearml/lq/seg_151a8cb2b37f4de6954aaf9fd6e0ee48_1.jpg"
Failed uploading: Could not connect to the endpoint URL: "http://s3.region-name.amazonaws.com/test-bucket/dateset-clearml/lq/seg_9f76595542e342c4a61f83a4b11c9e11_2.jpg"
...

the url seems still using aws, not minio_ip. is there i miss for config in MinIO?

Environment

  • Server : self hosted
  • ClearML SDK Version 1.6.4
  • ClearML Server Version: WebApp: 1.6.0-213 • Server: 1.6.0-213 • API: 2.20
  • Python Version 3.10.4
  • OS Linux

Thanks.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
erezalgcommented, Nov 7, 2022

Hi @muhammadAgfian96,

can you try with latest released RC and let us know if the issue is resolved?

1reaction
erezalgcommented, Oct 30, 2022

Hi @muhammadAgfian96,

Sorry for the late reply, this is planned to be released in the next version. We should update here once it’s out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MinIO Object Storage for Linux
MinIO is a high performance object storage solution that provides an Amazon Web Services S3-compatible API and supports all core S3 features.
Read more >
AWS SDK for Go v2: cannot list/get objects #12030 - GitHub
Downgrading to AWS SDK v1 or Minio's client library works. Not really a solution. Looking at the trace, it seems like MinIO is...
Read more >
Need help adding TLS certificates to a tenant in a k3s cluster
I'm kind of new to minio and I'm struggling with the certificate stuff ... a tenant in a k3s cluster, using Longhorn as...
Read more >
Extend PoINT Storage Manager by S3 API
To realize this, PSM can easily be extended by the open source object storage MinIO, i.e. PSM runs in the MinIO backend.
Read more >
IBM Tivoli Storage Manager: Client Messages and Application ...
you have a working knowledge of the Tivoli Storage Manager backup-archive client. ... Explanation: The system is unable to open the error log...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found