Bug 1996480

Summary: pulp worker deadlock
Product: Red Hat Satellite Reporter: Taft Sanders <tasander>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Lai <ltran>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: ggainey, ktordeur, rchan, ttereshc
Target Milestone: 6.10.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-21 13:34:21 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 Taft Sanders 2021-08-22 21:33:14 UTC
Description of problem:
deadlock encountered while syncing

Version-Release number of selected component (if applicable):
python3-pulpcore-3.14.4-1.el7pc.noarch

How reproducible:
n/a

Steps to Reproduce:
1.
2.
3.

Actual results:
deadlock encountered during sync task of RHEL 6 kickstart repository on satellite

Expected results:
no deadlock

Additional info:
Katello::Errors::Pulp3Error: deadlock detected
DETAIL:  Process 6969 waits for ShareLock on transaction 131229; blocked by process 6978.
Process 6978 waits for ShareLock on transaction 131885; blocked by process 6969.
HINT:  See server log for query details.
CONTEXT:  while inserting index tuple (20296,2) in relation "rpm_package_pkgId_key"

Comment 2 Tanya Tereshchenko 2021-08-23 20:10:23 UTC
Likely related to https://bugzilla.redhat.com/show_bug.cgi?id=1974482.
It was closed because no one could reproduce it on pulpcore 3.14.

Comment 5 Tanya Tereshchenko 2021-08-31 17:31:47 UTC
Likely the same root cause as the BZ#1997623.

Comment 6 pulp-infra@redhat.com 2021-09-10 18:08:52 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 7 pulp-infra@redhat.com 2021-09-10 18:08:54 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.

Comment 8 Grant Gainey 2021-09-21 13:34:21 UTC

*** This bug has been marked as a duplicate of bug 1997623 ***

Comment 9 pulp-infra@redhat.com 2021-09-28 21:06:07 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 10 pulp-infra@redhat.com 2021-09-29 04:10:20 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 11 pulp-infra@redhat.com 2021-09-29 19:07:05 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.