Bug 1709626
Summary: | [3.11.z] Kubernetes Pod Template is randomly removed | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Fatima <fshaikh> | |
Component: | ImageStreams | Assignee: | Gabe Montero <gmontero> | |
Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.9.0 | CC: | adam.kaplan, aos-bugs, gmontero, jokerman, mmccomas, pweil, wzheng | |
Target Milestone: | --- | |||
Target Release: | 3.11.z | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: The OpenShift Jenkins Sync plugin confused ImageStreams and ConfigMaps with the same name when processing them for Jenkins k8s plugin PodTemplates
Consequence: An event for one type could delete the pod template created from another type
Fix: The OpenShift Jenkins Sync plugin was modified to keep track of which api object type created the pod template of a given name.
Result: Jenkins k8s plugin PodTemplates created by the OpenShift Sync Plugin's mapping from ConfigMap/ImageStreams are not inadvertently deleted when two types with the same name exist in the cluster.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1711334 (view as bug list) | Environment: | ||
Last Closed: | 2019-06-26 09:08:11 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1711334, 1711340 |
Description
Fatima
2019-05-14 02:14:50 UTC
I should have the PR up later today When that merges, I'll cut a new version of the sync plugin which based on the exchanges in https://github.com/openshift/jenkins-sync-plugin/issues/307 Everett should be able to apply in the customer env. The process of cutting new openshift-jenkins images and errata / zstream will start in parallel once the new version of the sync plugin is cut. PR https://github.com/openshift/jenkins-sync-plugin/pull/308 contains the proposed fix and is up for review Updating target release to v4.2.0 @gmontero please clone this BZ if we backport the plugin fix to the 4.1.z and/or 3.11.z Jenkins images. PR https://github.com/openshift/jenkins/pull/853 to update the image with v1.0.37 of the sync plugin is up PR https://github.com/openshift/jenkins/pull/855 updates the upstream 3.11 branch to v1.0.37 of the sync plugin looks like we have new images on brew for this looks like we have new images on brew for this The created Kubernetes Pod Template using the ConfigMap style will not removed more than a dozen hours. openshift3/jenkins-2-rhel7:v3.11 (v3.11.117 47da6bb652f4) with openshift-sync : 1.0.37 installed 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-2019:1605 |