Project

Profile

Help

Issue #6951

closed

Migration of a distribution tree fails if it has a treeinfo and not .treenfo

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

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 78
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
Jun 10 12:15:49 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[1990]: pulp: pulp_rpm.app.tasks.publishing:INFO: Publishing: repository=distribution-repo, version=1

offending line https://github.com/pulp/pulp-2to3-migration/blob/master/pulp_2to3_migration/app/plugin/rpm/pulp_2to3_models.py#L718

  1. create and sync a repo that has a distribution tree with a treeinfo file
  2. migrate

Related issues

Related to Migration Plugin - Issue #6952: Migration of a distribution tree fails if it has no treeinfo file at allCLOSED - NOTABUGActions

Also available in: Atom PDF