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

[4.15] vsphere-problem-detector-operator does not respect cluster wide proxy

XMLWordPrintable

    • Important
    • Yes
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the {vmw-first} Problem Detector Operator did not have HTTP and HTTPS proxies configured for it. This resulted in invalid cluster configuration error messages because connection issues between the Operator and the {vmw-full} vCenter server. With this release, the {vmw-short} Problem Detector Operator uses the same HTTP and HTTPS proxies as other {product-title} cluster Operators so that the {vmw-short} Problem Detector Operator can connect to the {vmw-full} vCenter. (link:https://issues.redhat.com/browse/OCPBUGS-33466[*OCPBUGS-33466*])
      Show
      * Previously, the {vmw-first} Problem Detector Operator did not have HTTP and HTTPS proxies configured for it. This resulted in invalid cluster configuration error messages because connection issues between the Operator and the {vmw-full} vCenter server. With this release, the {vmw-short} Problem Detector Operator uses the same HTTP and HTTPS proxies as other {product-title} cluster Operators so that the {vmw-short} Problem Detector Operator can connect to the {vmw-full} vCenter. (link: https://issues.redhat.com/browse/OCPBUGS-33466 [* OCPBUGS-33466 *])
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-28879. The following is the description of the original issue:

      Description of problem:

      In a recently installed cluster running 4.13.29, after configuring the cluster-wide-proxy, the "vsphere-problem-detector" is not taking the proxy configuration.
      As the pod cannot reach vSphere  it's failing to run checks:
      2024-02-01T09:28:00.150332407Z E0201 09:28:00.150292       1 operator.go:199] failed to run checks: failed to connect to vsphere.local: Post "https://vsphere.local/sdk": dial tcp 172.16.1.3:443: i/o timeout  
      
      The pod doesn't get the cluster proxy settings as expected:
         - name: HTTPS_PROXY
           value: http://proxy.local:3128
         - name: HTTP_PROXY
           value: http://proxy.local:3128
      
      Other storage related pods get the configuration expected as above.
      
      This causes the vsphere-problem-detector to fail connections to vSphere, hence failing the health checks.

       

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

        4.13.29 

      How reproducible:

         Always

      Steps to Reproduce:

          1.Configure cluster-wide proxy in the environment. 
          2. Wait for the change
          3. Check the pod configuration
          

      Actual results:

          vSphere health checks failing

      Expected results:

          vSphere health checks working through the cluster proxy

      Additional info:

          

            rhn-engineering-jsafrane Jan Safranek
            openshift-crt-jira-prow OpenShift Prow Bot
            Wei Duan Wei Duan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: