Project

Profile

Help

Issue #5480

Migration plugin should allow storage_path to be set to null

Added by ipanova@redhat.com almost 2 years ago. Updated about 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 59
Quarter:

Description

Some pulp content units don't have storage path, For example, docker tags, comps.xml, errata, etc

item = Pulp2Content(pulp2_id=record['id'],
                            pulp2_content_type_id=record['_content_type_id'],
                            pulp2_last_updated=record['_last_updated'],
                            pulp2_storage_path=record['_storage_path'],
                            downloaded=record['downloaded'])

When saving Pulp2Content it will fail with non null violation for _storage_path

https://github.com/pulp/pulp-2to3-migrate/blob/7603684984c3d937499c3f5b5fd389b5ca01bf51/pulp_2to3_migrate/app/pre_migration.py#L92

Associated revisions

Revision 08a8af4d View on GitHub
Added by ipanova@redhat.com almost 2 years ago

Allow storage_path to be null for artifactless content.

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

Revision 08a8af4d View on GitHub
Added by ipanova@redhat.com almost 2 years ago

Allow storage_path to be null for artifactless content.

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

Revision 08a8af4d View on GitHub
Added by ipanova@redhat.com almost 2 years ago

Allow storage_path to be null for artifactless content.

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

History

#1 Updated by ipanova@redhat.com almost 2 years ago

  • Status changed from NEW to MODIFIED
  • Assignee set to ipanova@redhat.com
  • Sprint set to Sprint 59

#2 Updated by ipanova@redhat.com over 1 year ago

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

#3 Updated by bmbouter over 1 year ago

  • Sprint/Milestone set to 3.0.0

#4 Updated by bmbouter over 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#5 Updated by ttereshc over 1 year ago

  • Project changed from Pulp to Migration Plugin
  • Sprint/Milestone deleted (3.0.0)

#6 Updated by ttereshc over 1 year ago

  • Status changed from CLOSED - CURRENTRELEASE to MODIFIED

#7 Updated by ttereshc about 1 year ago

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

Please register to edit this issue

Also available in: Atom PDF