Project

General

Profile

Bug #32267

Auto-attaching subscriptions on a host triggers pool import for all organizations

Added by Jonathon Turel 8 months ago. Updated 7 months ago.

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

Description

This is both undesirable for performance and unnecessary technically - let's find a better way (and that way may already exist in the code..). The first step is to verify if this is necessary at all given the events that we process from Candlepin.

the culprit: https://github.com/Katello/katello/blob/680cd851c7586570947b0d856591058044346c2d/app/lib/actions/katello/host/auto_attach_subscriptions.rb#L17

Associated revisions

Revision 127733b7 (diff)
Added by Lucy Fu 7 months ago

Fixes #32267 - Remove never used finalize method from Katello::Host::AutoAttachSubscriptions

Without plan_self, finalize method is never executed.

History

#1 Updated by Jonathon Turel 8 months ago

  • Triaged changed from No to Yes
  • Category set to Subscriptions

#2 Updated by The Foreman Bot 7 months ago

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

#3 Updated by The Foreman Bot 7 months ago

  • Fixed in Releases Katello 4.2.0 added

#4 Updated by Lucy Fu 7 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF