Bug 1391807

Summary: Failed to load openshift pipeline and openshift sync plugin after jenkins pod deployed
Product: OpenShift Container Platform Reporter: Dongbo Yan <dyan>
Component: ImageStreamsAssignee: Ben Parees <bparees>
Status: CLOSED CURRENTRELEASE QA Contact: Wang Haoran <haowang>
Severity: high Docs Contact:
Priority: high    
Version: 3.4.0CC: aos-bugs, bparees, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 14:00:39 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:
Embargoed:
Attachments:
Description Flags
Jenkins pod log
none
Current included plugins in image none

Description Dongbo Yan 2016-11-04 05:29:01 UTC
Description of problem:
After jenkins pod deployed, cannot find openshift pipeline and openshift sync plugin in jenkins server

Version-Release number of selected component (if applicable):
brew-pulp.../openshift3/jenkins-2-rhel7  (a23a537d0be3)
brew-pulp.../openshift3/jenkins-1-rhel7  (d0386b3a83cd)

openshift v3.4.0.19+346a31d
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0

How reproducible:
Always

Steps to Reproduce:
1.Create a project
2.Create a jenkins server
 $oc new-app https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/jenkins-ephemeral-template.json
3.Check installed plugins in jenkins server, and jenkins pod log

Actual results:
cannot find openshift pipeline and openshift sync plugin in jenkins server.Due to the dependency plugin pipeline-graph-analysis is not existing in image.
pod log: http://pastebin.test.redhat.com/426948

Expected results:
openshift pipeline and openshift sync plugin are installed in jenkins server

Additional info:
Currently included plugins in image: http://pastebin.test.redhat.com/426949

Comment 1 Dongbo Yan 2016-11-04 05:58:38 UTC
Created attachment 1217289 [details]
Jenkins pod log

Comment 2 Dongbo Yan 2016-11-04 05:59:56 UTC
Created attachment 1217290 [details]
Current included plugins in image

Comment 3 Ben Parees 2016-11-04 15:05:28 UTC
We need pipeline-graph-analysis:1.2 packaged to fix this.

Assigning to Troy for now, but once it's packaged we'll also have to update the rhel7 dockerfiles to install the package.

Comment 4 Troy Dawson 2016-11-04 18:35:29 UTC
Package jenkins-plugin-pipeline-graph-analysis-1.2 built.  Also updated fixed jenkins-plugin-pipeline-rest-api so it now depends on it.

Comment 5 Ben Parees 2016-11-04 21:37:29 UTC
dockerfile update: https://github.com/openshift/jenkins/pull/187

this will be verifiable once a new rhel image is built. moving to modified.

Comment 6 Troy Dawson 2016-11-04 22:25:42 UTC
Images have been built, and I've verified that all required rpms have been installed, including pipeline-graph-analysis, openshift-sync and openshift-pipeline.

They are in the following images that are in pulp as well as registry.ops

openshift3/jenkins-1-rhel7:1.651.2-28
openshift3/jenkins-2-rhel7:2.7-13

Comment 7 Dongbo Yan 2016-11-07 09:28:11 UTC
Test with
brew-pulp.../openshift3/jenkins-2-rhel7         ede34972221e  
brew-pulp.../openshift3/jenkins-1-rhel7         b05627cfafbf 

openshift v3.4.0.22+5c56720
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0

Actual result:
openshift-login         0.6	
openshift-pipeline      1.0.28	
openshift-sync          0.0.14	
pipeline-graph-analysis 1.2