Uploaded image for project: 'OpenShift Installer'
  1. OpenShift Installer
  2. CORS-3422

[capa][log] Load Balancer controller must wait for LB in active state to DNS lookup

XMLWordPrintable

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

      Issue: Load Balancer controller is raising the error below right after the LB is created, but not in Active state:

       

      E0314 22:21:29.583252  701419 awscluster_controller.go:293] "failed to get IP address for dns name" err="lookup mrb-capa-67-d2pfx-int-843cf523fd295249.elb.us-east-1.amazonaws.com on 192.168.15.1:53: no such host" controller="awscluster" controllerGroup="infrastructure.cluster.x-k8s.io" controllerKind="AWSCluster" AWSCluster="openshift-cluster-api-guests/mrb-capa-67-d2pfx" namespace="openshift-cluster-api-guests" name="mrb-capa-67-d2pfx" reconcileID="dd36b725-0aec-48d1-8caa-6704ce93c650" cluster="openshift-cluster-api-guests/mrb-capa-67-d2pfx" dns="mrb-capa-67-d2pfx-int-843cf523fd295249.elb.us-east-1.amazonaws.com" 

       

      A check could be added here[1] to prevent this error.

      [1] TODO

      cluster-api/providers/aws/vendor/sigs.k8s.io/cluster-api-provider-aws/v2/controllers/awscluster_controller.go

      if _, err := net.LookupIP(awsCluster.Status.Network.APIServerELB.DNSName); err != nil { 

       

            Unassigned Unassigned
            rhn-support-mrbraga Marco Braga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: