Bug 1981775 - Problematic Deployment creates infinite number Replicasets causing etcd to reach quota limit
Summary: Problematic Deployment creates infinite number Replicasets causing etcd to re...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-apiserver
Version: 4.7
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 4.7.z
Assignee: Filip Krepinsky
QA Contact: zhou ying
URL:
Whiteboard:
: 1982719 (view as bug list)
Depends On: 1981770
Blocks: 1981784
TreeView+ depends on / blocked
 
Reported: 2021-07-13 11:36 UTC by Filip Krepinsky
Modified: 2021-10-21 17:51 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: caused if deployment is created with unresolved image (no image stream) and no image.openshift.io/triggers annotation. By creating image stream and subsequently patching our deployment, new image resolution will occur on new replica sets. This will result in inconsistent state between deployment controller and apiserver's imagepolicy plugin. Consequence: deployment controller creates replica sets in infinite loop Fix: responsibilities of apiserver's imagepolicy plugin were lowered Result: inconsistent image resolution should not occur in the deployments and thus it should not cause creation of infinite replica sets anymore
Clone Of: 1976775
: 1981784 (view as bug list)
Environment:
Last Closed: 2021-09-01 18:23:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift apiserver-library-go pull 55 0 None open Bug 1981775: fix Deployment creates a huge number of ReplicaSets 2021-07-13 12:02:51 UTC
Github openshift kubernetes pull 879 0 None None None 2021-08-05 12:19:03 UTC
Red Hat Product Errata RHSA-2021:3262 0 None None None 2021-09-01 18:24:19 UTC

Comment 1 Filip Krepinsky 2021-07-21 12:02:57 UTC
*** Bug 1982719 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2021-09-01 18:23:54 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 4.7.28 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:3262


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