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

Uninstall Operator? modal instructions always reference optional checkbox

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.13.0
    • Management Console
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When performing the `Uninstall Operator` (admins) or `Delete ClusterServiceVersion` (regular users) actions, the `Uninstall Operator?` modal instructions text references a checkbox (e.g., `Select the checkbox below to also remove all Operands associated with this Operator.`) that may not be present in the modal if no operands exist *or* the CSV has already been deleted (which occurs when performing `Remove Subscription` in the case where `Delete ClusterServiceVersion` was performed by an regular user and a cluster admin needs to clean up the orphaned subscription).

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

      4.13.0

      Steps to Reproduce:

      1.  Install the Argo CD operator via OperatorHub in all namespaces
      2.  Uninstall the Argo CD operator via the `Uninstall Operator` action.
      3.  Note the modal text `Select the checkbox below to also remove all Operands associated with this Operator.` refers to a checkbox that doesn't exist
      
      or
      
      1. Login as a regular user and create a project `test`
      2. Login as an administrator and install the Argo CD operator via OperatorHub in namespace `test`
      3. Login as a regular user and remove the operator by using option "Delete ClusterServiceVersion" action
      4. Login as an administrator and delete the orphaned Argo CD Subscription.
      5. Note the modal text `Select the checkbox below to also remove all Operands associated with this Operator.` refers to a checkbox that doesn't exist

      Actual results:

       

      Expected results:

       

      Additional info:

       

        1. 413-uninstall-failed-operator.png
          379 kB
          YaDan Pei
        2. Screenshot 2023-01-25 at 11.57.43 AM.png
          143 kB
          Robb Hamilton
        3. Screenshot 2023-01-25 at 11.58.58 AM.png
          85 kB
          Robb Hamilton
        4. Verification_Result.png
          97 kB
          Xiyun Zhao

              rhn-engineering-rhamilto Robb Hamilton
              rhn-engineering-rhamilto Robb Hamilton
              Xiyun Zhao Xiyun Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: