Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-58827

RHEL-10: Storage devices activated by kickstart commands (iscsi, zfcp, fcoe?) cannot be used by "ignoredisk"

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.1
    • rhel-10.0.beta
    • anaconda
    • rhel-sst-installer
    • ssg_front_door
    • 2
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Known Issue
    • Hide
      .Kickstart installation fails with an unknown disk error when 'ignoredisk' command precedes 'iscsi' command

      Installing RHEL by using the kickstart method fails if the `ignoredisk` command is placed before the `iscsi` command. This issue occurs because the `iscsi` command attaches the specified iSCSI device during command parsing, while the `ignoredisk` command resolves device specifications simultaneously. If the `ignoredisk` command references an iSCSI device name before it is attached by the `iscsi` command, the installation fails with an "unknown disk" error.

      As a workaround, ensure that the `iscsi` command is placed before the `ignoredisk` command in the Kickstart file to reference the iSCSI disk and enable successful installation.
      Show
      .Kickstart installation fails with an unknown disk error when 'ignoredisk' command precedes 'iscsi' command Installing RHEL by using the kickstart method fails if the `ignoredisk` command is placed before the `iscsi` command. This issue occurs because the `iscsi` command attaches the specified iSCSI device during command parsing, while the `ignoredisk` command resolves device specifications simultaneously. If the `ignoredisk` command references an iSCSI device name before it is attached by the `iscsi` command, the installation fails with an "unknown disk" error. As a workaround, ensure that the `iscsi` command is placed before the `ignoredisk` command in the Kickstart file to reference the iSCSI disk and enable successful installation.
    • Done
    • None

      What were you trying to do that didn't work?

      Installing a iSCSI system with a kickstart specifying a iSCSI Initiator Name fails because it's not taken into account:

      iscsiname iqn.1994-05.com.redhat:5634dd137c53
      iscsi --target=iqn.2019-07.com.p1:tgt0 --ipaddr=192.168.122.1 

      Result:

      [anaconda root@localhost ~]# cat /etc/iscsi/initiatorname.iscsi 
      InitiatorName=iqn.1994-05.com.redhat:20195e511bb 

      Please provide the package NVR for which bug is seen:

      RHEL8.8 and RHEL9.2 anaconda

      How reproducible:

      Always

      Steps to reproduce

      1. Boot the system with attached kickstart ("iscsi8.ks") while DVD is inserted

      Expected results

      iSCSI getting configured properly

      Actual results

      Failure to find the disk due to generated iSCSI initiator

        1. iscsi8.ks
          2 kB
        2. logs.tar
          260 kB

              rvykydal@redhat.com Radek Vykydal
              rhn-support-rmetrich Renaud Métrich
              anaconda-maint-list anaconda-maint-list
              Release Test Team Release Test Team
              Sagar Dubewar Sagar Dubewar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: