Project

Profile

Help

Story #5003

closed

Story #3821: As a user, I can migrate from Pulp 2 to Pulp 3

As a user, I can use the REST API to dispatch a Pulp 2 to 3 migration task.

Added by dkliban@redhat.com 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:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 55
Quarter:

Description

The Django app in the pulp-2to3-migrate[0] repo needs to provide a view that handles requests at /pulp/api/v3/migrate_pulp2/.

This view should accept 2 parameters: dry_run (boolean) and migration_plan (JSON object). Both of the parameters should be used to dispatch a task called "migrate_from_pulp2". This task should sleep for 1 second and then exit.

[0] https://github.com/pulp/pulp-2to3-migrate


Related issues

Related to Migration Plugin - Test #5265: Test - As a user, I can use the REST API to dispatch a Pulp 2 to 3 migration task.CLOSED - COMPLETEActions

Also available in: Atom PDF