Project

Profile

Help

Issue #5481

closed

Migration plugin expects to migrate only FileContentUnit

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 do not have files, and they are subclassed from ContentUnit and not FileContentUnit.

These content types does not have `downloaded` attribute, therefore following query fails:

    for i, record in enumerate(mongo_content_qs.only('id',
                                                     '_storage_path',
                                                     '_last_updated',
                                                     '_content_type_id',
                                                     'downloaded').batch_size(batch_size)):

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

Actions #1

Updated by ipanova@redhat.com about 5 years ago

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

Added by ipanova@redhat.com about 5 years ago

Revision 814bc4b1 | View on GitHub

Migration plugin can migrate fileless content as well.

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

Added by ipanova@redhat.com about 5 years ago

Revision 814bc4b1 | View on GitHub

Migration plugin can migrate fileless content as well.

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

Added by ipanova@redhat.com about 5 years ago

Revision 814bc4b1 | View on GitHub

Migration plugin can migrate fileless content as well.

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

Actions #2

Updated by ipanova@redhat.com about 5 years ago

  • Status changed from POST to MODIFIED
Actions #3

Updated by ipanova@redhat.com about 5 years ago

Applied in changeset commit:pulp-2to3-migrate|814bc4b11eddb8e2952aa51541abbaca72e2e37f.

Actions #4

Updated by bmbouter almost 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #5

Updated by bmbouter almost 5 years ago

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

Updated by ttereshc almost 5 years ago

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

Updated by ttereshc almost 5 years ago

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

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