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

ZTP/ACM: Remove a cluster from GitOps ZTP may require post-cleanup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 4.12.z
    • GitOps ZTP
    • None
    • Low
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The documentation of how to remove a managed cluster from ZTP GitOps pipeline states that in some occasions the cluster may get stuck in the detach process. In that case manual intervention to delete a cluster from ACM is required.
      
      Source: https://docs.openshift.com/container-platform/4.13/scalability_and_performance/ztp_far_edge/ztp-deploying-far-edge-sites.html#ztp-site-cleanup_ztp-deploying-far-edge-sites
      
      This behaviour breaks the GitOps way of working and can have a potential  impact in production scenarios when decommissioning multiple clusters. 
      
      We suggest to remove that note from the documentation and enforce a full GitOps approach. If a cluster gets stuck in the detaching step, there should be a bug report for it and  finally a fix to improve overall product quality.

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

       

      How reproducible:

      Not clear how that manual cleanup is required in current versions

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      If a cluster gets stuck in detach state, post-cleanup is required.

      Expected results:

      A cluster should not get stuck in detach state when removing it from GitOps pipeline.

      Additional info:

      System impact: Low/medium. Production environments with a high number of sites may require manual cleanup.
      
      https://docs.openshift.com/container-platform/4.13/scalability_and_performance/ztp_far_edge/ztp-deploying-far-edge-sites.html#ztp-site-cleanup_ztp-deploying-far-edge-sites

              npathan@redhat.com Nahian Pathan
              rlopezma@redhat.com Rodrigo Lopez Manrique (Inactive)
              Yang Liu Yang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: