Bug 1806687 - [4.4] Image Pruner Components Removed if Image Registry is Removed
Summary: [4.4] Image Pruner Components Removed if Image Registry is Removed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.4.0
Assignee: Corey Daley
QA Contact: Wenjing Zheng
URL:
Whiteboard:
: 1807363 (view as bug list)
Depends On: 1806686
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-24 18:29 UTC by Adam Kaplan
Modified: 2020-05-04 11:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1806686
Environment:
Last Closed: 2020-05-04 11:39:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-image-registry-operator pull 468 0 None closed [release-4.4] Bug 1806687: Image pruner updates: Controller / Prune Registry 2020-07-20 12:32:56 UTC

Description Adam Kaplan 2020-02-24 18:29:35 UTC
+++ This bug was initially created as a clone of Bug #1806686 +++

Description of problem:

If the image pruner has been installed, and then the image registry is marked `Removed`, the image pruner CronJob and other components are also removed.

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


How reproducible: Always


Steps to Reproduce:
0. Ensure the image registry is installed and the operator is `Managed`
1. Configure the image pruner for the cluster.
2. Mark the image registry as `Removed`

Actual results:

Image pruner CronJob and other components are removed.


Expected results:

Image pruner CronJob remains, and is upgraded to only prune image metadata in etcd.

Comment 3 Wenjing Zheng 2020-02-26 08:12:59 UTC
*** Bug 1807363 has been marked as a duplicate of this bug. ***

Comment 4 Wenjing Zheng 2020-02-27 03:23:24 UTC
Verified on 4.4.0-0.nightly-2020-02-26-185356:
$ oc get pods
NAME                                               READY   STATUS      RESTARTS   AGE
cluster-image-registry-operator-7d88768b6d-6gbfl   2/2     Running     0          3h16m
image-pruner-1582773600-gd256                      0/1     Completed   0          112s
image-pruner-1582773660-542j5                      0/1     Completed   0          102s
image-pruner-1582773720-mztkq                      0/1     Completed   0          42s
node-ca-5z89r                                      1/1     Running     0          3h16m
node-ca-8cbbx                                      1/1     Running     0          3h12m
node-ca-bpg7t                                      1/1     Running     0          3h12m
node-ca-dxj68                                      1/1     Running     0          3h12m
node-ca-n6ztv                                      1/1     Running     0          3h16m
node-ca-skmw2                                      1/1     Running     0          3h16m

Comment 5 Adam Kaplan 2020-04-01 14:20:39 UTC
*** Bug 1807363 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2020-05-04 11:39:25 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-2020:0581


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