Bug 1784295

Summary: "Required lock is already taken by other running tasks." error in production.log while assigning HTTP Proxy to Products.
Product: Red Hat Satellite Reporter: Jameer Pathan <jpathan>
Component: RepositoriesAssignee: James Jeffers <jjeffers>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: jjeffers, pcreech
Target Milestone: 6.7.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.14.0.6-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 13:28:08 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:
Bug Depends On:    
Bug Blocks: 1774324    

Description Jameer Pathan 2019-12-17 07:48:52 UTC
Description of problem:
"Required lock is already taken by other running tasks." error in production.log while assigning HTTP Proxy to Products.

Version-Release number of selected component (if applicable):
- Satellite 6.7.0 snap 6

How reproducible:
- Most of the time

Steps to Reproduce:
1. Create http proxy
2. Create Product with repository.
3. Go to Content > Products 
4. Select product and click on "Select Action" drop down box.
5. Click on "Manage Http Capsule", choose any option and click on Update.
6. Check /var/log/foreman/production.log

Actual results:
- Traceback in production.log related to "Required lock is already taken by other running tasks.".

Expected results:
- No traceback should be present in production.log while assigning Http Proxy to products.

Additional info:
- HTTP proxy gets successfully assigned to Product.

Comment 4 Partha Aji 2020-01-09 19:18:30 UTC
Connecting redmine issue https://projects.theforeman.org/issues/28709 from this bug

Comment 6 Jameer Pathan 2020-01-21 09:28:24 UTC
Verified

Verified with:
- Satellite 6.7.0 snap 9

Test steps:
1. Create http proxy
2. Create Product with repository.
3. Go to Content > Products 
4. Select product and click on "Select Action" drop down box.
5. Click on "Manage Http Capsule", choose any option and click on Update.
6. Check /var/log/foreman/production.log

Observation:
- Http proxy is assigned to products.
- No traceback present in production.log while assigning Http Proxy to products.

Comment 9 errata-xmlrpc 2020-04-14 13:28:08 UTC
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/RHSA-2020:1454