Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-29226

Remove handling of entitlement-mode Candlepin events

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • 6.19.0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      • Remove handling of the following Candlepin events:
        • entitlement.created and entitlement.deleted - these are related to attaching subscriptions to hosts. So none of those in SCA mode.
        • compliance.created - Used to update the host's subscription status, which looks at subscription attachments. Irrelevant with SCA-only.
        • system_purpose_compliance.created - Used to update the host's system purpose status, which tells you if the host's syspurpose attributes are matched by an attached subscription. Irrelevant with SCA-only.
        • owner_content_access_mode.modified - This event is received whenever SCA is toggled. Irrelevant with SCA-only, but I could see continuing to handle it just to guard against users trying to get around SCA-only
        •  
        • IMPORTANT: from Nikos: "However, something to watch out for is, whenever you decide to stop handling that event (or any other event for that matter), you need to also remove it from the broker's filter in puppet-candlepin: https://github.com/theforeman/puppet-candlepin/blob/master/templates/broker.xml.epp#L151"
          • Event handling in Katello's code was previously altered so these events are a no-op. Now, when removing event handling entirely, we need to make sure to do the above in puppet-candlepin.
      • Katello Pool and Subscription models removed and/or modified as necessary See https://issues.redhat.com/browse/SAT-26937 
        • Katello doesn't have a Candlepin event processor for when subscriptions are removed from an AK, so the CANDLEPIN-832 changes will leave Pools associated with some old AKs.

              rhn-engineering-jlenz Jeremy Lenz
              rhn-engineering-jlenz Jeremy Lenz
              Lucy Fu Lucy Fu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: