Bug 1383619 - [docker-1.12] Verify Openshift Service failed in jenkins console
Summary: [docker-1.12] Verify Openshift Service failed in jenkins console
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ben Parees
QA Contact: Wang Haoran
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-11 09:23 UTC by wewang
Modified: 2016-10-11 10:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-11 10:20:59 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.