Project

Profile

Help

Issue #5480

closed

Migration plugin should allow storage_path to be set to null

Added by ipanova@redhat.com about 5 years ago. Updated over 4 years 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

Added by ipanova@redhat.com about 5 years ago

Revision 08a8af4d | View on GitHub

Allow storage_path to be null for artifactless content.

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

Added by ipanova@redhat.com about 5 years ago

Revision 08a8af4d | View on GitHub

Allow storage_path to be null for artifactless content.

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

Added by ipanova@redhat.com about 5 years ago

Revision 08a8af4d | View on GitHub

Allow storage_path to be null for artifactless content.

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

Actions #1

Updated by ipanova@redhat.com about 5 years ago

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

Updated by ipanova@redhat.com about 5 years ago

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

Actions #3

Updated by bmbouter almost 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #4

Updated by bmbouter almost 5 years ago

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

Updated by ttereshc almost 5 years ago

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

Updated by ttereshc almost 5 years ago

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

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