Actions
Issue #5481
closedMigration plugin expects to migrate only FileContentUnit
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)):
Actions
Migration plugin can migrate fileless content as well.
closes #5481 https://pulp.plan.io/issues/5481