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

HostedCluster VPC endpoint and related DNS entries not cleaned up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.0
    • HyperShift
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          When deleting an AWS HostedCluster with endpoint access of type PublicAndPrivate or Private, the VPC endpoint for the HostedCluster is not always cleaned up when the HostedCluster is deleted.

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

      4.18.0    

      How reproducible:

          Most of the time

      Steps to Reproduce:

          1. Create a HostedCluster on AWS with endpoint access PublicAndPrivate
          2. Wait for the HostedCluster to finish deploying
          3. Delete the HostedCluster by deleting the HostedCluster resource (oc delete hostedcluster/[name] -n clusters)    

      Actual results:

          The vpc endpoint and/or the DNS entries in the hypershift.local hosted zone that corresponds to the hosted cluster are not removed.

      Expected results:

          The vpc endpoint and DNS entries in the hypershift.local hosted zone are deleted when the hosted cluster is cleaned up.

      Additional info:

      With current code, the namespace is deleted before the control plane operator finishes cleanup of the VPC endpoint and related DNS entries.    

            cewong@redhat.com Cesar Wong
            cewong@redhat.com Cesar Wong
            Jie Zhao Jie Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: