Bug 1826033
Summary: | Image Pruner Automatically Installed on Upgrade | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Corey Daley <cdaley> |
Component: | Image Registry | Assignee: | Corey Daley <cdaley> |
Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.4 | CC: | adam.kaplan, akretzsc, aos-bugs, scuppett, sttts, vlaad, wzheng |
Target Milestone: | --- | Keywords: | Upgrades |
Target Release: | 4.4.0 | Flags: | cdaley:
needinfo-
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: the pruner gets enabled by default on upgraded clusters
Consequence: it can delete something that the customer does not expect
Fix: the pruner is suspended by default
Result: all images will stay intact until the customer unsuspend the pruner
|
Story Points: | --- |
Clone Of: | 1825284 | Environment: | |
Last Closed: | 2020-05-04 11:50:00 UTC | Type: | --- |
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: | 1825284 | ||
Bug Blocks: |
Comment 6
Wenjing Zheng
2020-04-26 03:19:56 UTC
I also can see the alert like below: $ oc get PrometheusRule -n openshift-image-registry image-registry-operator-alerts -o yaml - name: ImagePruner rules: - alert: ImagePruningDisabled annotations: message: | Automatic image pruning is not enabled. Regular pruning of images no longer referenced by ImageStreams is strongly recommended to ensure your cluster remains healthy. To remove this warning, install the image pruner by creating an imagepruner.imageregistry.operator.openshift.io resource with the name `cluster`. Ensure that the `suspend` field is set to `false`. expr: image_registry_operator_image_pruner_install_status < 2 labels: severity: warning 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 I performed an in-place upgrade from 4.3.29 to 4.4.14 (both the latest stable release at the time) and ran into this issue today. |