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

CAPG: Global apiserver addresses not removed on destroy

XMLWordPrintable

    • No
    • 3
    • Sprint 253
    • 1
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      When a GCP cluster is created using CAPI, upon destroy the addresses associated with the apiserver LoadBalancer are not removed. For example here are addresses left over after previous installations

      $ gcloud compute addresses list --uri | grep bfournie
      https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-27kzq-apiserver
      https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-6jrwz-apiserver
      https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-gn6g7-apiserver
      https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-h96j2-apiserver
      https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-k7fdj-apiserver
      https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-nh4z5-apiserver
      https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-nls2h-apiserver
      https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-qrhmr-apiserver
      

      Here is one of the addresses:

      $ gcloud compute addresses describe https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-27kzq-apiserver
      address: 34.107.255.76
      addressType: EXTERNAL
      creationTimestamp: '2024-04-15T15:17:56.626-07:00'
      description: ''
      id: '2697572183218067835'
      ipVersion: IPV4
      kind: compute#address
      labelFingerprint: 42WmSpB8rSM=
      name: bfournie-capg-test-27kzq-apiserver
      networkTier: PREMIUM
      selfLink: https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-27kzq-apiserver
      status: RESERVED
      [bfournie@bfournie installer-patrick-new]$ gcloud compute addresses describe https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-6jrwz-apiserver
      address: 34.149.208.133
      addressType: EXTERNAL
      creationTimestamp: '2024-03-27T09:35:00.607-07:00'
      description: ''
      id: '1650865645042660443'
      ipVersion: IPV4
      kind: compute#address
      labelFingerprint: 42WmSpB8rSM=
      name: bfournie-capg-test-6jrwz-apiserver
      networkTier: PREMIUM
      selfLink: https://www.googleapis.com/compute/v1/projects/openshift-dev-installer/global/addresses/bfournie-capg-test-6jrwz-apiserver
      status: RESERVED
      
      
      

              rh-ee-bbarbach Brent Barbachem
              bfournie@redhat.com Robert Fournier
              Jianli Wei Jianli Wei
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: