Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2252297 - Deadlock seen when publishing a content view
Summary: Deadlock seen when publishing a content view
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.13.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-30 18:06 UTC by Taft Sanders
Modified: 2023-12-19 13:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-19 13:26:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-21632 0 None None None 2023-11-30 18:08:04 UTC

Description Taft Sanders 2023-11-30 18:06:53 UTC
Description of problem:
When publishing a content view, encountering a deadlock

Version-Release number of selected component (if applicable):
python39-pulpcore-3.21.18-1.el8pc.noarch
satellite-6.13.5-1.el8sat.noarch

How reproducible:
Not reproducible

Steps to Reproduce:
1.
2.
3.

Actual results:
""class"":""Dynflow::ExecutionPlan::Steps::Error"",""exception_class"":""ActiveRecord::Deadlocked"",""message"":""PG::TRDeadlockDetected: ERROR:  deadlock detected\nDETAIL:  Process 3250880 waits for ShareLock on transaction 62043418; blocked by process 3271050.\nProcess 3271050 waits for ShareLock on transaction 62043419; blocked by process 3250880.\nHINT:  See server log for query details.\nCONTEXT:  while inserting index tuple (472,1) in relation \""katello_errata\""\n""}",,

Expected results:
No deadlock

Additional info:

Comment 3 Ian Ballou 2023-12-13 21:43:02 UTC
The place to start would be checking if other tasks like imports/exports/syncs/etc were running at the same time as the content view publish. https://bugzilla.redhat.com/show_bug.cgi?id=1957144 might be related.

Comment 5 Taft Sanders 2023-12-19 13:26:04 UTC
(In reply to Ian Ballou from comment #3)
> The place to start would be checking if other tasks like
> imports/exports/syncs/etc were running at the same time as the content view
> publish. https://bugzilla.redhat.com/show_bug.cgi?id=1957144 might be
> related.

Since their were scripts that initiated syncs and exports during the publish, and the issue is not reproducible, we will assume this was a matter of coincidence and close this Bugzilla. Thanks.


Note You need to log in before you can comment on or make changes to this bug.