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

Stop LSO from picking up RBD devices

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          We've seen a recent trend where LSO is auto-discovering RBD devices in OCP clusters that have Openshift virtualization installed:
      
      
      [bmcmurra@supportshell-1 04066666]$ omc get pv | grep virt | grep 240
      pvc-a75e88f7-d2f9-49a6-ade0-3875819c2063   240Gi      RWX            Delete           Bound      linux-dev-vms/varhdv242-vm-537832-hwl7q                                                   ocs-storagecluster-ceph-rbd-virtualization   <unset>                          23d
      pvc-e572aaca-e658-4e7d-b226-ed2986c5cdfc   240Gi      RWX            Delete           Bound      linux-dev-vms/varhdv239-vm-537828-zmntp                                                   ocs-storagecluster-ceph-rbd-virtualization   <unset>       
      
      
      
      [bmcmurra@supportshell-1 04066666]$ omc get pv | grep local | grep 240
      local-pv-f6253c82                          240Gi      RWO            Delete           Bound      openshift-storage/ocs-deviceset-local-volume-sc-0-data-11nq8k4                            local-volume-sc   
      
           
      
      This regularly results in ODF placing osds on rbd block devices. Can we enable a way to prevent LSO from auto-discovering all RBD devices?

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

          ODF 4.x/OCP 4.x/Openshift Virtualization 

      How reproducible:

       

      Steps to Reproduce:

       1. Install an OCP cluster with Openshift Virtualization, LSO 
      2. Deploy a few virtual machines with the "ocs-storagecluster-ceph-rbd-virtualization" storage class 
      3. See if new LSO PVs are provisioned using the rbd storage devices being consumed by the virtunalmachines

      Actual results:

       LSO auto-discovers ODF rbd devices

      Expected results:

      LSO ignores ODF rbd devices

      Additional info:

          

              jdobson@redhat.com Jonathan Dobson
              rhn-support-bmcmurra Brandon McMurray
              None
              None
              Wei Duan Wei Duan
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: