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
Actions #1

Updated by ttereshc over 5 years 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.

Actions #2

Updated by dkliban@redhat.com over 5 years ago

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

Actions #3

Updated by ttereshc over 5 years ago

  • Sprint set to Sprint 55
Actions #4

Updated by ttereshc over 5 years ago

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

Updated by ttereshc over 5 years ago

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

Updated by ttereshc over 5 years ago

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

Added by ttereshc over 5 years ago

Revision c1829f92 | View on GitHub

Add model and dispatch a basic task for the migration tool

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

Added by ttereshc over 5 years ago

Revision c1829f92 | View on GitHub

Add model and dispatch a basic task for the migration tool

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

Added by ttereshc over 5 years ago

Revision c1829f92 | View on GitHub

Add model and dispatch a basic task for the migration tool

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

Actions #7

Updated by ttereshc over 5 years ago

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

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

Actions #8

Updated by kersom over 5 years 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
Actions #9

Updated by bmbouter about 5 years ago

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

Updated by ttereshc almost 5 years ago

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

Updated by ttereshc almost 5 years ago

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

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