Uploaded image for project: 'OPCT - OpenShift Provider Compatibility Tool'
  1. OPCT - OpenShift Provider Compatibility Tool
  2. OPCT-300

[CLI/Plugin] openshift-tests plugin step is failing in clusters with custom service network

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • None
    • Plugins
    • OpenShift SPLAT - Sprint 258

      Clusters installed with custom service network. different than default 172.30.0.1, is failing to initialize steps, plugin pods, failing in init phase when trying to login to hard coded, in plugin manifest, the internal URL address for kubernetes server.

      Default URL for kubernetes service: 

      $ oc get svc/kubernetes -n default 
      NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
      kubernetes   ClusterIP   172.30.0.1   <none>        443/TCP   8h 

      Example of Assisted Installer job:

      $ oc get svc/kubernetes -n default
      NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
      kubernetes   ClusterIP   10.128.0.1   <none>        443/TCP   105m 

      Probably the best approach is to use internal DNS https://kubernetes.default.svc

      Reference:

      https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release/54722/rehearse-54722-periodic-ci-openshift-assisted-test-infra-master-opct-oci-assisted-periodic/1823146446296190976 

            rhn-support-mrbraga Marco Braga
            rhn-support-mrbraga Marco Braga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h