Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-2182

Disabling hypershift-preview feature does not remove addon

XMLWordPrintable

    • Important
    • No

      Description of problem:

      When we first enable the hypershift-preview, then the hypershift-addon on local-cluster is automatically created.

      However when we disable the hypershift-preview, then the hypershift-addon doesn't get deleted nor move into a disabled/degraded/offline status. The add-on gets stuck in this state including when the user tries to delete it - any operation is queued up til when the user re-enables again first (including delete).

      oc patch mce multiclusterengine-sample -n multiclusterngine --type=json -p='[{"op": "add", "path": "/spec/overrides/components/-","value":{"name":"hypershift-preview","enabled":false}}]' 
      
      oc get managedclusteraddons -n local-cluster hypershift-addon
      NAME               AVAILABLE   DEGRADED   PROGRESSING
      hypershift-addon   True        False

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

      2.2.0-DOWNANDBACK-2022-11-23-11-07-56

      How reproducible:

      always

      Steps to Reproduce:

      1. install MCE downstream
      2. enable hypershift-preview by patching MCE, observe add-on is created and online
      3. disable hypershift-preview by patching MCE, observe add-on remains in available and further operation doesn't work

      Actual results:

      Expected results:

      Additional info:

              rokejungrh Roke Jung
              rhn-support-dhuynh David Huynh
              David Huynh David Huynh
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: