Bug 2038960 - Jenkins sync plugin does not synchronize ConfigMap having label role=jenkins-agent
Summary: Jenkins sync plugin does not synchronize ConfigMap having label role=jenkins-...
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Jenkins
Version: 4.10
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.8.z
Assignee: Akram Ben Aissi
QA Contact: Priti Kumari
Depends On: 2038961
TreeView+ depends on / blocked
Reported: 2022-01-10 16:11 UTC by OpenShift BugZilla Robot
Modified: 2022-02-01 12:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: performance improvements introduced with 1.0.48 of the OpenShift Sync Jenkins Plugin incorrectly specified the labels accepted for ConfigMaps and ImageStreams intended to map into Jenkins Kubernetes Plugin Pod Templates Consequence: OpenShift Sync Plugin no longer would import Pod Templates from ConfigMaps or ImageStreams with the 'jenkins-agent' label. Fix: The accepted label specification for the watch was corrected. Result: OpenShift Sync Plugin again imports Pod Templates from ConfigMaps or ImageStreams with the 'jenkins-agent' label.
Clone Of:
Last Closed: 2022-02-01 12:44:33 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift jenkins pull 1362 0 None open [release-4.8] Bug 2038960: bump sync plugin to 1.0.52 2022-01-20 13:08:15 UTC
Red Hat Product Errata RHBA-2022:0278 0 None None None 2022-02-01 12:44:50 UTC

Internal Links: 2040810

Comment 3 Priti Kumari 2022-01-24 10:37:39 UTC
Verified with 4.8.0-0.nightly-2022-01-21-182704


$ oc logs pod/jenkins-1-4dkks
2022-01-24 10:35:24 INFO    io.fabric8.jenkins.openshiftsync.ConfigMapInformer onAdd ConfigMap informer received add event for: {}my-pod-template
2022-01-24 10:35:24 WARNING org.jenkinsci.plugins.prometheus.DiskUsageCollector collect Cannot get disk usage data. Install CloudBees Disk Usage Simple plugin to enable
2022-01-24 10:35:24 INFO    io.fabric8.jenkins.openshiftsync.PodTemplateUtils addAgents Adding PodTemplate(s) for jenkins-test
2022-01-24 10:35:24 INFO    io.fabric8.jenkins.openshiftsync.PodTemplateUtils removePodTemplate Removing PodTemplate: template1 in namespace:  null
2022-01-24 10:35:24 INFO    io.fabric8.jenkins.openshiftsync.PodTemplateUtils addPodTemplate Adding PodTemplate: template1

Comment 6 errata-xmlrpc 2022-02-01 12:44:33 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 (OpenShift Container Platform 4.8.29 bug fix 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.


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