Project

General

Profile

Bug #19158

removing multiple subscriptions causes parallel calls to candlepin

Added by Thomas McKay almost 2 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When multiple subscriptions are removed from a host in a single api call, each of those subs are sent individually to candlepin for removal. This potentially can cause race conditions if those removals are parallelized by foreman tasks. This code should make sure the plan_actions are sequential and not parallel:

https://github.com/Katello/katello/blob/master/app/lib/actions/katello/host/remove_subscriptions.rb#L18-L22

Associated revisions

Revision e95fc6d6 (diff)
Added by Thomas McKay almost 2 years ago

fixes #19158 - sequence around sub removal

History

#1 Updated by The Foreman Bot almost 2 years ago

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

#2 Updated by Thomas McKay almost 2 years ago

  • Bugzilla link set to 1438774

#3 Updated by Walden Raines almost 2 years ago

  • Legacy Backlogs Release (now unused) set to 211

#4 Updated by Thomas McKay almost 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF