Project

Profile

Help

Task #5632

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

Mark changed/removed Pulp 2 repositories/importers/distributors

Added by ttereshc about 1 year ago. Updated 7 months ago.

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 63
Quarter:

Description

Introduce a new field not_in_pulp2 on models for Pulp2Repository, Pulp2Importer, Pulp2Distributor pre-migration.
It should be False by default.

At pre-migration stage set not_in_pulp2 to True for the resources which are no longer in Pulp 2.
Only check/change resources for a specified plugin type!
Don't rely on id of resources but on their object_id when performing search/lookup.

There is an is_migrated flag already on the mentioned models, it should be set to False if relevant timestamps for resources change. The migration stage should take is_migrated into account.

Associated revisions

Revision 0f45434a View on GitHub
Added by ttereshc about 1 year ago

Mark changed or removed resources

Also support the case if a resource has been re-created in pulp2, aka has same name or resource id but different object_id.

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

Revision 0f45434a View on GitHub
Added by ttereshc about 1 year ago

Mark changed or removed resources

Also support the case if a resource has been re-created in pulp2, aka has same name or resource id but different object_id.

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

Revision 0f45434a View on GitHub
Added by ttereshc about 1 year ago

Mark changed or removed resources

Also support the case if a resource has been re-created in pulp2, aka has same name or resource id but different object_id.

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

History

#1 Updated by ttereshc about 1 year ago

  • Parent task set to #3821

#2 Updated by ttereshc about 1 year ago

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

#3 Updated by ipanova@redhat.com about 1 year ago

  • Groomed changed from No to Yes

#4 Updated by ttereshc about 1 year ago

  • Status changed from ASSIGNED to POST

#5 Updated by rchan about 1 year ago

  • Sprint changed from Sprint 61 to Sprint 62

#6 Updated by rchan 12 months ago

  • Sprint changed from Sprint 62 to Sprint 63

#7 Updated by ttereshc 12 months ago

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

#8 Updated by ttereshc 11 months ago

  • Project changed from Pulp to Migration Plugin

#9 Updated by ttereshc 9 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
  • Sprint/Milestone set to 0.1.0

#10 Updated by bmbouter 7 months ago

  • Tags deleted (Pulp 2 to 3 Migrate)

We're removing the 'Pulp 2 to 3 Migrate' tag to allow membership of the Migration Plugin project in Redmine to be the controlling area https://pulp.plan.io/projects/migration

Please register to edit this issue

Also available in: Atom PDF