Bug 1383619

Summary: [docker-1.12] Verify Openshift Service failed in jenkins console
Product: OpenShift Container Platform Reporter: wewang <wewang>
Component: ImageStreamsAssignee: Ben Parees <bparees>
Status: CLOSED NOTABUG QA Contact: Wang Haoran <haowang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-11 10:20:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description wewang 2016-10-11 09:23:29 UTC
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

Comment 1 wewang 2016-10-11 09:24:33 UTC
and in DSL part has the same problem

Comment 2 wewang 2016-10-11 10:20:59 UTC
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.