Bug 1654801
Summary: | Syncing down "Red Hat Enterprise Linux 6 Server RPMs x86_64 6.9" fails: Checksum type \"sha1\" is not available for all units in the repository | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | David Davis <daviddavis> |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | Unspecified | CC: | ahumbe, bkearney, dkliban, ggainey, ldelouw, ltran, rchan, ttereshc |
Target Milestone: | 6.10.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-16 14:08:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Davis
2018-11-29 17:25:03 UTC
Stacktrace: "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/async/tasks.py\", line 529, in __call__\n" + " return super(Task, self).__call__(*args, **kwargs)\n" + " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 107, in __call__\n" + " return super(PulpTask, 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-packages/pulp/server/controllers/repository.py\", line 1109, 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 1206, 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/server/controllers/repository.py\", line 1258, in _do_publish\n" + " publish_report = publish_repo(transfer_repo, conduit, call_config)\n" + " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 737, in wrap_f\n" + " return f(*args, **kwargs)\n" + " File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py\", line 174, in publish_repo\n" + " return self._publisher.process_lifecycle()\n" + " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 572, in process_lifecycle\n" + " super(PluginStep, self).process_lifecycle()\n" + " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 163, in process_lifecycle\n" + " step.process()\n" + " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 239, in process\n" + " self._process_block(item=item)\n" + " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 301, in _process_block\n" + " self.process_main(item=item)\n" + " File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py\", line 499, in process_main\n" + " context.add_unit_metadata(unit)\n" + " File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/metadata/filelists.py\", line 42, in add_unit_metadata\n" + " self.metadata_file_handle.write(unit.render_filelists(self.checksum_type))\n" + " File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py\", line 868, in render_filelists\n" + " context = Context({'pkgid': self.get_or_calculate_and_save_checksum(checksumtype)})\n" + " File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py\", line 258, in get_or_calculate_and_save_checksum\n" + " checksumtype=checksumtype)\n" + "PulpCodedException: Checksum type \"sha1\" is not available for all units in the repository. Make sure those units have been downloaded.\n", The Pulp upstream bug status is at NEW. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. FYI, I think a lot of the customer cases on https://bugzilla.redhat.com/show_bug.cgi?id=1586336 are actually due to this bug and not the bug outlined in BZ #1586336. This was resolved by having RCM publish both repomd.xml and primary.xml using the same checksum. Programatically we should consider having Pulp be able to handle different checksum types. I suggest WONTFIX for pulp 2 and see if the issue is present in Pulp 3 and find a solution there. @ttereshc, I agree. Keeping it as a Pulp 3 item. This should work in Pulp 3. The BZ is for QE to verify. The Pulp upstream bug status is at NEW. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. The Pulp upstream bug status is at CLOSED - WORKSFORME. Updating the external tracker on this bug. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4702 |