Project

General

Profile

Actions

Bug #19158

closed

removing multiple subscriptions causes parallel calls to candlepin

Added by Thomas McKay over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
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

Actions #1

Updated by The Foreman Bot over 7 years ago

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

Updated by Thomas McKay over 7 years ago

  • Bugzilla link set to 1438774
Actions #3

Updated by Walden Raines over 7 years ago

  • Translation missing: en.field_release set to 211
Actions #4

Updated by Thomas McKay over 7 years ago

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

Also available in: Atom PDF