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
100%
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.
Updated by ttereshc over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
Updated by ttereshc over 5 years ago
- Subject changed from Add model for Pulp 2 data and dispatch a task which dumps Pulp 2 data using this model to Add model for Pulp 2 data and dump Pulp 2 generic data using this model
- Description updated (diff)
Updated by ttereshc over 5 years ago
- Status changed from ASSIGNED to POST
Added by ttereshc over 5 years ago
Added by ttereshc over 5 years ago
Revision 68fe549a | View on GitHub
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.
Added by ttereshc over 5 years ago
Revision 68fe549a | View on GitHub
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.
Updated by ttereshc about 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset commit:pulp-2to3-migrate|68fe549a255f95dab9396ab23d59920d01f5784c.
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by ttereshc almost 5 years ago
- Project changed from Pulp to Migration Plugin
- Sprint/Milestone deleted (
3.0.0)
Updated by ttereshc almost 5 years ago
- Status changed from CLOSED - CURRENTRELEASE to MODIFIED
Updated by ttereshc over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
- Sprint/Milestone set to 0.1.0
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