Project

General

Profile

Actions

Bug #27825

closed

Capsule-sync failing on Katello::Errors::PulpError: PLP0034 when you have puppet repo enaled and sync

Added by Partha Aji about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Steps to Reproduce:
1. Sync/upload puppet a module with multiple versions.
2. Associate an environment to the capsule.
3. Start capsule sync task

Actual results:

  1. hammer capsule content synchronize --id="2"

[...............................................................] [100%]
Error: PLP0034: The distributor d38f24d0-9471-4590-99dd-e3ae20bffb85 indicated a failed response when publishing repository d38f24d0-9471-4590-99dd-e3ae20bffb85.

Expected results:

Additional info:

Aug 29 02:18:33 vm253-155 foreman: GET: https://satelllite/pulp/api/v2/tasks/185e9552-2c75-4770-a61f-ff9f730adde8/: {"content_type"=>"application/json", "accept"=>"application/json"}#012Res
ponse: 200: {"exception": null, "task_type": "pulp.server.managers.repo.publish.publish", "_href": "/pulp/api/v2/tasks/185e9552-2c75-4770-a61f-ff9f730adde8/", "task_id": "185e9552-2c75-4770-a61f-ff9f730adde8", "
tags": ["pulp:repository:d38f24d0-9471-4590-99dd-e3ae20bffb85", "pulp:action:publish"], "finish_time": "2019-08-28T20:48:30Z", "_ns": "task_status", "start_time": "2019-08-28T20:48:24Z", "traceback": "Traceback
(most recent call last):\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 367, in trace_task\n R = retval = fun(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/as
ync/tasks.py\", line 539, in call\n return super(Task, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 108, in call\n return super(Pulp
Task, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 622, in protected_call\n return self.run(*args, **kwargs)\n File \"/usr/lib/python2.7/site-pac
kages/pulp/server/controllers/repository.py\", line 1110, in publish\n result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp
/server/controllers/repository.py\", line 1207, in check_publish\n result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/serve
r/controllers/repository.py\", line 1265, in _do_publish\n distributor_id=dist_id, summary=publish_report.summary\nPulpCodedException: The distributor d38f24d0-9471-4590-99dd-e3ae20bffb85 indicated a failed r
esponse when publishing repository d38f24d0-9471-4590-99dd-e3ae20bffb85.\n", "spawned_tasks": [], "progress_report": {}, "queue": "", "state": "erro
r", "worker_name": "", "result": null, "error": {"code": "PLP0034", "data": {"distributor_id": "d38f24d0-9471-4590-99dd-e3ae20bffb85", "repo_id": "d38f2
4d0-9471-4590-99dd-e3ae20bffb85", "summary": "duplicate unit names"}, "description": "The distributor d38f24d0-9471-4590-99dd-e3ae20bffb85 indicated a failed response when publishing repository d38f24d0-9471-459
0-99dd-e3ae20bffb85.", "sub_errors": []}, "_id": {"$oid": "5d66e8989ec5ac061be93d77"}, "id": "5d66e8989ec5ac061be93d77"}

On capsule :

Aug 29 02:18:30 pulp: pulp.server.controllers.repository:INFO: [185e9552] duplicate unit names
Aug 29 02:18:30 pulp: pulp.server.controllers.repository:ERROR: [185e9552] (3881-58464) Exception caught from plugin during publish for repo [d38f24d0-9471-4590-99dd-e3ae20bffb85]
Aug 29 02:18:30 pulp: pulp.server.controllers.repository:ERROR: [185e9552] (3881-58464) Traceback (most recent call last):
Aug 29 02:18:30 pulp: pulp.server.controllers.repository:ERROR: [185e9552] (3881-58464) File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1265, in _do_publish
Aug 29 02:18:30 pulp: pulp.server.controllers.repository:ERROR: [185e9552] (3881-58464) distributor_id=dist_id, summary=publish_report.summary
Aug 29 02:18:30 pulp: pulp.server.controllers.repository:ERROR: [185e9552] (3881-58464) PulpCodedException: The distributor d38f24d0-9471-4590-99dd-e3ae20bffb85 indicated a failed response when publishing repository d38f24d0-9471-4590-99dd-e3ae20bffb85.
Aug 29 02:18:30 pulp: pulp.server.async.tasks:INFO: [185e9552] Task failed : [185e9552-2c75-4770-a61f-ff9f730adde8] : The distributor d38f24d0-9471-4590-99dd-e3ae20bffb85 indicated a failed response when publishing repository d38f24d0-9471-4590-99dd-e3ae20bffb85.
Aug 29 02:18:30 pulp: celery.app.trace:INFO: [185e9552] Task pulp.server.managers.repo.publish.publish[185e9552-2c75-4770-a61f-ff9f730adde8] raised expected: PulpCodedException()

Actions #1

Updated by Partha Aji about 5 years ago

  • Bugzilla link set to 1746589
Actions #2

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Partha Aji
  • Pull request https://github.com/Katello/katello/pull/8341 added
Actions #3

Updated by John Mitsch about 5 years ago

  • Category set to Foreman Proxy Content
  • Target version set to Katello 3.14.0
  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot about 5 years ago

  • Fixed in Releases Katello 3.14.0 added
Actions #5

Updated by Partha Aji about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF