Hide Forgot
image M/M versions: openshift3/jenkins-1-rhel7 f7822c4a72eb Docker Client: Version: 1.12.2-rc2 API version: 1.24 Package version: docker-common-1.12.2-3.el7.x86_64 Go version: go1.6.2 Git commit: 8501574 Built: Wed Oct 5 14:31:58 2016 OS/Arch: linux/amd64 Description of problem: When verify Openshift Service in jenkins console, failed with cannont connect to service How reproducible: Always steps: 1. Create jenkins $ oc new-project test $oc policy add-role-to-user admin system:serviceaccount:test:jenkins -n test $oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/jenkins-ephemeral-template.json 2. create job $ oc new-project test1 $ oc policy add-role-to-user edit system:serviceaccount:test:jenkins -n test1 3. Create app $oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json # oc get pods NAME READY STATUS RESTARTS AGE database-1-9oz7j 1/1 Running 0 43m frontend-1-5yfo7 1/1 Running 0 42m frontend-1-9sn6t 1/1 Running 0 42m ruby-sample-build-1-build 0/1 Completed 0 44m # oc get service NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE database xxxx <none> xxxx/TCP 44m frontend xxxx <none> xxxx/TCP 44m 4. configure 'verify openshift service' in build step and build job 5. Check the console out page Starting "Verify OpenShift Service" for the service "frontend" from the project "wewang2". Attempting to connect to "serviceip:port" ... Exiting "Verify OpenShift Service" unsuccessfully; a connection to "serviceip:port" could not be made. ERROR: "Verify OpenShift Service" failed Finished: FAILURE Actual results: failed to verify openshift service Expected results: can verify openshift service
and in DSL part has the same problem
network configure different, because env's networkPluginName: redhat/openshift-ovs-multitenant, projects cannot communicate to each others ,if networkPluginName: redhat/openshift-ovs-subnet, projects will communicate with each others.