Project

Profile

Help

Story #5003

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 4 months ago. Updated 3 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
Migration Tool
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 55

Description

The Django app in the pulp-2to3-migrate0 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


Checklist


Related issues

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

Associated revisions

Revision c1829f92 View on GitHub
Added by ttereshc 4 months ago

Add model and dispatch a basic task for the migration tool

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

Revision c1829f92 View on GitHub
Added by ttereshc 4 months ago

Add model and dispatch a basic task for the migration tool

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

History

#1 Updated by ttereshc 4 months ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes

I'm not sure why it needs to sleep and exit, however it's a detail and can be discussed/decided at implementation stage.

#2 Updated by dkliban@redhat.com 4 months ago

This is a no-op task for right now. The sleep statement is just for fun :)

#3 Updated by ttereshc 4 months ago

  • Sprint set to Sprint 55

#4 Updated by ttereshc 4 months ago

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

#5 Updated by ttereshc 4 months ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (ttereshc)

#6 Updated by ttereshc 4 months ago

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

#7 Updated by ttereshc 3 months ago

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

#8 Updated by kersom 2 months ago

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

Please register to edit this issue

Also available in: Atom PDF