Skip to content

Commit

Permalink
temporarily allow storage operators to flip progressing condition often
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBednar committed May 7, 2024
1 parent e44f5c7 commit 15db814
Showing 1 changed file with 10 additions and 0 deletions.
Expand Up @@ -445,6 +445,16 @@ func NewUniversalPathologicalEventMatchers(kubeConfig *rest.Config, finalInterva
messageHumanRegex: regexp.MustCompile(`.*StatefulSet.*`),
})

registry.AddPathologicalEventMatcherOrDie(&SimplePathologicalEventMatcher{
name: "StorageOperatorsFlipsProgressingTooOften",
locatorKeyRegexes: map[monitorapi.LocatorKey]*regexp.Regexp{
monitorapi.LocatorNamespaceKey: regexp.MustCompile(`^openshift-cluster-storage-operator$`),
},
messageReasonRegex: regexp.MustCompile(`^OperatorStatusChanged$`),
messageHumanRegex: regexp.MustCompile(`Progressing changed.*`),
jira: "https://issues.redhat.com/browse/OCPBUGS-24061",
})

registry.AddPathologicalEventMatcherOrDie(AllowBackOffRestartingFailedContainer)

registry.AddPathologicalEventMatcherOrDie(AllowOVNReadiness)
Expand Down

0 comments on commit 15db814

Please sign in to comment.