Bug 1461235 - [hS9lzo1v] Failed to add jenkins slave podTemplate from imagestream and imagestreamtag automatic
Summary: [hS9lzo1v] Failed to add jenkins slave podTemplate from imagestream and image...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.6.z
Assignee: Gabe Montero
QA Contact: Dongbo Yan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-14 02:28 UTC by Dongbo Yan
Modified: 2017-09-11 13:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-09-11 13:38:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Jenkins pod log (90.72 KB, application/octet-stream)
2017-06-14 02:28 UTC, Dongbo Yan
no flags Details

Description Dongbo Yan 2017-06-14 02:28:03 UTC
Created attachment 1287494 [details]
Jenkins pod log

Description of problem:
Failed to add jenkins slave podTemplate from imagestream and imagestreamtag automatic. The openshift sync jenkins plugin should be able to create slave PodTemplates from:
ImageStreams with a 'role=jenkins-slave' label
and ImageStreamTags with a 'role=jenkins-slave' annotation

Version-Release number of selected component (if applicable):
openshift/jenkins-2-centos7@sha256:c40793abbf6fa031dc117e0251a5daa947dc2fa4b84f5882dbe42e1147424d50
openshift-sync 0.1.18

How reproducible:
Always

Steps to Reproduce:
1.Create a jenkins server
 $oc new-app jenkins-ephemeral
2.Create a imagestream with 'role=jenkins-slave' label
3.Log into jenkins webconsole to check if new slave podTemplate created

Actual results:
No new slave podTemplate created

Expected results:
Should add new slave podTemplate automatic

Additional info:

Comment 1 Gabe Montero 2017-06-14 02:45:46 UTC
https://github.com/openshift/jenkins-sync-plugin/pull/143 has the sync plugin change

I've initiated the creation of v0.1.19 of the sync plugin upstream.

I'll post an update when it is available and I start updating the openshift jenkins centos image to include that version.

Comment 2 Gabe Montero 2017-06-14 18:48:57 UTC
https://github.com/openshift/jenkins/pull/310 has merged

the docker.io/openshift/jenkins-*-centos7 images should be updated within the hour.

so when Dongbo Yan arrives in the office Thursday AM his time, he should be able to pull the latest image and attempt to verify the fix

moving to on qa

Comment 3 Dongbo Yan 2017-06-15 08:16:19 UTC
Verified
Test with openshift/jenkins-2-centos7@sha256:2e66a1d1f567acf52813aed30a9ef214749ee566fdbf1ce24efc215026cf09eb
openshift-sync 0.1.19

could add slave podTemplate from imagestream and imagestreamtag

Comment 4 Gabe Montero 2017-09-11 13:38:33 UTC
This bug was fixed in the release where the associated feature was introduced.

So no doc updates are needed.

With the delivery of 3.6, this bug should be marked closed.  Doing so now.


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