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

[GCP custom dns] installing behind a proxy takes the API server as proxy unexpectedly

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • No
    • Rejected
    • Installer Sprint 277
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          set up a bastion host as proxy server, then trigger the installation would tell failing to wait for the Kubernetes API, although the installation succeeds finally by itself

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

          see the build https://prow.ci.openshift.org/view/gs/test-platform-results/logs/release-openshift-origin-installer-launch-aws-modern/1910510784354455552

      How reproducible:

          Always

      Steps to Reproduce:

      1. create VPC network/subnets/etc.  (see [1])
      2. create bastion host within the VPC, which will act as http proxy server (see [2])
      3. "create install-config", then insert the interested settings (see [3])
      4. export http_proxy & https_proxy settings (see [4])
      5. "create cluster" (see [5])
      

      Actual results:

      Failed on waiting for the Kubernetes API with below error, please note that the IP "34.8.255.171" is the API server's IP, rather than the bastion host's IP.
      
      ERROR Attempted to gather ClusterOperator status after installation failure: listing ClusterOperator objects: Get "https://api.jiwei-0411z.qe.gcp.devcluster.openshift.com:6443/apis/config.openshift.io/v1/clusteroperators": proxyconnect tcp: dial tcp 34.8.255.171:3128: i/o timeout 
      

      Expected results:

          Installer should not take API server as the proxy server, and tell successful installation. 
      

      Additional info:

      The bootstrap log bundle is available at https://drive.google.com/file/d/17zidRrhJEy1XV6f7fmwfqIOyokWdUcm7/view?usp=drive_link    

              sdasu@redhat.com Sandhya Dasu
              rhn-support-jiwei Jianli Wei
              None
              None
              Jianli Wei Jianli Wei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: