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

Reference configuration for LocalVolume uses inconsistent path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Major
    • None
    • 4.13.0
    • GitOps ZTP
    • None
    • No
    • CNF RAN Sprint 237, CNF RAN Sprint 238, CNF RAN Sprint 239, CNF RAN Sprint 240
    • 4
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      The reference configuration for LocalVolume uses /dev/sdX paths for the disks. Starting in RHEL9 the enumeration of scsi devices is non-deterministic in most cases leading to inconsistent mapping of drive to /dev/sdX device nodes.
      
      The reference configuration needs to be updated to use /dev/disk/by-path/.... references. Corresponding updates in documentation should also be made.
      
      https://github.com/openshift-kni/cnf-features-deploy/blob/master/ztp/source-crs/StorageLV.yaml#L18
      https://github.com/openshift-kni/cnf-features-deploy/blob/master/ztp/gitops-subscriptions/argocd/example/policygentemplates/group-du-sno-ranGen.yaml#L87-L100
      
      

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

      All

      How reproducible:

      100%

      Steps to Reproduce:

      1. 
      2.
      3.
      

      Actual results:

              - storageClassName: "example-storage-class-1"
                volumeMode: Filesystem
                fsType: xfs
                devicePaths:
                - /dev/sdb1

      Expected results:

              - storageClassName: "example-storage-class-1"
                volumeMode: Filesystem
                fsType: xfs
                devicePaths:
                - /dev/disk/by-path/pci-0000:03:00.0-nvme-1 

      Additional info:

       

      Attachments

        Activity

          People

            angwang@redhat.com Angie Wang
            rhn-support-imiller Ian Miller
            Periyamaruthu Mohanraj Periyamaruthu Mohanraj
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: