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

FC persistent volume definition is wrong with additional scsi- prefix

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.13, 4.12, 4.11.z, 4.10.z, 4.9.z, 4.8.z, 4.6.z, 4.14, 4.15, 4.16, 4.17
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      THe FC persistent volume definition example in the documentation has an additional scsi- prefix which won't let the PV to be created with the message: fc: failed to find a disk / no fc disk found

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

      OCP 4.6 and above

      How reproducible:

      All the time

      Steps to Reproduce:

          1. Use the example from https://docs.openshift.com/container-platform/4.17/storage/persistent_storage/persistent-storage-fibre.html#provisioning-fibre_persistent-storage-fibre to create a FC PV
          

      Actual results:

      PV won't be consumable , pod cannot start and remains in ContainerCreating

      Expected results:

      Pod starts with the required FC PV

      Additional info:

      Code in https://github.com/openshift/kubernetes/blob/master/pkg/volume/fc/fc_util.go#L94 already adds the `scsi-` prefix.
      
      We need to remove the prefix from the example in the documentation

              lpettyjo@redhat.com Lisa Pettyjohn
              rhn-support-jcoscia Javier Coscia
              None
              None
              Wei Duan Wei Duan
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: