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

[IBMCloud] Bad DNS Service instance fails baseDomain lookup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.13.z, 4.12.z, 4.14.z, 4.15.z, 4.16.0
    • Installer / IBM Cloud

      Description of problem:

          A bad DNS Services instance (pre-provisioning, etc.), aka not Active, can cause failures when trying to identify the proper instance and zone for a specific baseDomain.

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

          4.14.11

      How reproducible:

          Requires a bad DNS Services instance (one in pre-provisioning for instance) to reproduce 100% 

      Steps to Reproduce:

          1. Create a DNS Services instance in a bad state
          2. Run IPI using a healthy DNS Service and baseDomain
          

      Actual results:

          FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to generate asset "Base Domain": no domain names found in project
      
      or
      
          FATAL failed to fetch Metadata: failed to fetch dependency of "Metadata": failed to fetch dependency of "Bootstrap Ignition Config": failed to fetch dependency of "CVO Ignore": failed to fetch dependency of "Common Manifests": failed to generate asset "DNS Config": failed to get DNS zone ID: Access to the api resource is not authorized.

      Expected results:

          Successful IPI install (ignore bad DNS Services instance) or legitimate failure trying to use bad/wrong domain

      Additional info:

          IBM Cloud will be looking at resolving this issue. I may be unable to replicate the error unless I can find a method to create a bad DNS Services instance that could replicate this error.
      
      At best, I think filtering the list of DNS Services instances to those that are healthy would be a minimum fix, additional logic and error handling would be nice, but might be difficult to test and verify if I cannot find an easy method to replicate this failure.

              jeffbnowicki Jeff Nowicki
              cschaefe@redhat.com Christopher Schaefer
              May Xu May Xu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: