From continue investigate on it, we found the root cause is that installer in Ubuntu can not sync the iscsi IQN name (iscsi qualified name) defined in UEFI to OS /etc/iscsi/initiatorname.iscsi via iscsi iBFT (iscsi boot firmware table), even we add dracut parameter "rd.driver.pre=iscsi_ibft rd.iscsi.firmware=1 rd.iscsi.ibft=1 rd.iscsi.initiator=iqn.1986-03.com.example:lql rd.iscsi.param=node.startup=automatic"
Ubuntu can detect the remote iscsi disk, If we overwrite the default line in /etc/iscsi/initiaorname.iscsi to "InitiatorName=iqn.1986-03.com.example:lql" manually and restart iscsid and open-iscsi service. Note: the string "iqn.1986-03.com.example:lql" is the name defined in UEFI for iscsi target lun. But after install OS to remote iscsi disk, we can not boot up from the installed OS, because initrd doesn't include iscsi drivers (libiscsi, scsi_transport_iscsi, iscsi_tcp, libiscsi_tcp) and services open-iscsi and iscsid and their needed utilities, like iscsiadm, iscsid. So I was just wondering of Canonical experts if Ubuntu support iscsi installation or not? ** Information type changed from Private Security to Public Security -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2060924 Title: [Lenovo Ubuntu 24.04 Bug] Can not detect iscsi disk storage and kernel show " detected conn error (1020)" Status in linux package in Ubuntu: New Bug description: Description: When installing Ubuntu 24.04 in remote iscsi storage disk, the installer can not detect the remote iscsi storage. After install Ubuntu 24.04 to a local disk and boot up to OS, the OS can not detect the remote iscsi disk either. Reproduce Steps: 1. Install Ubunut 24.04 2. Boot into OS 3. perform command lsblk check remote disk, there isn't one appeared. Configuration: System: Lenovo SR655V3 OS:noble-live-server-amd64-0401.iso BMC Version :2.30 (Build ID: KAX321V) UEFI Version:3.10 (Build ID: KAE115K) CPU:Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz*2 M321R2GA3BB6-CQKMG*8 NIC adapter: Mellanox ConnectX-6 Lx 10/25GbE SFP28 2-port PCIe Ethernet Adapte storage:Lenovo D7000 or Lenovo V7000 Expected results: OS can recognize the remote iscsi disk Actual results: OS cannot recognize the remote iscsi disk. Additional info: 1. Ubuntu 22.04 also have this issue, But RHEL9.4 hasn't. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060924/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp