Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-874

[Rosa]  After deleting ROSA cluster, related resources such as oidc-provider, operator-roles neither deleted nor any warning /steps to delete these resources.

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • True
    • Hide

      Need to run possible solution by PMs and UX.

      Show
      Need to run possible solution by PMs and UX.
    • False
    • Draft Sprint

      Description:

      After uninstalling a ROSA  sts cluster via OCM UI, the related resources such as  oidc-provider, operator-roles not deleted. Ideally we should think of clearing /deleting those cluster related resources after uninstallation or provide a warning to the user to indicate what needs to be done next (probably step) to delete the resources.

      Steps to reproduce:

      • Launch OCM UI staging
      • Install ROSA sts cluster.
      • Capture OIDC-provider and operator-role references used for cluster. 
      • Once cluster is ready , uninstall the ROSA sts cluster.
      • After successful uninstallation, Login to AWS.
      • Check the OIDC-provider and operator-role references from installed account.

      Actual result

      Both OIDC-provider and operator-role for the cluster remains as not deleted from AWS side after cluster uninstallation.

      Expected result

      A Proper warning to the user indicate about the same as well as with clear steps to delete these resources.

      Acceptance Criteria

      In the Uninstalling cluster... section show:

      After the cluster is deleted

      You will also need to delete the operator roles and OIDC provider associated with this cluster. Run the following commands after deletion is complete:

      If OIDC config is not reusable (default)

      rosa delete operator-roles -c <cluster_id>
      rosa delete oidc-provider -c <cluster_id>
      

      If OIDC config is reusable

      rosa delete operator-roles --prefix <operator_role_prefix>
      rosa delete oidc-provider --oidc-config-id <oidc_config_id>
      

      Mockup

              Unassigned Unassigned
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: