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.

@dberenbaum why don’t we introduce a command in dvc for the check availability of buckets/directories? like dvc auth check s3://mybucket / dvc credentials azure://mycontainer

From @dmpetrov

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
daavoocommented, Sep 19, 2022

I agree, I don’t think the command helps, we should try to improve on error messages and exceptions. I’ll suggest closing this in favour of https://github.com/iterative/dvc/issues/6353.

The way I interpreted the request is that the command is not intended to be a silver bullet but rather a quick way of detecting errors regarding credentials and/or remote setup. Would be nice to clarify the use case for the command

1reaction
efiopcommented, Sep 16, 2022

@skshetry We are not limited by fsspec there, we can add any auth checks that we please on top and then consider propagading into upstream. But overall auth errors are handled differently depending on filesystem, in some it is better than in others. The OSError you’ve mentioned is just a bug, we’ve discussed this before.

What’s important to remember here is that auth check is not going to be a silver bullet, as with many operations we won’t know if we have access untill we try to do them. For example, s3 ls might work with some prefixes but not with others and so on, there are a lot of variables there. The best we can reasonably do is probably try listing a specified path, but even that is pretty limited.

Read more comments on GitHub >

github_iconTop Results From Across the Web

remote modify | Data Version Control - DVC
This command is commonly needed after dvc remote add or default to set up credentials or other customizations to each remote storage type....
Read more >
automatic user and password authentication for dvc get and ...
I am using user and password authentication for webdav which are stored in my local dvc config file in projectA. Pushing and Pulling...
Read more >
Configure a DVC remote without a DevOps degree - DagsHub
In this post, I'll show you how to easily configure DAGsHub Storage, a free DVC remote that is easy to configure, with no...
Read more >
DVC to Mandate Two-Factor Authentication ... - DVCNews.com
Effective November 16, 2022, Disney Vacation Club will utilize two-factor verification before allowing an individual to log into the member ...
Read more >
Transcripts and Verifications - Diablo Valley College
Payment for Express transcripts may be made with cash, check, ... verification, you must provide them with a signed letter of authorization.
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