From f489aba8f28eabc6892d73c6d8f939d13e98e270 Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Thu, 10 Jun 2021 14:55:24 +0530 Subject: [PATCH] ceph: set CSI_ENABLE_HOST_NETWORK default value to true This commit changes CSI_ENABLE_HOST_NETWORK default value to true since it was observed that cephfsvolume gets blocked when csi cephfs nodeplugin is restarted and nodeunpublish call also hangs when cephfs nodeplugin is using pod networking. Updates: #8085 Signed-off-by: Rakshith R --- pkg/operator/ceph/csi/csi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/operator/ceph/csi/csi.go b/pkg/operator/ceph/csi/csi.go index 3703a35f1..e8430fe6e 100644 --- a/pkg/operator/ceph/csi/csi.go +++ b/pkg/operator/ceph/csi/csi.go @@ -92,7 +92,7 @@ func SetParams(clientset kubernetes.Interface) error { return errors.Wrap(err, "unable to parse value for 'ROOK_CSI_ENABLE_GRPC_METRICS'") } - csiEnableCSIHostNetwork, err := k8sutil.GetOperatorSetting(clientset, controllerutil.OperatorSettingConfigMapName, "CSI_ENABLE_HOST_NETWORK", "false") + csiEnableCSIHostNetwork, err := k8sutil.GetOperatorSetting(clientset, controllerutil.OperatorSettingConfigMapName, "CSI_ENABLE_HOST_NETWORK", "true") if err != nil { return errors.Wrap(err, "failed to determine if CSI Host Network is enabled") }