Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-48262

LSO : Local volume set fails to provision the NVMe partitioned Disk

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          LSO Local volume set and Local Volume discovery fails to provision or detect the NVMe partitioned disk on 4.18 OCP on s390x

      Version-Release number of selected component (if applicable):

      CoreOS Version : 418.94.202412172234-0
      OCP Build Version: 4.18.0-rc.3

      How reproducible:

          Always

      Steps to Reproduce:

          1. Deploy SNO Cluster & configure nvme data disk and partition it with filesystem ext4 or xfs 
          2. Install LSO and create localvolumediscovery & create LocalVolumeSet with ext4 or xfs filesystem
          3. nvme partitioned disk pv is not created. 
          
          FYI 
      After localvolumediscovery the disk is not available in node disk information
      PV is getting created using kind Localvolume 
      
      

      Actual results:

          PV is not getting created for nvme partitioned disk

      Expected results:

          PV should be created for nvme partitioned disk.

      Additional info:

      oc get clusterserviceversion
      NAME                                          DISPLAY         VERSION               REPLACES   PHASE
      local-storage-operator.v4.18.0-202411251705   Local Storage   4.18.0-202411251705              Succeeded
      [root@nvme-bastion ~]# la
      Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+
      NAME                                          READY   STATUS    RESTARTS   AGE
      pod/diskmaker-discovery-7jftv                 2/2     Running   0          25h
      pod/diskmaker-manager-xf8fl                   2/2     Running   0          25h
      pod/local-storage-operator-84bc95f57d-t2p9c   1/1     Running   0          25h
      
      NAME                                      TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE
      service/local-storage-discovery-metrics   ClusterIP   172.30.136.146   <none>        8383/TCP   25h
      service/local-storage-diskmaker-metrics   ClusterIP   172.30.49.95     <none>        8383/TCP   25h
      
      NAME                                 DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
      daemonset.apps/diskmaker-discovery   1         1         1       1            1           <none>          25h
      daemonset.apps/diskmaker-manager     1         1         1       1            1           <none>          25h
      
      NAME                                     READY   UP-TO-DATE   AVAILABLE   AGE
      deployment.apps/local-storage-operator   1/1     1            1           25h
      
      NAME                                                DESIRED   CURRENT   READY   AGE
      replicaset.apps/local-storage-operator-84bc95f57d   1         1         1       25h
      
      oc logs -f pod/local-storage-operator-7cf7d5f7cc-mvps5
      I0109 05:41:56.977769       1 localvolumeset_controller.go:69] "Reconciling LocalVolumeSet" namespace="openshift-local-storage" name="local-lvs"I0109 05:41:56.985613       1 localvolumeset_controller.go:103] updating statusE0109 05:41:56.993365       1 status.go:125] "failed to update localvolumeset condition" err="Operation cannot be fulfilled on localvolumesets.local.storage.openshift.io \"local-lvs\": the object has been modified; please apply your changes to the latest version and try again" conditionType="Available" conditionStatus="True" conditionMessage="Operator reconciled successfully."2025-01-09T05:41:56.993Z        ERROR   controller/controller.go:329    Reconciler error        {"controller": "localvolumeset", "controllerGroup": "local.storage.openshift.io", "controllerKind": "LocalVolumeSet", "LocalVolumeSet": {"name":"local-lvs","namespace":"openshift-local-storage"}, "namespace": "openshift-local-storage", "name": "local-lvs", "reconcileID": "b100d989-51ef-4986-a778-6c014195b6e5", "error": "Operation cannot be fulfilled on localvolumesets.local.storage.openshift.io \"local-lvs\": the object has been modified; please apply your changes to the latest version and try again"}sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler        /go/src/github.com/openshift/local-storage-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem        /go/src/github.com/openshift/local-storage-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2        /go/src/github.com/openshift/local-storage-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227
      

      localvolumediscovery error

      2025-01-09T06:02:40.543Z INFO controller/controller.go:327 Warning: Reconciler returned both a non-zero result and a non-nil error. The result will always be ignored if the error is non-nil and the non-nil error causes reqeueuing with exponential backoff. For more details, see: https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/reconcile#Reconciler \{"controller": "localvolumediscovery", "controllerGroup": "local.storage.openshift.io", "controllerKind": "LocalVolumeDiscovery", "LocalVolumeDiscovery": {"name":"auto-discover-devices","namespace":"openshift-local-storage"}, "namespace": "openshift-local-storage", "name": "auto-discover-devices", "reconcileID": "071b7c0e-aac4-44ed-806e-98b2864e3f47"}
      2025-01-09T06:02:40.543Z ERROR controller/controller.go:329 Reconciler error \{"controller": "localvolumediscovery", "controllerGroup": "local.storage.openshift.io", "controllerKind": "LocalVolumeDiscovery", "LocalVolumeDiscovery": {"name":"auto-discover-devices","namespace":"openshift-local-storage"}, "namespace": "openshift-local-storage", "name": "auto-discover-devices", "reconcileID": "071b7c0e-aac4-44ed-806e-98b2864e3f47", "error": "no discovery daemons are scheduled for running"}
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
      /go/src/github.com/openshift/local-storage-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      /go/src/github.com/openshift/local-storage-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
      /go/src/github.com/openshift/local-storage-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227

              apuranda Amrut Purandare
              apuranda Amrut Purandare
              Doug Slavens Doug Slavens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: