Project

Profile

Help

Issue #6949

Re-migration of a distribution tree fails

Added by ipanova@redhat.com over 1 year ago. Updated about 1 year 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

Associated revisions

Revision e89b4d47 View on GitHub
Added by ttereshc over 1 year ago

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

Revision e89b4d47 View on GitHub
Added by ttereshc over 1 year ago

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

Revision e89b4d47 View on GitHub
Added by ttereshc over 1 year ago

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

Revision 98261275 View on GitHub
Added by ttereshc over 1 year ago

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

Revision 98261275 View on GitHub
Added by ttereshc over 1 year ago

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

Revision 98261275 View on GitHub
Added by ttereshc over 1 year ago

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

History

#1 Updated by ttereshc over 1 year ago

  • Sprint/Milestone set to 0.2.0

#2 Updated by ttereshc over 1 year ago

  • Triaged changed from No to Yes

#3 Updated by jsherril@redhat.com over 1 year ago

  • Tags Katello added

#4 Updated by ttereshc over 1 year ago

  • Priority changed from Normal to High

#5 Updated by ttereshc over 1 year ago

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

#6 Updated by ttereshc over 1 year ago

  • Status changed from ASSIGNED to MODIFIED

#12 Updated by ttereshc about 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF