Skip to content

Commit 90b42f2

Browse files
Merge pull request #30581 from hongkailiu/degraded-image-registry
OCPBUGS-66225: Add more exceptions for CO/image-registry's Degraded=True
2 parents 0194826 + 6c5867e commit 90b42f2

File tree

1 file changed

+6
-1
lines changed
  • pkg/monitortests/clusterversionoperator/legacycvomonitortests

1 file changed

+6
-1
lines changed

pkg/monitortests/clusterversionoperator/legacycvomonitortests/operators.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,12 @@ func testUpgradeOperatorStateTransitions(events monitorapi.Intervals, clientConf
438438
return "https://issues.redhat.com/browse/OCPBUGS-23744"
439439
}
440440
case "image-registry":
441-
if condition.Type == configv1.OperatorDegraded && condition.Status == configv1.ConditionTrue && (condition.Reason == "NodeCADaemonControllerError" || condition.Reason == "ProgressDeadlineExceeded") {
441+
if condition.Type == configv1.OperatorDegraded &&
442+
condition.Status == configv1.ConditionTrue &&
443+
(condition.Reason == "NodeCADaemonControllerError" ||
444+
condition.Reason == "ProgressDeadlineExceeded" ||
445+
condition.Reason == "ImageConfigControllerError" ||
446+
condition.Reason == "Unavailable") {
442447
return "https://issues.redhat.com/browse/OCPBUGS-38667"
443448
}
444449
// this won't handle the replicaCount==2 serial test where both pods are on nodes that get tainted.

0 commit comments

Comments
 (0)