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

Installation of a non-latest operator version doesn't show correct install state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 4.14.0
    • 4.14
    • Management Console
    • None
    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      This PR will allow the installation of non-latest Operator channels and associated versions. https://github.com/openshift/console/pull/12743

      When I version is installed that is not the `currentCSV` default version for a channel, The data returns  `installed: false` and `installed state: "Not Installed"`

      So the UI doesn't place an "Installed" label on the operator card in OperatorHub and the user doesn't see that it's already installed when viewing the operator details.

       

      Version-Release number of selected component (if applicable):

      4.14 cluster

       

      Steps to Reproduce: 

      1. In OperatorHub select Data Grid operator and install version 8.4.3.
      2. Once installed, go into OperatorHub and select Data Grid operator card. Note there isn't an "Installed" label on card. 
      3. Select the Data Grid card, once open is should have a show that the operator is installed with a link to the installed version. 

       

      Animated screen gif of installed Data Grid version 8.4.3, the default latest version is 8.4.4

      https://drive.google.com/file/d/1KVMCdflBYsI3yiLf2oQv69MoStgA5kof/view?usp=sharing

       

      Actual results:

      obj data returns `installState: "Not Installed" and `installed: false`

      Expected results:

      obj data returns `installState: "Installed" and `installed: true`

       

      Additional info:

      Requires 4.14 cluster to support installing previous versions and channels

              sgoodwin_redhat Steve goodwin
              sgoodwin_redhat Steve goodwin
              Xiyun Zhao Xiyun Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: