Skip to content

gdrive remote strange behaviour #3230

@RomanVeretenov

Description

@RomanVeretenov

DVC version - 0.80.0, Installed via pip
Ubuntu 18.04.2 LTS

To continue situation described in this issue:

I've created 2 remotes in .dvc/config

  • local remote in local network called lremote. Set as default.
  • gdrive remote called gremote. All gdrive preparations are done (app created inside my account, key & secret generated as described in 'dvc remote add' reference

Syncing with local remote works fine.
Syncing with gdrive remote behaves in some strange way:

Situation 1:
I do dvc push -r gremote, wait until all data is uploaded (it really appears in gdrive folder) and after it do git clean -dxf and then dvc pull -r gremote (also I can clone the git repo to another place, behaviour will be the same)
Expected: dvc progress bar appears and pull begins.
Got:

  • I must input access key again
  • After I copy the link to browser and get new access key, I get a warning
    WARNING: Some of the cache files do not exist neither locally nor on remote. Missing cache files:
    name: plates/***/706.zip, md5: ebd148595ce875c5754e95604d05d550
    and so on and here follows list of all files that must be pulled
    ERROR: failed to pull data from the cloud - Checkout failed for following targets:
    plates/***/706.zip
    and so on
    Did you forget to fetch?

dvc fetch says the same
WARNING: Some of the cache files do not exist neither locally nor on remote. Missing cache files:

As the result, no files are pulled

Situation 2:
I do dvc push -r gremote and then repeat it.
Expected: everything is up to date message
Got: push runs again and takes same time as on first run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting responsewe are waiting for your reply, please respond! :)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions