Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-5811

Error in Subscription controller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.37.0
    • None
    • None
    • RHOAM Sprint 41, RHOAM Sprint 42

      WHY
      Discovered issue for automatic upgrades of RHOAM in 1.37.0

      WHAT
      There was an unchecked error in the CSV locator used by the subscription controller. It looks like this error was never thrown and an empty string was being used to determine there was no CSV candidate. Now that we are checking the error it is thrown by the subscription controller on each reconcile https://github.com/integr8ly/integreatly-operator/blob/master/controllers/subscription/csvlocator/csvlocator.go#L113-L116

      HOW
      Investigate how this csvlocator was supposed to work and fix it.

      TESTS
      <List of related tests>

      DONE
      The subscription controller no longer throws errors on each reconcile.

              mstoklus_rhmi Michal Stokluska
              acatterm@redhat.com Adam Cattermole
              Adam Cattermole Adam Cattermole
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: