Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dev-tools:s3_object_storage [2025/07/21 12:16] – created rekonas | dev-tools:s3_object_storage [2025/10/15 16:37] (current) – [RKNS (Zarr V2) from Minio ZIP] fabricio | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| < | < | ||
| + | == Failed to verify certificate == | ||
| + | If you get the following error, you still need to add the certificate (see bottom of the page) to your system. | ||
| + | < | ||
| + | |||
| + | For adding the certificate: | ||
| + | |||
| + | 1. write the certificate it to a file. | ||
| + | |||
| + | 2. move it to the path where certificates are stored on your OS. | ||
| + | For OpenSuse Leap 15.6: | ||
| + | < | ||
| + | For Ubuntu it should be: | ||
| + | < | ||
| + | |||
| + | 3.Run the following command to update the certificates (same command on Ubuntu or OpenSuse) | ||
| ===== Example '' | ===== Example '' | ||
| Line 228: | Line 243: | ||
| zarr.create_array(store=store, | zarr.create_array(store=store, | ||
| + | </ | ||
| + | |||
| + | ===== Example Using mlflow ===== | ||
| + | This assumes that you have already set up a MLFLow server with a Minio artifact store. | ||
| + | In addition, the client has to also provide the credentials to the Minio store, as it directly sends it to s3, not via the mlflow. | ||
| + | You can do so by setting a few environment variables. | ||
| + | Note that the code below assumes you have a local file called ' | ||
| + | |||
| + | <code python> | ||
| + | |||
| + | print(" | ||
| + | load_dotenv() | ||
| + | |||
| + | # --- Configuration: | ||
| + | os.environ[" | ||
| + | os.environ[" | ||
| + | os.environ[" | ||
| + | os.environ[" | ||
| + | |||
| + | ca_cert_path = " | ||
| + | if not os.path.exists(ca_cert_path): | ||
| + | raise FileNotFoundError(f" | ||
| + | os.environ[" | ||
| + | # uncomment this if you want to ignore an insecure TLS/ | ||
| + | # | ||
| + | os.environ[" | ||
| </ | </ | ||
| Line 272: | Line 313: | ||
| </ | </ | ||
| + | |||
| + | |||