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

Katello plugin hits hosted candlepin

XMLWordPrintable

    • False
    • Moderate
    • Proton Prioritized Backlog
    • sat-proton
    • None
    • None
    • None
    • None

      Description/Background:

      When system was first registered against Satellite server, then Katello yum/dnf plugins are installed. When the system is unregistered from Satellite and then it is registered against hosted candlepin server, then Katello plugins are still enabled and these plugins tries to hit non-existing REST API endpoints on candlepin server. it is useless and it slows down yum/dnf.

      https://github.com/Katello/katello-host-tools

      Example of REST API call that is not available on hosted candlepin server:

      https://github.com/Katello/katello-host-tools/blob/master/src/katello/repos.py#L28

      Acceptance Criteria:

      • Katello plugins should try to hit REST API endpoints only in the case, when server has such capabilities.
      • Each Katello plugin could also try to disable itself, when it is detected that candlepin server is hosted candlepin server or when the related candlepin server does not have required capabilities.

      Documentation Acceptance Criteria:

      • Document that when unregistering from Satellite, the customer needs to remove  katello-host-tools and katello-tracer.

              zuansorg Lena Ansorgová (zuansorg)
              jhnidek@redhat.com Jiri Hnidek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: