Project

Profile

Help

Issue #6952

closed

Migration of a distribution tree fails if it has no treeinfo file at all

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

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

Description

Jun 10 12:15:48 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1990]: pulp: asyncio:ERROR: Task exception was never retrieved
Jun 10 12:15:48 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1990]: future: <Task finished coro=<ContentMigrationFirstStage.migrate_to_pulp3() done, defined at /home/vagrant/devel/pulp-2to3-migration/pulp_2to3_migration/app/plugin/content.py:188> exception=TypeError("'NoneType' object is not iterable",)>
Jun 10 12:15:48 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1990]: Traceback (most recent call last):
Jun 10 12:15:48 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1990]: File "/home/vagrant/devel/pulp-2to3-migration/pulp_2to3_migration/app/plugin/content.py", line 253, in migrate_to_pulp3
Jun 10 12:15:48 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1990]: pulp3content, extra_info = pulp_2to3_detail_content.create_pulp3_content()
Jun 10 12:15:48 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1990]: TypeError: 'NoneType' object is not iterable

offending line https://github.com/pulp/pulp-2to3-migration/blob/master/pulp_2to3_migration/app/plugin/rpm/pulp_2to3_models.py#L720 Reason: we return none and then it fails later here https://github.com/pulp/pulp-2to3-migration/blob/master/pulp_2to3_migration/app/plugin/content.py#L251 Solution: fail gracefully without traceback


Related issues

Related to Migration Plugin - Issue #6951: Migration of a distribution tree fails if it has a treeinfo and not .treenfoCLOSED - CURRENTRELEASEipanova@redhat.comActions
Actions #1

Updated by ipanova@redhat.com almost 4 years ago

  • Related to Issue #6951: Migration of a distribution tree fails if it has a treeinfo and not .treenfo added
Actions #2

Updated by ipanova@redhat.com almost 4 years ago

  • Sprint/Milestone set to 0.2.0
Actions #3

Updated by ttereshc almost 4 years ago

  • Sprint/Milestone deleted (0.2.0)
Actions #4

Updated by ipanova@redhat.com almost 4 years ago

  • Status changed from NEW to CLOSED - NOTABUG

Also available in: Atom PDF