Project

Profile

Help

Task #5083

closed

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 5 years ago. Updated over 4 years 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.

Actions #1

Updated by ttereshc over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc
Actions #2

Updated by ttereshc over 5 years ago

  • Sprint set to Sprint 56
Actions #3

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)
Actions #4

Updated by ttereshc over 5 years ago

  • Status changed from ASSIGNED to POST

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.

closes #5083 https://pulp.plan.io/issues/5083

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.

closes #5083 https://pulp.plan.io/issues/5083

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.

closes #5083 https://pulp.plan.io/issues/5083

Actions #5

Updated by rchan over 5 years ago

  • Sprint changed from Sprint 56 to Sprint 57
Actions #6

Updated by ttereshc over 5 years ago

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

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

Actions #7

Updated by bmbouter almost 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #8

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #9

Updated by ttereshc almost 5 years ago

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

Updated by ttereshc almost 5 years ago

  • Status changed from CLOSED - CURRENTRELEASE to MODIFIED
Actions #11

Updated by ttereshc over 4 years ago

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

Also available in: Atom PDF