Project

Profile

Help

Story #5407

closed

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

As a user I have a pulp2 api that generates a MP template

Added by ipanova@redhat.com about 5 years ago. Updated over 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Add a pulp2 api endpoint that will return MP template in a json format based on the provided data.

This template is subject to further modifications unless whole plugin is intended to be migrated.


GET pulp/api/v2/migration-plan/?plugin=docker
Will return:

 {
    "plugins": [
       { 
         "type": "docker",
     }
  ]
}

GET pulp/api/v2/migration-plan/?plugin=docker&repositories=True

Will return:

 {
    "plugins": [
       { 
         "type": "docker",
         "repositories": [list of all repositories in Pulp2 for this plugin, one pulp2 repo is migrated into 1 pulp3 repo and repo version]
     }
  ]
}

GET pulp/api/v2/migration-plan/?plugin=docker,iso

Will return:

 {
    "plugins": [
       { 
         "type": "docker"
     },
       {
         "type": "iso"
     }
  ]
}

GET pulp/api/v2/migration-plan/?plugin=docker,iso&repositories=True
Will return:

 {
    "plugins": [
       { 
         "type": "docker",
         "repositories" :  [list of all repositories in Pulp2 for this plugin, one pulp2 repo is migrated into 1 pulp3 repo and repo version]
     },
       { 
         "type": "iso",
         "repositories" :  [list of all repositories in Pulp2 for this plugin, one pulp2 repo is migrated into 1 pulp3 repo and repo version]
     }
  ]
}

For further detailed specifications user will need to modify the json manually and also in the case when they don't want to migrate all repos. We need to provide docs that will explain how to do that.

Actions #1

Updated by ipanova@redhat.com about 5 years ago

  • Description updated (diff)
Actions #2

Updated by mdellweg about 5 years ago

If pulp2 could spell out every repository available instead of specifying [] for all. It would be easier for the administrator to reorder and reassign entities.

Actions #3

Updated by ttereshc almost 5 years ago

  • Project changed from Pulp to Migration Plugin
Actions #4

Updated by ttereshc over 4 years ago

  • Tags Pulp 2 added
Actions #5

Updated by ttereshc over 4 years ago

  • Description updated (diff)
Actions #6

Updated by ttereshc over 4 years ago

  • Status changed from NEW to CLOSED - WONTFIX

This no longer relevant. If anyone ever needs this functionality, it will be done in Pulp 3 in the migration plugin itself, feel free to open a new issue in this case.

Also available in: Atom PDF