Bug 2016467 - openshift-pipeline plugin gone missing in jenkins-2-rhel7:v3.11.462-3.git.10eb612 and newer
Summary: openshift-pipeline plugin gone missing in jenkins-2-rhel7:v3.11.462-3.git.10e...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Jenkins
Version: 3.11.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 3.11.z
Assignee: Akram Ben Aissi
QA Contact: Jitendar Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-21 15:28 UTC by Simon Reber
Modified: 2021-12-02 22:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-02 22:01:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift jenkins pull 1328 0 None open Bug 2016467: Revert removal of openshift-pipeline:1.0.57 2021-10-25 07:58:52 UTC
Red Hat Knowledge Base (Solution) 6448571 0 None None None 2021-10-22 12:27:51 UTC
Red Hat Product Errata RHSA-2021:4827 0 None None None 2021-12-02 22:01:58 UTC

Description Simon Reber 2021-10-21 15:28:06 UTC
Description of problem:

The openshift-pipeline plugin in the Jenkins 2 Image has gone missing in jenkins-2-rhel7:v3.11.462-3.git.10eb612 and later.

In jenkins-2-rhel7:v3.11.452-1.git.df607d0 it's still there and it appears that the plugin was removed via the below pull/bug request.

 - [ [3.11] Bug 1929718: Openshift 3.11 Various fixes ]
   https://github.com/openshift/jenkins/pull/1295/commits/6c42d72ea6ecb3ce6ebd798a587c78cf7d576fff

 - [ Bug 1929718 - Update plugins and Jenkins version to prepare openshift-sync-plugin 1.0.46 release ]
   https://bugzilla.redhat.com/show_bug.cgi?id=1929718

Even though the plugin is mentioned being deprecated in https://docs.openshift.com/container-platform/3.11/release_notes/ocp_3_11_release_notes.html#ocp-311-notable-technical-changes it also highlights that it will remain available during OpenShift Container Platform 3.11 - life-time.

Version-Release number of selected component (if applicable):

 - OpenShift Container Platform 3.11.524

How reproducible:

 - Always

Steps to Reproduce:
1. Check available plugins in registry.redhat.io/openshift3/jenkins-2-rhel7:v3.11.462-3.git.10eb612 (openshift-pipeline is missing)
2. Check available plugins in registry.redhat.io/openshift3/jenkins-2-rhel7:v3.11.452-1.git.df607d0 (openshift-pipeline is available)

Actual results:

The openshift-pipeline plugin is missing in registry.redhat.io/openshift3/jenkins-2-rhel7:v3.11.462-3.git.10eb612 and later

Expected results:

The openshift-pipeline plugin is expected to be available in registry.redhat.io/openshift3/jenkins-2-rhel7:latest

Additional info:

Comment 3 Jitendar Singh 2021-11-22 05:19:25 UTC
Verified
==============================================================
✘ jitsingh@fedora  /  oc get pods
NAME              READY   STATUS    RESTARTS   AGE
jenkins-1-nx9rc   1/1     Running   0          7m
 jitsingh@fedora  /  oc rsh jenkins-1-nx9rc
sh-4.2$ cat /var/lib/jenkins/plugins/openshift-pipeline/META-INF/MANIFEST.MF |grep Implementation-Version
Implementation-Version: 1.0.57
sh-4.2$ exit
exit

=======================================================================================================================
 ✘ jitsingh@fedora  /  oc new-project jenkins-test
Already on project "jenkins-test" on server "https://openshift.sharedocp311cns.lab.upshift.rdu2.redhat.com:443".

You can add applications to this project with the 'new-app' command. For example, try:

    oc new-app rails-postgresql-example

to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:

    kubectl create deployment hello-node --image=k8s.gcr.io/serve_hostname

 jitsingh@fedora  /  oc import-image --confirm jenkins-jitsingh --from=registry-proxy.engineering.redhat.com/rh-osbs/openshift3-jenkins-2-rhel7:v3.11.563-1.g95b8d3e
imagestream.image.openshift.io/jenkins-jitsingh imported

Name:			jenkins-jitsingh
Namespace:		jenkins-test
Created:		23 seconds ago
Labels:			<none>
Annotations:		openshift.io/image.dockerRepositoryCheck=2021-11-22T05:05:42Z
Image Repository:	docker-registry.default.svc:5000/jenkins-test/jenkins-jitsingh
Image Lookup:		local=false
Unique Images:		1
Tags:			1

latest
  tagged from registry-proxy.engineering.redhat.com/rh-osbs/openshift3-jenkins-2-rhel7:v3.11.563-1.g95b8d3e

  * registry-proxy.engineering.redhat.com/rh-osbs/openshift3-jenkins-2-rhel7@sha256:8f704d09df04d6b33b632b106edc4e627e9ffd1b2b4e3ae1672d5ac386f32bdc
      23 seconds ago

Image Name:	jenkins-jitsingh:v3.11.563-1.g95b8d3e
Docker Image:	registry-proxy.engineering.redhat.com/rh-osbs/openshift3-jenkins-2-rhel7@sha256:8f704d09df04d6b33b632b106edc4e627e9ffd1b2b4e3ae1672d5ac386f32bdc
Name:		sha256:8f704d09df04d6b33b632b106edc4e627e9ffd1b2b4e3ae1672d5ac386f32bdc
Created:	23 seconds ago
Annotations:	image.openshift.io/dockerLayersOrder=ascending
Image Size:	513MB in 6 layers
Layers:		76.51MB	sha256:2e56322ff663c58e3cc6799d97eca192875ed41bb5719eecdba3aeb51c64bcfc
		1.556kB	sha256:3613af4b99c65e470eaf96f24b6d4133799d7e21c944564771edcd437d7bcfcd
		9.33MB	sha256:9a6f84082c12587574419a71437844f4183976acf473c50b14866124101a3e9c
		8.004MB	sha256:bd2b67785315fb0684b1d4581aee219fd2e675f48002606ae5a6840179851d30
		33.71MB	sha256:21640784961c59d74512e958405c0eed0d44cf8fa6c0b876c10e3832385ece9c
		385.4MB	sha256:41fe2d7b9f385238acbf9c3a5a90be6dc2e6d7102377521dbf53da5fce90088d
Image Created:	8 hours ago
Author:		OpenShift Developer Services <jenkins+openshift-dev-services>
Arch:		amd64
Entrypoint:	/usr/bin/dumb-init --
Command:	/usr/libexec/s2i/run
Working Dir:	<none>
User:		1001
Exposes Ports:	50000/tcp, 8080/tcp
Docker Labels:	License=GPLv2+
		architecture=x86_64
		build-date=2021-11-21T21:12:19.826301
		com.redhat.build-host=cpt-1005.osbs.prod.upshift.rdu2.redhat.com
		com.redhat.component=openshift-jenkins-2-container
		com.redhat.license_terms=https://www.redhat.com/agreements
		description=Jenkins is a continuous integration server
		distribution-scope=public
		io.k8s.description=Jenkins is a continuous integration server
		io.k8s.display-name=Jenkins 2
		io.openshift.build.commit.id=95b8d3e0802fa13f502e6e62e40ce95d7e45dfa5
		io.openshift.build.commit.url=https://github.com/openshift/jenkins/commit/95b8d3e0802fa13f502e6e62e40ce95d7e45dfa5
		io.openshift.build.source-location=https://github.com/openshift/jenkins
		io.openshift.expose-services=8080:http
		io.openshift.maintainer.component=Jenkins
		io.openshift.maintainer.product=OpenShift Container Platform
		io.openshift.s2i.scripts-url=image:///usr/libexec/s2i
		io.openshift.tags=jenkins,jenkins2,ci
		name=openshift3/jenkins-2-rhel7
		release=1.g95b8d3e
		summary=Provides the latest release of Red Hat Enterprise Linux 7 in a fully featured and supported base image.
		url=https://access.redhat.com/containers/#/registry.access.redhat.com/openshift3/jenkins-2-rhel7/images/v3.11.563-1.g95b8d3e
		vcs-ref=b6684461e5bc7c310c701853bba4196c62df14f8
		vcs-type=git
		vendor=Red Hat, Inc.
		version=v3.11.563
Environment:	__doozer=merge
		BUILD_RELEASE=1.g95b8d3e
		BUILD_VERSION=v3.11.563
		OS_GIT_MAJOR=3
		OS_GIT_MINOR=11
		OS_GIT_PATCH=563
		OS_GIT_TREE_STATE=clean
		OS_GIT_VERSION=3.11.563-1.g95b8d3e-95b8d3e
		SOURCE_GIT_TREE_STATE=clean
		OS_GIT_COMMIT=95b8d3e
		SOURCE_DATE_EPOCH=1635148909
		SOURCE_GIT_COMMIT=95b8d3e0802fa13f502e6e62e40ce95d7e45dfa5
		SOURCE_GIT_TAG=95b8d3e0
		SOURCE_GIT_URL=https://github.com/openshift/jenkins
		JENKINS_VERSION=2
		HOME=/var/lib/jenkins
		JENKINS_HOME=/var/lib/jenkins
		JENKINS_UC=https://updates.jenkins.io
		OPENSHIFT_JENKINS_IMAGE_VERSION=3.11
		LANG=en_US.UTF-8
		LC_ALL=en_US.UTF-8
		PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
		container=oci
Volumes:	/var/lib/jenkins


 jitsingh@fedora  /  oc new-app jenkins-ephemeral -p NAMESPACE=$(oc project -q) -p JENKINS_IMAGE_STREAM_TAG=jenkins-jitsingh:latest                             

--> Deploying template "openshift/jenkins-ephemeral" to project jenkins-test

     Jenkins (Ephemeral)
     ---------
     Jenkins service, without persistent storage.
     
     WARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.

     A Jenkins service has been created in your project.  Log into Jenkins with your OpenShift account.  The tutorial at https://github.com/openshift/origin/blob/master/examples/jenkins/README.md contains more information about using this template.

     * With parameters:
        * Jenkins Service Name=jenkins
        * Jenkins JNLP Service Name=jenkins-jnlp
        * Enable OAuth in Jenkins=true
        * Memory Limit=512Mi
        * Jenkins ImageStream Namespace=jenkins-test
        * Disable memory intensive administrative monitors=false
        * Jenkins ImageStreamTag=jenkins-jitsingh:latest

--> Creating resources ...
    route.route.openshift.io "jenkins" created
    deploymentconfig.apps.openshift.io "jenkins" created
    serviceaccount "jenkins" created
    rolebinding.authorization.openshift.io "jenkins_edit" created
    service "jenkins-jnlp" created
    service "jenkins" created
--> Success
    Access your application via route 'jenkins-jenkins-test.apps.sharedocp311cns.lab.upshift.rdu2.redhat.com' 
    Run 'oc status' to view your app.
 jitsingh@fedora  /  oc get pods
NAME               READY   STATUS    RESTARTS   AGE
jenkins-1-deploy   1/1     Running   0          1m
jenkins-1-nx9rc    0/1     Running   0          1m
 jitsingh@fedora  /  oc logs -f jenkins-1-nx9rc
OpenShift client and server versions are oc v3.11.563
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://172.30.0.1:443
openshift v3.11.542
kubernetes v1.11.0+d4cacc0
OPENSHIFT_JENKINS_JVM_ARCH='', CONTAINER_MEMORY_IN_MB='512', using /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-1.el7_9.i386/bin/java and /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-1.el7_9.i386/bin/javac
=========================================================================================

Comment 6 errata-xmlrpc 2021-12-02 22:01:17 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 (Important: OpenShift Container Platform 3.11.569 security update), 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/RHSA-2021:4827


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