即使在提供正确的远程缓存配置后,“dvc add -external S3://mybucket/data.csv”也因访问错误而失败

问题描述

我正在使用 dvc 并连接到远程 S3 进行数据跟踪,并在同一个远程 S3 中设置远程 dvc 缓存。 以下是配置文件,

[core]
    remote = s3remote
[cache]
    s3 = s3cache
[‘remote “s3remote”’]
    url = S3://dvc-example
    endpointurl = http://localhost:9000/
    access_key_id = user
    secret_access_key = password
    use_ssl = false
[‘remote “s3cache”’]
    url = s3://dvc-example/cache
    endpointurl = http://localhost:9000/
    access_key_id = user
    secret_access_key = password
    use_ssl = false

我能够使用 s3remote 从远程存储库推送和拉取到本地。

但是当我尝试通过配置缓存(s3cache)添加外部数据时,出现错误。

s3cache,s3remote 的凭证都是一样的,那么为什么我在dvc 中添加外部数据时会失败?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)