Actions
Issue #5482
closedMigration plugin should migrate only importers of the plugins in question
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
This traceback happens when pulp2 has multiple importer type ( from iso and docker plugin). MP tries to migrate also docker importer even if only iso plugin was specified in the plan
pulp: rq.worker:ERROR: AttributeError: 'NoneType' object has no attribute 'migrate_to_pulp3'
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: Traceback (most recent call last):
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: File "/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/worker.py", line 822, in perform_job
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: rv = job.perform()
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: File "/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/job.py", line 605, in perform
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: self._result = self._execute()
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: File "/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/job.py", line 611, in _execute
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: return self.func(*self.args, **self.kwargs)
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: File "/home/vagrant/devel/pulp-2to3-migrate/pulp_2to3_migrate/app/tasks/migrate.py", line 74, in migrate_from_pulp2
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: loop.run_until_complete(migrate_importers(plugins_to_migrate))
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: return future.result()
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: File "/home/vagrant/devel/pulp-2to3-migrate/pulp_2to3_migrate/app/migration.py", line 108, in migrate_importers
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: remote, created = await importer_model.migrate_to_pulp3(pulp2importer)
Sep 19 10:53:03 pulp2-nightly-pulp3-source-centos7.fluffy.example.com rq[13862]: AttributeError: 'NoneType' object has no attribute 'migrate_to_pulp3'
<pre>
Related issues
Updated by ipanova@redhat.com over 5 years ago
- Has duplicate Issue #5485: Migration plugin should filter only those repo types that belong to the plugin that is being migrated added
Updated by ipanova@redhat.com over 5 years ago
- Has duplicate deleted (Issue #5485: Migration plugin should filter only those repo types that belong to the plugin that is being migrated)
Updated by ipanova@redhat.com over 5 years ago
- Is duplicate of Issue #5485: Migration plugin should filter only those repo types that belong to the plugin that is being migrated added
Updated by ipanova@redhat.com over 5 years ago
- Status changed from NEW to CLOSED - DUPLICATE
Updated by ttereshc almost 5 years ago
- Project changed from Pulp to Migration Plugin
Actions