Project

General

Profile

Actions

Bug #29678

closed

simultaneously syncing multiple LCEs on smart proxy fails due to "required lock" error

Added by William Clark about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Urgent
Category:
Foreman Proxy Content
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

when syncing multiple LCEs simultaneously to a smart proxy, sync tasks after the first will fail due to "required lock" error

to reproduce the issue:

1. publish a new version of a CV, promote it to multiple LCEs
2. if the smart proxy is configured to auto-sync when LCEs are updated, any sync tasks after the first one created will fail due to "required lock"

the proposed solution (thanks jsherrill!) is that the resource locks in `app/lib/actions/katello/capsule_content/sync_capsule.rb` need to be defined as only a 'linking' lock

Actions #1

Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8695 added
Actions #2

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases added
Actions #3

Updated by Justin Sherrill about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Samir Jha almost 4 years ago

  • Target version set to Katello 3.15.1
  • Triaged changed from No to Yes
Actions #5

Updated by Justin Sherrill almost 4 years ago

  • Bugzilla link set to 1830403
Actions #6

Updated by Jonathon Turel over 3 years ago

  • Pull request deleted (https://github.com/Katello/katello/pull/8695)
  • Fixed in Releases Katello 3.17.0 added
  • Fixed in Releases deleted ()
Actions

Also available in: Atom PDF