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

vsphere-problem-detector-operator does not respect cluster wide proxy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Undefined
    • 4.16.0
    • 4.13
    • Storage
    • None
    • No
    • False
    • Hide

      None

      Show
      None

    Description

      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:

          

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-jsafrane Jan Safranek
              rhn-support-mblach Miguel Blach
              Wei Duan Wei Duan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: