Bug 1823676
Summary: | New controllers should report their statuses | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Oleg Bulatov <obulatov> |
Component: | Image Registry | Assignee: | Oleg Bulatov <obulatov> |
Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.5 | CC: | aos-bugs |
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: only config.imageregistry conditions are propagated to the clusteroperator object
Consequence: conditions from other controllers are not visible via clusteroperator
Fix: add conditions for other controllers and aggregate them
Result: the clusteroperator object represents all controllers of the operator
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-13 17:27:23 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: |
Description
Oleg Bulatov
2020-04-14 09:06:59 UTC
How to test it: 1. the config.imageregistry/cluster should have more conditions with name "...Degraded" 2. edit imagepruner and use invalid schedule "foo" or "* * *"; imagepruner should have a degraded condition, clusteroperator/image-registry should be Degraded. ImagePrunerDegraded appears if set invalid schedule "foo" or "* * *" to imagepruners config with 4.5.0-0.nightly-2020-05-26-224432: Status: Conditions: Last Transition Time: 2020-05-27T01:54:12Z Message: Available: The registry is ready ImagePrunerAvailable: Pruner CronJob has been created Reason: Ready Status: True Type: Available Last Transition Time: 2020-05-27T02:58:35Z Message: Progressing: The registry is ready Reason: Ready Status: False Type: Progressing Last Transition Time: 2020-05-27T03:03:57Z Message: ImagePrunerDegraded: Error: unable to apply objects: failed to update object *v1beta1.CronJob, Namespace=openshift-image-registry, Name=image-pruner: CronJob.batch "image-pruner" is invalid: spec.schedule: Invalid value: "foo": Expected exactly 5 fields, found 1: foo Reason: ImagePrunerSyncError Status: True 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, 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:2409 |