Getting "Artifact matching query does not exist." error when importing contents to the disconnected Satellite.
Issue
-
Incremental library import to disconnected Satellite6.11 fails.
pulpcore-worker-2: pulp [db0b189e-54a4-4cdb-ac88-00ad05bc80d5]: pulpcore.tasking.pulpcore_worker:INFO: Task 4e32a09e-25f2-4771-9b0b-d13b69b934ce failed (Artifact matching query does not exist.) pulpcore-worker-2: pulp [db0b189e-54a4-4cdb-ac88-00ad05bc80d5]: pulpcore.tasking.pulpcore_worker:INFO: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/pulpcore/tasking/pulpcore_worker.py", line 380, in _perform_task pulpcore-worker-2: result = func(*args, **kwargs) pulpcore-worker-2: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/pulpcore/app/tasks/importer.py", line 250, in import_repository_version pulpcore-worker-2: for a_batch in _import_file(ca_path, ContentArtifactResource, retry=True): pulpcore-worker-2: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/pulpcore/app/tasks/importer.py", line 130, in _import_file pulpcore-worker-2: a_result = resource.import_data(data, raise_errors=True) pulpcore-worker-2: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/import_export/resources.py", line 757, in import_data pulpcore-worker-2: return self.import_data_inner(dataset, dry_run, raise_errors, using_transactions, collect_failed_rows, **kwargs) pulpcore-worker-2: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/import_export/resources.py", line 805, in import_data_inner pulpcore-worker-2: raise row_result.errors[-1].error pulpcore-worker-2: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/import_export/resources.py", line 673, in import_row pulpcore-worker-2: self.import_obj(instance, row, dry_run, **kwargs) pulpcore-worker-2: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/import_export/resources.py", line 524, in import_obj pulpcore-worker-2: self.import_field(field, obj, data, **kwargs) pulpcore-worker-2: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/import_export/resources.py", line 507, in import_field pulpcore-worker-2: field.save(obj, data, is_m2m, **kwargs) pulpcore-worker-2: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/import_export/fields.py", line 110, in save pulpcore-worker-2: cleaned = self.clean(data, **kwargs) pulpcore-worker-2: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/import_export/fields.py", line 66, in clean pulpcore-worker-2: value = self.widget.clean(value, row=data, **kwargs) pulpcore-worker-2: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/import_export/widgets.py", line 406, in clean pulpcore-worker-2: return self.get_queryset(value, row, *args, **kwargs).get(**{self.field: val}) pulpcore-worker-2: File "/opt/theforeman/tfm-pulpcore/root/usr/lib/python3.8/site-packages/django/db/models/query.py", line 435, in get
-
Export and import history
export-ver satellite-ver result ・Ver.1.0 satellite 6.10 Complete export success/import success ・Ver.2.0 satellite 6.10 Incremental export success/import success ・Ver.3.0 satellite 6.11 Incremental export success/import failed
Environment
- Red Hat Satellite 6.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.