Skip to content

Commit 0b4bb1d

Browse files
committed
pkg/monitortests/clusterversionoperator: Add an exception for machine-config going Available=False on 'missing HTTP content-type'
It would be great if the machine-config operator addressed this issue, but: * We do not want to block pull requests from landing, or releases from being accepted, until they adjust their operator. This behavior is likely longstanding, and we want to give folks time to gradually tighten operator logic without needing to rush. * Even once the machine-config folks adjust their operator, this test suite will be used for test-cases that touch older releases (e.g. update and rollback jobs), and the test case doesn't yet allow for distinctions like "the machine-config operator at the time of the Available=False condition predates the bugfix landing, so that should still fall under the earlier exception".
1 parent c842f63 commit 0b4bb1d

File tree

1 file changed

+3
-0
lines changed
  • pkg/monitortests/clusterversionoperator/legacycvomonitortests

1 file changed

+3
-0
lines changed

pkg/monitortests/clusterversionoperator/legacycvomonitortests/operators.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ func testUpgradeOperatorStateTransitions(events monitorapi.Intervals) []*junitap
7575
if condition.Type == configv1.OperatorAvailable && condition.Status == configv1.ConditionFalse && condition.Reason == "MachineConfigControllerFailed" && strings.Contains(condition.Message, "notAfter: Required value") {
7676
return "https://issues.redhat.com/browse/OCPBUGS-22364", nil
7777
}
78+
if condition.Type == configv1.OperatorAvailable && condition.Status == configv1.ConditionFalse && strings.Contains(condition.Message, "missing HTTP content-type") {
79+
return "https://issues.redhat.com/browse/OCPBUGS-24228", nil
80+
}
7881
case "monitoring":
7982
if condition.Type == configv1.OperatorAvailable && (condition.Status == configv1.ConditionFalse && (condition.Reason == "PlatformTasksFailed" || condition.Reason == "UpdatingAlertmanagerFailed" || condition.Reason == "UpdatingConsolePluginComponentsFailed" || condition.Reason == "UpdatingPrometheusK8SFailed" || condition.Reason == "UpdatingPrometheusOperatorFailed")) || (condition.Status == configv1.ConditionUnknown && condition.Reason == "UpdatingPrometheusFailed") {
8083
return "https://issues.redhat.com/browse/OCPBUGS-23745", nil

0 commit comments

Comments
 (0)