Task #4205
closed
Story #3821: As a user, I can migrate from Pulp 2 to Pulp 3
Story #3822: As a user, I can migrate all content units of a specific type from Pulp 2 to Pulp 3
bootstrap pulp-2to3-migrate django app
Description
The migration tool is going to be modular.
The core of it going to live in a new 'pulp-2to3-migrate' repository. This repo should contain a Django app called 'pulp-2to3-migrate'.
The ISO plugin for it is going to be in it's own repository called 'pulp-2to3-migrate-iso'. This repo will contain a package by the same name. This package is going to provide an entry point for 'pulp_2to3_migrate.iso'.
Requirements¶
- run on a machine where Pulp3 is installed
- Pulp 3 environment (Django 2.x, Python 3.6+)
- use DynaConf to manage Django settings
- shared FS to access Pulp 2 storage (for in-place migration)
- can be interrupted/re-run multiple times and continue migration
- Parent issue set to #3822
- Groomed changed from No to Yes
- Tags Pulp 3 added
This looks good to me. Also when making this I recommend using cookiecutter, which is what I used to bootstrap the streamer.
- Sprint changed from Sprint 46 to Sprint 47
- Sprint changed from Sprint 47 to Sprint 48
Why should the tool be a django app?
This tool is going to need to use a database to keep track of state. Django provides an ORM we are familiar with. It also provides a framework for adding CLI commands. This will NOT be a web app.
- Sprint changed from Sprint 48 to Sprint 49
- Sprint changed from Sprint 49 to Sprint 50
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
- Subject changed from bootstrap pulp-3-migrate django app to bootstrap pulp-2to3-migrate django app
- Description updated (diff)
- Description updated (diff)
- Description updated (diff)
- Description updated (diff)
- Description updated (diff)
- Sprint changed from Sprint 50 to Sprint 51
- Status changed from ASSIGNED to POST
- Sprint changed from Sprint 51 to Sprint 52
- Status changed from POST to MODIFIED
- Sprint/Milestone set to 3.0.0
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
- Status changed from CLOSED - CURRENTRELEASE to MODIFIED
- Status changed from MODIFIED to CLOSED - COMPLETE
- Sprint/Milestone set to 0.1.0
Also available in: Atom
PDF
Bootstrap pulp-2to3-migrate tool
closes #4205 https://pulp.plan.io/issues/4205