Project

General

Profile

Actions

Bug #17590

closed

ISO repository to Capsule synchronization fails with error "Katello::Errors::PulpError: PLP0000: Importer indicated a failed response"

Added by Stephen Benjamin over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Installer
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

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:
state: error
worker_name:
result:
error:
code: PLP0000
data: {}
description: Importer indicated a failed response
sub_errors: []
_id:
"$oid": 57bf5fb5840cd35eb4031f12
id: 57bf5fb5840cd35eb4031f12
poll_attempts:
total: 5
failed: 1

Actions #1

Updated by Justin Sherrill over 7 years ago

  • Subject changed from ISO repository to Capsule synchronization fails with error "Katello::Errors::PulpError: PLP0000: Importer indicated a failed response" to ISO repository to Capsule synchronization fails with error "Katello::Errors::PulpError: PLP0000: Importer indicated a failed response"
  • Assignee set to Justin Sherrill
  • translation missing: en.field_release set to 188
  • Difficulty set to trivial
Actions #2

Updated by Justin Sherrill over 7 years ago

workaround:

Adding this line to the [main] section in /etc/pulp/repo_auth.conf on the katello server and restarting httpd fixes it:

repo_url_prefixes: /pulp/repos,/pulp/ostree/web,/pulp/isos

Actions #3

Updated by Justin Sherrill about 7 years ago

  • Status changed from New to Closed
  • Assignee changed from Justin Sherrill to Stephen Benjamin
  • Pull request https://github.com/Katello/puppet-pulp/pull/177 added
Actions

Also available in: Atom PDF