-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitLab registry HTTP: Migrating from dvc 2 to dvc 3 and pushing leads to Bad Request #10553
Comments
@sisp I think might have more information on this PTAL here iterative/dvc-http#50 (comment) I don't we support the GitLab in DVC 3 in this way atm :( |
I stopped using GitLab's generic package registry for the same reason plus the lacking garbage collection capability by the |
Thanks a lot for your quick response. My understanding is that if I have an alternative to gitlab package registry I should move to it. I will check all you links @sisp thank you ! |
Not sure if I understand you right. DVC v3 is no longer compatible with the unofficial use of GitLab's generic package registry via the |
I mean I can use another remote storage such as s3 ? (It is a bit painful in my case but not related to this issue haha) |
Yes, migrating to, e.g., S3 should be no problem, but you loose the seamless integration with GitLab, which is what I'm after at least. |
Bug Report
Description
I have been trying for a few months to migrate from dvc 2 to dvc 3 without success.
We use a gitlab package registry as remote storage and communicate with it through HTTP (as explained here). We authenticate through Personal Access Token and everything was working fine on DVC 2. I successfully upgraded our CI to dvc 3 to leverage the dvc.yaml features when pulling data and models but failed for local env and pushing new dvc files.
I migrated all the cache and files to the dvc 3 format with
dvc cache migrate --dvc-files
and when I push I get 400 Bad Request and I think this has something to do with the url changing from/cache/81/<the-number>
to/cache/files/md5/81/<the-number>
.Right now I just keep working with dvc 2 in local env and dvc 3 for ci but I would really like to upgrade everything to dvc 3.
Reproduce
Expected
New files are pushed successfully to remote
Environment information
The text was updated successfully, but these errors were encountered: