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

Unable to create 4.17 version AWS PrivateLink cluster.

XMLWordPrintable

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

      Using the Hive version: quay.io/app-sre/hive:bdf9d08a06, AWS PrivateLink installation fails on OpenShift 4.17 but succeeds on 4.16 and 4.15.  

      Using the latest Hive version quay.io/app-sre/hive:bf092988c1 to install a 4.17 cluster, the same failure reason occurred.

      OCP Version 4.17.0-0.nightly-2024-08-19-165854 4.16.8-x86_64 4.15.28-multi-x86_64
      AWS Privatelink Failed  (mihuang816awspri417) OK  (mihuang816awspri416) OK  (mihuang816awspri415)

      The provision pod failed with error logs identical to those of the AWS PrivateLink cluster:  failed to create cluster accessor

      time="2024-08-20T08:20:05Z" level=debug msg="E0820 08:20:05.219773      86 controller.go:329] \"Reconciler error\" err=\"failed to create cluster accessor: error creating http client and mapper for remote cluster \\\"openshift-cluster-api-guests/mihuanguprivate-268jv\\\": error creating client for remote cluster \\\"openshift-cluster-api-guests/mihuanguprivate-268jv\\\": error getting rest mapping: failed to get API group resources: unable to retrieve the complete list of server APIs: v1: Get \\\"https://api.mihuanguprivate.qe.devcluster.openshift.com:6443/api/v1?timeout=10s\\\": dial tcp 10.1.52.201:6443: connect: connection refused\" controller=\"machine\" controllerGroup=\"cluster.x-k8s.io\" controllerKind=\"Machine\" Machine=\"openshift-cluster-api-guests/mihuanguprivate-268jv-bootstrap\" namespace=\"openshift-cluster-api-guests\" name=\"mihuanguprivate-268jv-bootstrap\" reconcileID=\"a2278f22-24b3-411b-8436-13ada3d05744\""

      I was able to find the corresponding DNS zones in the AWS VPC, and here they are.  

      $ aws route53 list-hosted-zones-by-vpc --vpc-id ${HIVE_VPC_ID} --vpc-region ${AWS_REGION}
      100
      HOSTEDZONESUMMARIES     Z0955569246D4WCGTJ43U   mihuang0816a.qe.devcluster.openshift.com.
      OWNER   301721915996
      HOSTEDZONESUMMARIES     Z05732231S1883Q0ECUFQ   api.mihuang816awspri415.qe.devcluster.openshift.com.
      OWNER   301721915996
      HOSTEDZONESUMMARIES     Z02850481RYJGUSUOKHSJ   api.mihuang816awspri416.qe.devcluster.openshift.com.
      OWNER   301721915996
      HOSTEDZONESUMMARIES     Z0283497DA0Q6BQI85AO    api.mihuang816awspri417.qe.devcluster.openshift.com.

      For provision pod logs: 417failed-mihuang816awspri417-0-t6pxr-provision-bcxb6.log

      Hive controller pod logs:  hive-controllers-66dd6bb7c6-p8k79.log

              rh-ee-mold Mark Old
              mihuang@redhat.com Mingxia Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: