-
Bug
-
Resolution: Done
-
Minor
-
4.18
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
Done
-
Bug Fix
-
-
None
-
None
-
None
-
None
This is a clone of issue OCPBUGS-44570. The following is the description of the original issue:
—
Description of problem:
When apiserver is not available briefly, the CEO status suggests that the openshift-etcd namespace does not exist: > EtcdEndpointsDegraded: EtcdEndpointsController can't evaluate whether quorum is safe: CheckSafeToScaleCluster failed to get bootstrap scaling strategy: failed to get openshift-etcd namespace: namespace "openshift-etcd" not found... which is evidently wrong, because the api has just responded with that exact status, which means etcd has returned this as a result. We should reword this message to indicate the actual error. Code path is here: https://github.com/openshift/cluster-etcd-operator/blob/release-4.17/pkg/operator/ceohelpers/bootstrap.go#L120-L123
Version-Release number of selected component (if applicable):
any supported release
How reproducible:
always
Steps to Reproduce:
1. created some temporary downtime on apiserver 2. check the CEO status using oc get co
Actual results:
CEO returns "failed to get openshift-etcd namespace: namespace "openshift-etcd" not found."
Expected results:
CEO should not indicate that namespace is missing
Additional info:
- clones
-
OCPBUGS-44570 improve scaling strategy error message
-
- Verified
-
- is blocked by
-
OCPBUGS-44570 improve scaling strategy error message
-
- Verified
-
- links to