Actions
Task #5083
closedStory #3821: As a user, I can migrate from Pulp 2 to Pulp 3
Add model for Pulp 2 data and dump Pulp 2 generic data using this model
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 57
Quarter:
Description
Create a Pulp2Content model which stores pulp 2 content in a generic way, not content specific.
Fields:
- content type
- content_id
- downloaded flag
- storage_path
- date created in pulp 2
Create an asyncio loop and couroutines which dump generic info about Pulp 2 content.
It should be triggered from the main task migrate_from_pulp2
.
Dump only newly added content to Pulp2, use _last_updated field of Pulp 2 content model for that.
Actions
Save generic Pulp 2 content info for futher migration steps
It tries to save only newly added units, Pulp 2 content which is already known to the migraiton tool is not re-queried or re-saved.
closes #5083 https://pulp.plan.io/issues/5083