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.

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:open
  • Created 4 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
pugangxacommented, Jan 7, 2020

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

0reactions
aurorazlcommented, Sep 4, 2020

I submit a PR #1081 to support storageUri like file://.

Read more comments on GitHub >

github_iconTop 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 >

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