Bug #17590
closedISO repository to Capsule synchronization fails with error "Katello::Errors::PulpError: PLP0000: Importer indicated a failed response"
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1370302
Description of problem:
Unable to synchronize repository
Red Hat Enterprise Linux 7 Server ISOs x86_64 7.2 to Capsule server.
hammer> capsule content synchronize --id 2
[.............................................................................................] [100%]
Error: PLP0000: Importer indicated a failed response
PLP0034: The distributor dedhat_inc-Library-PuppetCapsuleSync indicated a failed response when publishing repository Rehat_inc-Library-PuppetCapsuleSync.
Version-Release number of selected component (if applicable):
6.2.1
Steps to Reproduce:
1. Enable and sync repository "
Red Hat Enterprise Linux 7 Server ISOs x86_64 7.2" on satellite server.
2. Try to sync repository content to capsule server.
Actual results:
Capsule synchronization task fails with error:
Katello::Errors::PulpError: PLP0000: Importer indicated a failed response
Expected results:
Should able to sync ISO repository.
Additional info:
Complete traceback:-
---
pulp_tasks:
- exception:
task_type: pulp.server.managers.repo.sync.sync
href: "/pulp/api/v2/tasks/9e876f2e-27c5-452b-aecc-87353767ea18/"
task_id: 9e876f2e-27c5-452b-aecc-87353767ea18
tags:
- pulp:repository:dedhat_inc-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_7_Server_ISOs_x86_64_7_2
- pulp:action:sync
finish_time: '2016-08-25T21:14:36Z'
_ns: task_status
start_time: '2016-08-25T21:14:35Z'
traceback: |
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 473, in call
return super(Task, self)._call__(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 103, in call
return super(PulpTask, self).__call__(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in protected_call
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 810, in sync
raise pulp_exceptions.PulpExecutionException(_('Importer indicated a failed response'))
PulpExecutionException: Importer indicated a failed response
spawned_tasks: []
progress_report:
iso_importer:
error_message:
response_code: 403
response_msg: Forbidden
traceback:
finished_bytes: 0
num_isos:
state: manifest_failed
total_bytes:
state_times:
not_started: '2016-08-25T21:14:35'
manifest_in_progress: '2016-08-25T21:14:35'
manifest_failed: '2016-08-25T21:14:35'
num_isos_finished: 0
iso_error_messages: []
queue: reserved_resource_worker-1@example.com.dq
state: error
worker_name: reserved_resource_worker-1@example.com
result:
error:
code: PLP0000
data: {}
description: Importer indicated a failed response
sub_errors: []
_id:
"$oid": 57bf5fb5840cd35eb4031f12
id: 57bf5fb5840cd35eb4031f12
poll_attempts:
total: 5
failed: 1