Uploaded image for project: 'OpenShift Hive'
  1. OpenShift Hive
  2. HIVE-2651

Azure deprovision: feed in baseDomainResourceGroup

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • False
    • None
    • False

      How has this gone unreported for 5+y? Or maybe it was injected recently as a result of the installer's CAPZ transition jhixson_redhat?

      Anyway...

      When deprovisioning an Azure cluster wherein a non-default baseDomainResourceGroup was specified, that baseDomainResourceGroup must be passed into the destroyer via the metadata object. Otherwise, the installer code assumes the base domain's DNS records should exist in the default resource group (something like <infraID>-rg) and when they're not found there, assumes they were already deleted, so this is not treated as a failure.

      ...The end result being leaked DNS records, and subsequent inability to create another cluster of the same name without scrubbing said records.

              Unassigned Unassigned
              efried.openshift Eric Fried
              Jianping Shu Jianping Shu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: