Project

Profile

Help

Issue #6949

closed

Re-migration of a distribution tree fails

Added by ipanova@redhat.com over 2 years ago. Updated over 2 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

Actions #1

Updated by ttereshc over 2 years ago

  • Sprint/Milestone set to 0.2.0
Actions #2

Updated by ttereshc over 2 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by jsherril@redhat.com over 2 years ago

  • Tags Katello added
Actions #4

Updated by ttereshc over 2 years ago

  • Priority changed from Normal to High
Actions #5

Updated by ttereshc over 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc

Added by ttereshc over 2 years ago

Revision e89b4d47

Fix distribution tree re-migration.

productmd serializes treeinfo data wrongly. Under images the images from [stage2] section is not present. All images are available under download serialized data.

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

Added by ttereshc over 2 years ago

Revision e89b4d47

Fix distribution tree re-migration.

productmd serializes treeinfo data wrongly. Under images the images from [stage2] section is not present. All images are available under download serialized data.

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

Added by ttereshc over 2 years ago

Revision e89b4d47

Fix distribution tree re-migration.

productmd serializes treeinfo data wrongly. Under images the images from [stage2] section is not present. All images are available under download serialized data.

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

Actions #6

Updated by ttereshc over 2 years ago

  • Status changed from ASSIGNED to MODIFIED

Added by ttereshc over 2 years ago

Revision 98261275

Fix distribution tree re-migration.

productmd serializes treeinfo data wrongly. Under images the images from [stage2] section is not present. All images are available under download serialized data.

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

Added by ttereshc over 2 years ago

Revision 98261275

Fix distribution tree re-migration.

productmd serializes treeinfo data wrongly. Under images the images from [stage2] section is not present. All images are available under download serialized data.

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

Added by ttereshc over 2 years ago

Revision 98261275

Fix distribution tree re-migration.

productmd serializes treeinfo data wrongly. Under images the images from [stage2] section is not present. All images are available under download serialized data.

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

Actions #12

Updated by ttereshc over 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF