Bug 1563247 - jenkins-slave-maven-rhel7 latest used on older version
Summary: jenkins-slave-maven-rhel7 latest used on older version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Release
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 3.6.z
Assignee: Justin Pierce
QA Contact: Dongbo Yan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-03 12:46 UTC by Vladislav Walek
Modified: 2022-03-13 14:50 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-06-28 07:54:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2007 0 None None None 2018-06-28 07:55:17 UTC

Description Vladislav Walek 2018-04-03 12:46:01 UTC
Description of problem:

when executing the build with jenkins pipeline, the latest jenkins-slave-maven-rhel7 image is pulled (currently as 3.9) even for the OCP version 3.6. Workaround would be to change the latest tag to the desired tag.
The latest image contains oc cli tools 3.9 which are causing the build issue (not compatible).

Also, when checking the default jenkins instance running on openshift, I see that there is no tag specified, so it will always use the latest one.

Version-Release number of selected component (if applicable):
Openshift Container Platform 3.6

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
now the jenkins pulls the latest image - not considering the version of OCP
- example - pulling version 3.9/latest on OCP version 3.6, where jenkins image contains different version of CLI tools (not compatible with actual version of OCP)

Expected results:
by default, the jenkins will get the tag same to the major release of openshift (e.g. 3.7 = image:3.7)

Additional info:
it could be up to admin of the jenkins to specify the correct tag, however, assuming in default configuration to always pull the latest image could cause more issues (especially when running different versions of OCP and images)

Comment 1 Ben Parees 2018-04-03 13:29:51 UTC
Yeah, the v3.9 jenkins image was improperly tagged as "latest"

Comment 2 Vladislav Walek 2018-04-03 13:44:31 UTC
So what is correct:

the latest will always point to the new release or jenkins should not use the latest but predefined tag?
How the v3.9 was improperly tagged as latest ? 
Which image should be pulled when using latest?

Comment 5 XiuJuan Wang 2018-04-27 02:44:06 UTC
Checked jenkins-2-rhel7, jenkins-slave-maven-rhel7, jenkins-slave-nodejs-rhel7 in registry.access registry.
latest tag point to v3.6.173.0.112
v3.6,v3.5 and v3.4 tags point to v3.6.173.0.112
Move this to verified.

Comment 7 errata-xmlrpc 2018-06-28 07:54:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2007


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