Issue #6949
closedRe-migration of a distribution tree fails
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
Updated by ttereshc over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
Added by ttereshc over 4 years ago
Added by ttereshc over 4 years ago
Revision e89b4d47 | View on GitHub
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.
Added by ttereshc over 4 years ago
Revision e89b4d47 | View on GitHub
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.
Updated by ttereshc over 4 years ago
- Status changed from ASSIGNED to MODIFIED
Applied in changeset pulp:pulp-2to3-migration|e89b4d47b1ec42bf8bc1d16bda2a2c12bec4032c.
Added by ttereshc over 4 years ago
Revision 98261275 | View on GitHub
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.
Added by ttereshc over 4 years ago
Revision 98261275 | View on GitHub
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.
Added by ttereshc over 4 years ago
Revision 98261275 | View on GitHub
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.
Updated by ttereshc over 4 years ago
Applied in changeset pulp:pulp-2to3-migration|982612757318f9b6051f6a65dc202b7049395019.
Updated by ttereshc over 4 years ago
Applied in changeset pulp-2to3-migration|e89b4d47b1ec42bf8bc1d16bda2a2c12bec4032c.
Updated by ttereshc over 4 years ago
Applied in changeset pulp-2to3-migration|982612757318f9b6051f6a65dc202b7049395019.
Updated by ttereshc over 4 years ago
Applied in changeset pulp:pulp-2to3-migrate|e89b4d47b1ec42bf8bc1d16bda2a2c12bec4032c.
Updated by ttereshc over 4 years ago
Applied in changeset pulp:pulp-2to3-migrate|982612757318f9b6051f6a65dc202b7049395019.
Updated by ttereshc over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Fix distribution tree re-migration.
productmd serializes treeinfo data wrongly. Under
images
the images from [stage2] section is not present. All images are available underdownload
serialized data.closes #6949 https://pulp.plan.io/issues/6949