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

openshift-cluster-node-tuning-operator node-tuning-operator endpoint 60000 port should return 401 without auth

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.20.0
    • Node Tuning Operator
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • Moderate
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      see similar bug OCPBUGS-57585

      the following output was taken from a 4.18.15 but CI has similar results on more recent clusters. 

      $ oc --kubeconfig /tmp/ota-stage.c get ep -n openshift-cluster-node-tuning-operator
      NAME                                 ENDPOINTS           AGE
      node-tuning-operator                 10.128.0.21:60000   3y329d
      performance-addon-operator-service   10.128.0.21:4343    2y301d
      
      oc --kubeconfig /tmp/ota-stage.c  -n hongkliu-test run -i -t debug --image=quay.io/centos/centos:stream9 --restart=Never --rm=true
      If you don't see a command prompt, try pressing enter.
      bash-5.1# curl -k https://10.128.0.21:60000/metrics
      curl: (56) OpenSSL SSL_read: error:0A00045C:SSL routines::tlsv13 alert certificate required, errno 0
      bash-5.1# echo $?
      56

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

      $ oc --kubeconfig /tmp/ota-stage.c get clusterversion NAME      VERSION   AVAILABLE   PROGRESSING   SINCE   STATUS version   4.18.15   True        False         73d     Cluster version is 4.18.15 

      How reproducible:

      always

      Steps to Reproduce:

      1. see descriptions

      Actual results:

      curl failed with exit code 56

      Expected results:

      curl succeeds with http status code 401

      Additional info:

      Discussion: https://github.com/openshift/origin/pull/30014#discussion_r2262378353

       

      When the bug is fixed, please remove it from this code snippet to avoid regression.

      https://github.com/openshift/origin/blob/4f183dd3427cffd8d97b44557caa782d65726416/test/extended/prometheus/prometheus.go#L64-L71

              jmencak Jiri Mencak
              juzhao@redhat.com Junqi Zhao
              None
              None
              Liquan Cui Liquan Cui
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: