Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-5944

Application Defs that reference an invalid CSV Name breaks Enabled Components

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RHODS_1.20.0_GA
    • RHODS_1.18.0_GA
    • UI
    • None
    • False
    • None
    • False
    • Testable
    • No
    • 1.20.0-z
    • No
    • No
    • N/A
    • None

      Description of problem:

      As noted by egranger@redhat.com in slack, the components would error out when trying to get the installed ones. This was because data on the server changed and we were not properly handling the situation.

      This occurred to any GPU operator that went to upgrade from 1.11.0 to 1.11.1.

      The error details... this occurred because the cache system we had was working until the Operator attempted to update and no longer referenced the exact version as the OdhApplication CR did. Then each subsequent attempt to update the cache it failed to update it, but the old CSV reference was no longer valid when it was attempting to return enabled apps.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Have an OdhApplication that references a CSV
      2. Update the CSV (or OdhApplication) to have a mismatch in version/tag
      3. Attempt to load the Enabled page

      Actual results:

      404 error when it failed to find the resource in question

      Expected results:

      The applications installed, minus the 1 mismatched item.

      Reproducibility (Always/Intermittent/Only Once):

      Intermittent

      Build Details:

      Workaround:

      Additional info:

      The goal will be to log the mismatch issue and disable the OdhApplication so it doesn't impact everything else.

              aballantyne Andrew Ballantyne
              aballantyne Andrew Ballantyne
              Berto D'Attoma Berto D'Attoma
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: