Red Hat Bugzilla – Bug 1320575
Error on incremental update PulpExecutionException on errata unit copy
Last modified: 2018-09-19 11:17:11 EDT
Description of problem: While working on https://bugzilla.redhat.com/show_bug.cgi?id=1315278 Version-Release number of selected component (if applicable): 6.2 Snap 4 How reproducible: Always Steps to Reproduce: 1. Attempt to perform an incremental update to a content view via the Errata page with at least one errata Actual results: Task errors on this step: Actions::Pulp::Repository::CopyErrata with this traceback from pulp: 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/managers/repo/unit_association.py", line 273, in associate_from_repo units=transfer_units) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/importer.py", line 57, in import_units return associate.associate(source_repo, dest_repo, import_conduit, config, units) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/associate.py", line 65, in associate group_ids, rpm_names, rpm_search_dicts = identify_children_to_copy(associated_units) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/associate.py", line 302, in identify_children_to_copy rpm_search_dicts.extend(unit.rpm_search_dicts) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py", line 475, in rpm_search_dicts checksumtype=checksumtype) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py", line 362, in __init__ super(RpmBase, self).__init__(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py", line 134, in __init__ kwargs['checksumtype'] = verification.sanitize_checksum_type(kwargs['checksumtype']) File "/usr/lib/python2.7/site-packages/pulp/plugins/util/verification.py", line 67, in sanitize_checksum_type lowercase_checksum_type = checksum_type.lower() PulpExecutionException: Pulp exception occurred: PulpExecutionException spawned_tasks: [] Expected results: Incremental update succeeds Additional info:
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 priority is at High. Updating the external tracker on this bug.
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
Failed in satellite-6.2.0-7.0.beta.el7sat.noarch due to https://bugzilla.redhat.com/show_bug.cgi?id=1323726 hammer> content-view version incremental-update --content-view-version-id=3 --errata-ids=b272b0c4-25cc-4204-bfe1-39de76e6e9ba --update-all-hosts=true --lifecycle-environment-ids=2 [.................................................................... ] [92%]
patch for this to unblock is in : POST as indicated in https://bugzilla.redhat.com/show_bug.cgi?id=1323726
Verified in Satellite 6.2 Beta Snap 9. [root@rhsm-qe-1 ~]# hammer content-view version incremental-update --content-view-version-id 67 --host-ids 14 --lifecycle-environment-ids 1 --errata-ids 7f345af7-05a6-4218-93a1-83a70a62254a [....................................................................................................................................................................................] [100%] Content View: beta version 3.1 Added Content: Errata: RHSA-2015:2617 Packages: openssl-1.0.1e-51.el7_2.1.x86_64 openssl-devel-1.0.1e-51.el7_2.1.i686 openssl-devel-1.0.1e-51.el7_2.1.x86_64 openssl-libs-1.0.1e-51.el7_2.1.i686 openssl-libs-1.0.1e-51.el7_2.1.x86_64
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.
The Pulp upstream bug status is at VERIFIED. Updating the external tracker on this bug.
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. 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, 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/RHBA-2016:1501