You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I configure argo, KFP UI and KFP APIServer to use S3 as artifact store.
What happened:
Could not parse metadata file at: artifacts/iris-classification-pipeline-4ktlj/iris-classification-pipeline-4ktlj-3034405897/mlpipeline-ui-metadata.tgz. Error: SyntaxError: Unexpected token � in JSON at position 0
It's a little bit weird this is working fine if artifact is stored in Minio but not in S3. As you see in the screenshot, it has some unreadable chars and I verify that bucket and key path are correct and I can fetch file using command.
I am not sure if the way we persist file matters. I download both files from minio and s3. Both tgz and unzipped json return the same file type.
$ file ~/Downloads/mlpipeline-ui-metadata.tgz
~/Downloads/mlpipeline-ui-metadata.tgz: gzip compressed data, last modified: Sun Mar 29 06:24:22 2020, from Unix
$ file ~/Downloads/mlpipeline-ui-metadata.json
~/Downloads/mlpipeline-ui-metadata.json: ASCII text, with very long lines, with no line terminators
The only difference I know is in S3, the file metadata has Content-Type: application/x-gtar-compressed and I download minio file and reupload to S3, it has content type Content-Type: application/gzip but this still doesn't work.
What steps did you take:
I configure argo, KFP UI and KFP APIServer to use S3 as artifact store.
What happened:
It's a little bit weird this is working fine if artifact is stored in Minio but not in S3. As you see in the screenshot, it has some unreadable chars and I verify that bucket and key path are correct and I can fetch file using command.
I am not sure if the way we persist file matters. I download both files from minio and s3. Both tgz and unzipped json return the same file type.
The only difference I know is in S3, the file metadata has
Content-Type: application/x-gtar-compressed
and I download minio file and reupload to S3, it has content typeContent-Type: application/gzip
but this still doesn't work.Python code I used to persist the artifact.
What did you expect to happen:
Environment:
How did you deploy Kubeflow Pipelines (KFP)?
Standalone
KFP version: 0.2.5
/kind bug
/area frontend
/area backend
The text was updated successfully, but these errors were encountered: