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

[CAPI] Machine stuck in Pending status with http_proxy-no_privatelink cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • 4.17
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • Proposed
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Machine stuck in Pending status with http_proxy-no_privatelink cluster  

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

      4.17

      How reproducible:

      100%    

      Steps to Reproduce:

      1. Install a cluster on aws with capi enabled, templeate versioned-installer-customer_vpc-http_proxy-no_privatelink     
      2. Try scaling a machineset with capi
      3. Error can be seen in log
          

      Actual results:

      Cluster api cannot reach the cloud provider API
      
      $ oc get machine                              
      NAME                          CLUSTER                NODENAME   PROVIDERID   PHASE     AGE     VERSION
      capi-machineset-51071-vnt9m   zhsun-awsproxy-bz2fz                           Pending   8m40s
      
      E0719 09:46:00.796927       1 controller.go:329] "Reconciler error" err=<
          failed to query AWSMachine instance by tags: failed to describe instances by tags: RequestError: send request failed
          caused by: Post "https://ec2.us-east-2.amazonaws.com/": dial tcp 52.95.18.3:443: i/o timeout
       > controller="awsmachine" controllerGroup="infrastructure.cluster.x-k8s.io" controllerKind="AWSMachine" AWSMachine="openshift-cluster-api/capi-machineset-51071-vnt9m" namespace="openshift-cluster-api" name="capi-machineset-51071-vnt9m" reconcileID="d582f3a6-da0d-4cd9-a2ee-d9a8bea2293f"
      I0719 09:46:59.664863       1 awscontrolleridentity_controller.go:88] "IdentityRef is nil, skipping reconciliation" controller="awscluster" controllerGroup="infrastructure.cluster.x-k8s.io" controllerKind="AWSCluster" AWSCluster="openshift-cluster-api/zhsun-awsproxy-bz2fz" namespace="openshift-cluster-api" name="zhsun-awsproxy-bz2fz" reconcileID="f732a960-bd26-415b-a5e9-55e7b0035599" cluster="openshift-cluster-api/zhsun-awsproxy-bz2fz"
      E0719 09:48:01.148087       1 awsmachine_controller.go:487] "unable to find instance" err=<
          failed to query AWSMachine instance by tags: failed to describe instances by tags: RequestError: send request failed
          caused by: Post "https://ec2.us-east-2.amazonaws.com/": dial tcp 99.78.176.220:443: i/o timeout
      
      

      Expected results:

      Cluster api need send traffic to the cloud provider via the proxy

              joelspeed Joel Speed
              rhn-support-zhsun Zhaohua Sun
              None
              None
              Zhaohua Sun Zhaohua Sun
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: