Project

Profile

Help

Story #5407

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 10 months ago. Updated 16 days 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:

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.

History

#1 Updated by ipanova@redhat.com 10 months ago

  • Description updated (diff)

#2 Updated by mdellweg 9 months 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.

#3 Updated by ttereshc 6 months ago

  • Project changed from Pulp to Migration Plugin

#4 Updated by ttereshc 4 months ago

  • Tags Pulp 2 added

#5 Updated by ttereshc 4 months ago

  • Description updated (diff)

#6 Updated by ttereshc 16 days 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.

Please register to edit this issue

Also available in: Atom PDF