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

The apiserver-incluster-availability monitor test always uses default 6443 port

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.19.z, 4.20.0
    • kube-apiserver
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          In the OpenShift conformance test suite the apiserver-incluster-availability monitor always uses the default 6443 port to connect to the kube-apiserver. This will cause all requests to time out if the kube-apiserver is configured to use a non-default port (like on hypershift).

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

          4.19 and above

      How reproducible:

          always

      Steps to Reproduce:

          1. Deploy a 4.19 hypershift cluster with a non-default kube-apiserver port.
          2. Run the OpenShift conformance testsuite against this cluster.
          

      Actual results:

          The monitor uses the port 6443 port the connect to the kube-apiserver

      Expected results:

          The monitor should use the port specified in the infra.Status.APIServerInternalURL when connecting to the kube-apiserver

      Additional info:

          The port gets discarded here: https://github.com/openshift/origin/blob/85efd761c5387e6b4ada48eeb0d10bd2858b1bc7/pkg/monitortests/kubeapiserver/disruptioninclusterapiserver/monitortest.go#L361

              Unassigned Unassigned
              szepesit Tibor Szepesi (Inactive)
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: