The "file://" storage type does not work
See original GitHub issue/kind bug In the document and the python message it’s said the “file://” storage type is supported, but there’s no way to use it. It should be deprecated since we already have the pvc type.
What steps did you take and what happened: [A clear and concise description of what the bug is.] No matter what I set, there’s kind of message like:
INFO:root:Initializing, args: src_uri [file://test] dest_path[ [/mnt/models]
INFO:root:Copying contents of file://test to local
Traceback (most recent call last):
File "/storage-initializer/scripts/initializer-entrypoint", line 14, in <module>
kfserving.Storage.download(src_uri, dest_path)
File "/usr/local/lib/python3.7/site-packages/kfserving/storage.py", line 55, in download
return Storage._download_local(uri, out_dir)
File "/usr/local/lib/python3.7/site-packages/kfserving/storage.py", line 179, in _download_local
raise Exception("Local path %s does not exist." % (uri))
Exception: Local path file://test does not exist.
What did you expect to happen: Remove the “file://” type.
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
- Istio Version:
- Knative Version:
- KFServing Version:
- Kubeflow version:
- Minikube version:
- Kubernetes version: (use
kubectl version
): - OS (e.g. from
/etc/os-release
):
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
The "file://" storage type does not work · Issue #621 - GitHub
In the document and the python message it's said the "file://" storage type is supported, but there's no way to use it. It...
Read more >Writing data to text file using BCP prompts for file storage type
This command runs as expected on test environment and creates/updates required file without additional prompts. But when it's run in client's ...
Read more >Troubleshooting: file share issues - AWS Storage Gateway
If you can't create a file share because your file share is stuck in CREATING status, verify that the S3 bucket you mapped...
Read more >File types and external devices that work on Chromebooks
Troubleshoot problems with file types & external devices · In the corner of your screen, select the Launcher . · Select Files ....
Read more >Troubleshoot Azure Files problems in Windows (SMB)
This article lists common problems that are related to Microsoft Azure Files when you connect from Windows clients.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see. After PR #156 the local file in fact means pvc. The “file://” type storage is not supported so I removed it in PR #622
I submit a PR #1081 to support storageUri like file://.