[Satellite6]All RHEL 5 repository synchronization failing with error: PLP0000: Importer indicated a failed response
Environment
- Satellite 6.x
Issue
- Repository sync failing for all RHEL 5 repos with following error:
Katello::Errors::PulpError
PLP0000: Importer indicated a failed response
- Updated RHEL 5 errata metadata breaks syncing with Satellite 6
errata:
state: FAILED
error: Fail to update the uploaded erratum RHSA-2007:0513.
Resolution
-
The issue has been resolved, please re-sync the RHEL 5 repositories.
-
Open a support case here with Red Hat if you are still facing the same issue.
Root Cause
- current updateinfo file for RHEL 5 contains invalid dates for some errata and it has been fixed from RedHat end.
Diagnostic Steps
-
/var/log/messagesshows similar failure messages:Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) Fail to update the uploaded erratum RHSA-2007:0513. Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) Traceback (most recent call last): Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 277, in run Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) self.get_errata(metadata_files) Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 796, in get_errata Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) updateinfo.process_package_element, additive_type=True) Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 880, in save_fileless_units Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) errata_controller.create_or_update_pkglist(model, self.repo.repo_id) Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/controllers/errata.py", line 25, in create_or_update_pkglist Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) if not existing_erratum or existing_erratum.update_needed(new_erratum): Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py", line 806, in update_needed Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) new_updated_dt = util.errata_format_to_datetime(other.updated, msg=other_err_msg) Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) File "/usr/lib/python2.7/site-packages/pulp_rpm/yum_plugin/util.py", line 187, in errata_format_to_datetime Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) raise ValueError(msg) Feb 12 23:25:24 sat6 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (129698-58976) ValueError: Fail to update the uploaded erratum RHSA-2007:0513. Feb 12 23:25:24 sat6 pulp: py.warnings:WARNING: (129698-58976) /usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py:806: DeprecationWarning: save is deprecated. Use insert_one or replace_one instead Feb 12 23:25:24 sat6 pulp: py.warnings:WARNING: (129698-58976) sync_result_collection.save(sync_result) Feb 12 23:25:24 sat6 pulp: py.warnings:WARNING: (129698-58976) Feb 12 23:25:24 sat6 pulp: pulp.server.event.http:INFO: (129698-58976) {"call_report": {"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", "_href": "/pulp/api/v2/tasks/72e4bb17-9530-426e-9be2-50b5f8c71cff/", "task_id": "72e4bb17-9530-426e-9be2-50b5f8c71cff", "tags": ["pulp:repository:AcmeCorp-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_5_Server_RPMs_x86_64_5Server", "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time": "2018-02-12T20:17:20Z", "traceback": null, "spawned_tasks": [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": "NOT_STARTED"}, "purge_duplicates": {"state": "NOT_STARTED"}, "distribution": {"items_total": 0, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FAILED", "error": "Fail to update the uploaded erratum RHSA-2007:0513."}, "metadata": {"state": "FINISHED"}}}, "state": "running", "worker_name": "reserved_resource_worker-1@sat6", "result": null, "error": null, "_id": {"$oid": "5a81f6502be77245324087be"}, "id": "5a81f6502be77245324087be"}, "event_type": "repo.sync.finish", "payload": {"importer_id": "yum_importer", "exception": null, "repo_id": "AcmeCorp-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_5_Server_RPMs_x86_64_5Server", "traceback": null, "started": "2018-02-12T20:17:20Z", "_ns": "repo_sync_results", "completed": "2018-02-12T20:25:24Z", "importer_type_id": "yum_importer", "error_message": null, "summary": {"content": {"state": "FINISHED"}, "comps": {"state": "NOT_STARTED"}, "purge_duplicates": {"state": "NOT_STARTED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": "FAILED"}, "metadata": {"state": "FINISHED"}}, "added_count": 0, "result": "failed", "updated_count": 38, "details": {"content": {"size_total": 0, "items_left": 0, "items_total": 0, "state": "FINISHED", "size Feb 12 23:25:24 sat6 pulp: pulp.server.event.http:INFO: (129698-58976) _left": 0, "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "error_details": []}, "comps": {"state": "NOT_STARTED"}, "purge_duplicates": {"state": "NOT_STARTED"}, "distribution": {"items_total": 0, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FAILED", "error": "Fail to update the uploaded erratum RHSA-2007:0513."}, "metadata": {"state": "FINISHED"}}, "id": "5a81f8349ae2f0faa34fa711", "removed_count": 0}}
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
