Uploaded image for project: 'OpenShift Jenkins'
  1. OpenShift Jenkins
  2. JKNS-313

Jenkins templates not working on 4.13 & some 4.12 clusters

    XMLWordPrintable

Details

    • False
    • No user would be able to provision jenkins instance if this issue persists
    • False
    • Sprint 227
    • Critical
    • QE Confirmed

    Description

      • create a openshift 4.13 cluster
      • login to the cluster
      • oc new-project <project-name>
      • oc new-app jenkins-ephemeral
      • oc get routes

      Current Output:

      error: error processing template "openshift/jenkins-ephemeral": the namespace of the provided object does not match the namespace sent on the request

      Expected Output :

      --> Deploying template "openshift/jenkins-ephemeral" to project jenkins-test     Jenkins (Ephemeral)
           ---------
           Jenkins service, without persistent storage.     WARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.     A Jenkins service has been created in your project.  Log into Jenkins with your OpenShift account.  The tutorial at https://github.com/openshift/origin/blob/master/examples/jenkins/README.md contains more information about using this template.     * With parameters:
              * Jenkins Service Name=jenkins
              * Jenkins JNLP Service Name=jenkins-jnlp
              * Enable OAuth in Jenkins=true
              * Memory Limit=1Gi
              * Jenkins ImageStream Namespace=openshift
              * Disable memory intensive administrative monitors=false
              * Allows control over how the JVM interacts with FIPS on startup.=-Dcom.redhat.fips=false
              * Jenkins ImageStreamTag=jenkins:2
              * Allows use of Jenkins Update Center repository with invalid SSL certificate=false
              * Image used for the 'jnlp' container of the sample 'java-sidecar' and 'nodejs-sidecar' PodTemplates=image-registry.openshift-image-registry.svc:5000/openshift/jenkins-agent-base:latest
              * Image used for the 'java' container of the sample 'java-builder' PodTemplate=image-registry.openshift-image-registry.svc:5000/openshift/java:latest
              * Image used for the 'nodejs' container of the sample 'nodejs-builder' PodTemplate=image-registry.openshift-image-registry.svc:5000/openshift/nodejs:latest--> Creating resources ...
          route.route.openshift.io "jenkins" created
          configmap "jenkins-trusted-ca-bundle" created
          deploymentconfig.apps.openshift.io "jenkins" created
          serviceaccount "jenkins" created
          rolebinding.authorization.openshift.io "jenkins_edit" created
          service "jenkins-jnlp" created
          service "jenkins" created
      --> Success
          Access your application via route 'jenkins-jenkins-test.apps.rhoms-4.12-120104.dev.openshiftappsvc.org'
          Run 'oc status' to view your app. 

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jitensingh Jitendar Singh
            Jitendar Singh Jitendar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: