Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-1147

EAP startup script shows erroneous warning about clustering not being available when using https_proxy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • EAP64 1.5.0.GA
    • None
    • EAP6
    • None
    • CLOUD Maintenance Sprint 2

      If you set the https_proxy environment variable in your EAP pod and the proxy can't access the API server, the following warning is displayed at the top of the log:

      WARNING: Service account unable to test permissions to view pods in kubernetes (HTTP 000). Clustering will be unavailable. Please refer to the documentation for configuration.
      

      The warning message says clustering will not be available, but in reality, it will be, since the kube-ping code doesn't use the https_proxy environment variable.

      The startup script should use curl with the --no-proxy flag. Additionally, if curl can't access the API server, the warning message should say "Clustering might not be available" instead of stating this as fact.

              jsantana@redhat.com Jonh Wendell
              mluksa@redhat.com Marko Luksa
              Pavel Drobek Pavel Drobek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: