Actions
Issue #8195
closedNoneType' object has no attribute 'cast on metadata_checksum_type
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 90
Quarter:
Q1-2021
Description
NoneType' object has no attribute 'cast
"traceback": " File \"/usr/lib/python3.6/site-packages/rq/worker.py\", line 936, in perform_job
rv = job.perform()
File \"/usr/lib/python3.6/site-packages/rq/job.py\", line 684, in perform
self._result = self._execute()
File \"/usr/lib/python3.6/site-packages/rq/job.py\", line 690, in _execute
return self.func(*self.args, **self.kwargs)
File \"/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/tasks/migrate.py\", line 136, in migrate_from_pulp2
pre_migrate_all_without_content(plan, type_to_repo_ids, repo_id_to_type)
File \"/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/pre_migration.py\", line 384, in pre_migrate_all_without_content
repo_id, distributors_repos, distributor_migrators, repo)
File \"/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/pre_migration.py\", line 556, in pre_migrate_distributor
needs_new_publication = dist_migrator.needs_new_publication(distributor)
File \"/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/rpm/repository.py\", line 105, in needs_new_publication
current_checksum_type = pulp2distributor.pulp3_publication.cast().metadata_checksum_type
from:
Updated by jsherril@redhat.com almost 4 years ago
The user did confirm that they deleted repos in between migrations
Updated by ttereshc almost 4 years ago
- Project changed from Pulp to Migration Plugin
Updated by ttereshc almost 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
- Sprint set to Sprint 90
- Quarter set to Q1-2021
Updated by ttereshc almost 4 years ago
The issue occurs when:
- pre-migration for a distributor happened, but migration did not
- then pulp2 distributor changed
- then migration plan was run again
Updated by ttereshc almost 4 years ago
- Status changed from ASSIGNED to POST
Added by ttereshc almost 4 years ago
Added by ttereshc almost 4 years ago
Revision 1e98eef8 | View on GitHub
Fixed distributor re-run when it was only pre-migrated and then changed
The following situation is fixed now:
- pre-migration for a distributor happened, but migration did not
- then pulp2 distributor changed
- then migration plan was run again
Added by ttereshc almost 4 years ago
Revision 1e98eef8 | View on GitHub
Fixed distributor re-run when it was only pre-migrated and then changed
The following situation is fixed now:
- pre-migration for a distributor happened, but migration did not
- then pulp2 distributor changed
- then migration plan was run again
Updated by ttereshc almost 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp:pulp-2to3-migration|1e98eef8e4b90a42b71b1fda3a7e2f2c888aa2c3.
Updated by ttereshc almost 4 years ago
- Sprint/Milestone changed from 0.9.0 to 0.8.0
Updated by pulpbot almost 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Fixed distributor re-run when it was only pre-migrated and then changed
The following situation is fixed now:
closes #8195 https://pulp.plan.io/issues/8195