Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-1546

[UI-NMO] Icon preview on OperatorHub doesn't work properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.12.0
    • Management Console
    • Low
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      What is the problem? 

      For some unknown reason the preview icon on OCP OperatorHub doesn't work properly - We are seeing different colors for different versions of our operators (Upstream is Blue icon, and Downstream is Red icon), even though we specify the content for those icons in the metadata rather than any particular filename.
      After installation we see the "right" colors under "Installed Operators".

      What is the difference between the versions?

      The bug might be present since the upstream and downstream versions have the same API/CRD and package name IIRC. Maybe the icon is fetched by the package name and it is cached by the browser. 

      Examples:

      In the picture below we see both of the versions, upstream and downstream, with a Blue preview icon after installing the downstream version (NMO v4.10.0)

      But the opposite can happen. Seeing both of the versions, upstream and downstream, with a Red preview icon after installing the downstream version (NMO v4.10.0).

       

      Moreover, sometimes their colors are also flipped (community being red, Red Hat being blue).

      We have been trying to use different browser (clean cache and cookies for this one), and somehow the page is downloading incorrect icon for the operators.

      Today (August 1st 2022)

      Today we have released downstream our three operators downstream(https://errata.devel.redhat.com/advisory/97702, https://errata.devel.redhat.com/advisory/97701, and https://errata.devel.redhat.com/advisory/97352), and we have noticed that this problem is relevant also for NMO v4.11 in OCP 4.11, and even to NHC v0.3.0 in OCP 4.11.
      See below in the comments.

        1. image (4).png
          image (4).png
          49 kB
        2. image (5).png
          image (5).png
          35 kB
        3. image (6).png
          image (6).png
          75 kB
        4. image (7).png
          image (7).png
          99 kB
        5. image-2022-06-07-12-14-34-617.png
          image-2022-06-07-12-14-34-617.png
          26 kB
        6. image-2022-06-07-12-15-08-308.png
          image-2022-06-07-12-15-08-308.png
          62 kB
        7. image-2022-06-16-12-59-06-036.png
          image-2022-06-16-12-59-06-036.png
          25 kB
        8. image-2022-06-16-13-01-32-672.png
          image-2022-06-16-13-01-32-672.png
          26 kB
        9. image-2022-08-01-19-13-57-024.png
          image-2022-08-01-19-13-57-024.png
          46 kB

              jhadvig@redhat.com Jakub Hadvig
              annsavina Anna Savina Frances
              bruno andrade bruno andrade
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: