Bug 1867792
Summary: | Pruner degrades image registry operator if the latter is removed | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Ricardo Maraschini <rmarasch> |
Component: | Image Registry | Assignee: | Ricardo Maraschini <rmarasch> |
Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.5 | CC: | ansverma, aos-bugs, apjagtap, cpassare, lmohanty, myka.rein, pasik, wking, xiuwang |
Target Milestone: | --- | Keywords: | Upgrades |
Target Release: | 4.6.0 | ||
Hardware: | All | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
Prune enabled with image registry Removed
Consequence:
Pruner job failing because it fails to reach a registry that does not exist (Removed)
Fix:
Do not attempt to ping the registry if it is removed.
Result:
Pruner succeeds and removes only etcd objects (do not attempt to remove blobs)
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:27:14 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: | 1872519 |
Description
Ricardo Maraschini
2020-08-10 18:44:52 UTC
Error reported by pruner pod: error: unable to determine registry: no managed image found $ oc logs pods/image-pruner-1598412960-9sn29 error: unable to determine registry: no managed image found $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.6.0-0.nightly-2020-08-25-222652 True False 60m Cluster version is 4.6.0-0.nightly-2020-08-25-222652 Waiting for a payload to include the pr. Verified with below version: $ oc logs pods/image-pruner-1598523000-8tdq4 Only API objects will be removed. No modifications to the image registry will be made. Deleted 0 objects. $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.6.0-0.nightly-2020-08-26-152137 True False 10h Cluster version is 4.6.0-0.nightly-2020-08-26-152137 Status: Conditions: Last Transition Time: 2020-08-27T10:01:30Z Message: Available: The registry is removed ImagePrunerAvailable: Pruner CronJob has been created Reason: Removed Status: True Type: Available Last Transition Time: 2020-08-27T10:01:30Z Message: Progressing: All registry resources are removed Reason: Removed Status: False Type: Progressing Last Transition Time: 2020-08-26T23:29:16Z Message: Degraded: The registry is removed Reason: Removed Status: False Type: Degraded 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.6 GA Images), 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:4196 This comment was flagged a spam, view the edit history to see the original text if required. |