Project

Profile

Help

Issue #6949

closed

Re-migration of a distribution tree fails

Added by ipanova@redhat.com over 4 years ago. Updated over 4 years ago.

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

Description

Jun 10 11:57:15 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1136]: TypeError: 'NoneType' object is not subscriptable
Jun 10 11:57:15 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1136]: for image in extra_info['images']:
Jun 10 11:57:15 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1136]: File "/home/vagrant/devel/pulp-2to3-migration/pulp_2to3_migration/app/plugin/content.py", line 262, in migrate_to_pulp3
Jun 10 11:57:15 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1136]: Traceback (most recent call last):
Jun 10 11:57:15 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1136]: future: <Task finished coro=<ContentMigrationFirstStage.migrate_to_pulp3() done, defined at /home/vagrant/devel/pulp-2to3-migration
Jun 10 11:57:15 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1136]: pulp: asyncio:ERROR: Task exception was never retrieved

This code path relies on the values in the extra_info which in re-run are none because the object is already created in pulp2

https://github.com/pulp/pulp-2to3-migration/blob/master/pulp_2to3_migration/app/plugin/content.py#L245 https://github.com/pulp/pulp-2to3-migration/blob/master/pulp_2to3_migration/app/plugin/content.py#L260

Also available in: Atom PDF