-
Bug
-
Resolution: Unresolved
-
Critical
-
odf-4.16
-
None
Description of problem:
Having the bug https://bugzilla.redhat.com/show_bug.cgi?id=2281536 it was discussed we can improve user awareness of connection failure and may recommend to check Provider endpoint.
Discussion: https://ibm-systems-storage.slack.com/archives/C05RJB6H0LQ/p1720592374142339
Error log message in case when Storage Client connect failed:
ocs-client-operator-controller-manager
2024-07-10T07:37:31Z INFO Reconciling StorageClient {"controller": "storageclient", "controllerGroup": "ocs.openshift.io", "controllerKind": "StorageClient", "StorageClient":
{"name":"storage-client"}, "namespace": "", "name": "storage-client", "reconcileID": "22f6a770-892d-4776-b04b-48af84b8ad4f", "StorageClient": {"name":"storage-client"}}
2024-07-10T07:37:41Z ERROR Reconciler error {"controller": "storageclient", "controllerGroup": "ocs.openshift.io", "controllerKind": "StorageClient", "StorageClient":
, "namespace": "", "name": "storage-client", "reconcileID": "22f6a770-892d-4776-b04b-48af84b8ad4f", "error": "failed to create a new provider client: failed to dial: context deadline exceeded"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.2/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.2/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.2/pkg/internal/controller/controller.go:227
Version-Release number of selected component (if applicable):
How reproducible:
Try to connect a StorageClient. Issue is not consistent.
Steps to Reproduce:
1. Deploy Provider mode cluster, when Hosted Hypershift Cluster is ready install ODF Client operator and try to connect new StorageClient
2.
3.
Actual results:
StorageClient fail to connect. Logs are not clear. Empty PHASE status of StorageClient.
NAME PHASE CONSUMER
storage-client
Expected results:
Storage client connects or explicit error message is present in the logs of ocs-client-operator-controller-manager. User is notified to check endpoint. StorageClient PHASE status should not be empty
Additional info:
- blocks
-
DFBUGS-81 [2316926] [Provider mode] Improve logs on client in case StorageClient fails to connect
- MODIFIED
- external trackers
- links to
-
RHBA-2024:143060 Red Hat OpenShift Data Foundation 4.16.4 security and bug fix update