Project

Profile

Help

Task #5083

Story #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

Added by ttereshc over 1 year ago. Updated 7 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
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.

Associated revisions

Revision 68fe549a View on GitHub
Added by ttereshc over 1 year ago

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

Revision 68fe549a View on GitHub
Added by ttereshc over 1 year ago

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

Revision 68fe549a View on GitHub
Added by ttereshc over 1 year ago

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

History

#1 Updated by ttereshc over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc

#2 Updated by ttereshc over 1 year ago

  • Sprint set to Sprint 56

#3 Updated by ttereshc over 1 year 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)

#4 Updated by ttereshc over 1 year ago

  • Status changed from ASSIGNED to POST

#5 Updated by rchan about 1 year ago

  • Sprint changed from Sprint 56 to Sprint 57

#6 Updated by ttereshc about 1 year ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

Applied in changeset commit:pulp-2to3-migrate|68fe549a255f95dab9396ab23d59920d01f5784c.

#7 Updated by bmbouter 11 months ago

  • Sprint/Milestone set to 3.0.0

#8 Updated by bmbouter 11 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#9 Updated by ttereshc 10 months ago

  • Project changed from Pulp to Migration Plugin
  • Sprint/Milestone deleted (3.0.0)

#10 Updated by ttereshc 9 months ago

  • Status changed from CLOSED - CURRENTRELEASE to MODIFIED

#11 Updated by ttereshc 7 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
  • Sprint/Milestone set to 0.1.0

Please register to edit this issue

Also available in: Atom PDF