Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15483

iscsi exercises can't find /dev/sdb in ILT

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • RH358 - RH358-RHEL9.4-en-1-20250318
    • RH358
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL:  
      Reporter RHNID:  
      Section Title:                                                                        

      Issue description

      Running on top of both RHEL9 and RHEL10 versions of foundation, the RH358-RHEL9.4-1.r2025041016-ILT+RAV-7-en_US.icmf manifest deploys serverd (and other VMs) using the virtio storage driver, which creates device names like /dev/vdb. In ROLE, the same servers are using SCSI and have device names like /dev/sdb.

      The problem is that the iscsi lab scripts like iscsi-initiator expect for /dev/sdb to exist on serverd, and will not work with the virtio driver.

      Steps to reproduce:

      Build in ILT and run "lab install -u AU0013L && lab start iscsi-initiator", the script fails. This works correctly in the online environment so do not attempt to reproduce it there.

      Workaround:

      For some of the exercises it's possible to resolve this simply by making a symlink from /dev/sdb to /dev/vdb. The storage role does not like that solution so it doesn't fix everything.

      Expected result:

      Lab script should succeed rather than failing.

              rhn-gps--tmichett Travis Michette
              timothyalvin Timothy Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: