installer does not support iSCSI iBFT
Bug Description
[Impact]
* It's not possible to access iBFT (iSCSI Boot Firmware Table) information
(settings for network interface, initiator, and target) in the installer
because the 'iscsi_ibft' module is not present in udeb packages.
* Even if it was, the installer does not handle iBFT information at all,
thus any settings are ignored, and iSCSI-related configuration has to
be done manually or with workarounds.
* This impacts user-experience and automatic installation on systems and
deployments which actually do provide the iBFT feature and information,
but cannot use it practically.
* With proper iBFT support in the installer (kernel module in udeb package
and automatic iSCSI-related configuration) users will be able to rely on
iBFT to install/deploy Ubuntu on their servers and datacenters.
* These fixes add the 'iscsi_ibft' kernel module in the scsi-modules udeb,
and configure network/iSCSI according to iBFT information in disk-detect.
This is done in disk-detect so that the iSCSI LUNs are detected as disks
(useful in case of no other disks in the system so the installer doesn't
complain nor wait too long) and that any partman-related preseed options
are not required and may be still available for the user.
[Test Case]
* linux package / kernel module in udeb:
$ dpkg-deb -c scsi-modules_*.udeb | grep iscsi_ibft.ko
Check the module loads in the installer environment.
See comment with example for disco.
* d-i/hw-
See comments 11, 12, 13.
[Regression Potential]
* linux package: low, the kernel module is not loaded by default,
and only checks whether iBFT information is present in firmware,
then exposes that in sysfs in read-only mode.
* d-i/hw-
- d-i: kernel version update to include iscsi_ibft module,
based on kernel released to -updates plus one week
Tested on amd64/i386/
on baremetal -- see comment 11.
- hw-detect: low, the changes are enabled by a preseed option.
see comment 12.
- partman-iscsi: low, simple changes, plus one fix that has
[Other Info]
* This has been verified both by the developer with a simple iSCSI
iBFT environment (2 VMs: iSCSI target & initiator with UEFI+iPXE)
and by an user with system/firmware that supports iBFT for iSCSI.
Related branches
- Doug Smythies: Approve
-
Diff: 40 lines (+22/-1)1 file modifiedserverguide/C/installation.xml (+22/-1)
Changed in linux (Ubuntu Cosmic): | |
status: | New → In Progress |
Changed in linux (Ubuntu Disco): | |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux (Ubuntu Disco): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Cosmic): | |
status: | In Progress → Fix Committed |
description: | updated |
description: | updated |
description: | updated |
Changed in debian-installer (Ubuntu Bionic): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
Changed in debian-installer (Ubuntu Cosmic): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
Changed in debian-installer (Ubuntu Disco): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
Changed in debian-installer (Ubuntu Eoan): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
Changed in partman-iscsi (Ubuntu Bionic): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
status: | New → Confirmed |
Changed in partman-iscsi (Ubuntu Cosmic): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
status: | New → Confirmed |
Changed in partman-iscsi (Ubuntu Disco): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
status: | New → Confirmed |
Changed in partman-iscsi (Ubuntu Eoan): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
status: | New → Confirmed |
Changed in hw-detect (Ubuntu Bionic): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
status: | New → Confirmed |
Changed in hw-detect (Ubuntu Cosmic): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
status: | New → Confirmed |
Changed in hw-detect (Ubuntu Disco): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
status: | New → Confirmed |
Changed in hw-detect (Ubuntu Eoan): | |
assignee: | nobody → Mauricio Faria de Oliveira (mfo) |
status: | New → Confirmed |
Changed in debian-installer (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in debian-installer (Ubuntu Cosmic): | |
status: | New → Confirmed |
Changed in debian-installer (Ubuntu Disco): | |
status: | New → Confirmed |
Changed in debian-installer (Ubuntu Eoan): | |
status: | New → Confirmed |
Changed in partman-iscsi (Ubuntu Eoan): | |
status: | Confirmed → In Progress |
importance: | Undecided → Medium |
Changed in hw-detect (Ubuntu Eoan): | |
importance: | Undecided → Medium |
status: | Confirmed → In Progress |
Changed in debian-installer (Ubuntu Eoan): | |
status: | Confirmed → In Progress |
Changed in partman-iscsi (Ubuntu Eoan): | |
status: | Fix Committed → Fix Released |
tags: | added: sts-sponsor |
tags: | added: sts-sponsor-ddstreet |
tags: | removed: sts-sponsor-ddstreet |
tags: | added: sts-sponsor-ddstreet |
tags: |
added: sts-sponsor-slashd removed: sts-sponsor-ddstreet |
tags: |
added: sts removed: sts-sponsor sts-sponsor-slashd |
Test for scsi-modules udeb in Disco:
---
Check the original/modified udeb contents:
$ dpkg-deb -c scsi-modules- 4.19.0- 13-generic- di_4.19. 0-13.14_ amd64.udeb | grep iscsi_ibft.ko
$
$ dpkg-deb -c scsi-modules- 4.19.0- 13-generic- di_4.19. 0-13.14+ test20190221b1_ amd64.udeb | grep iscsi_ibft.ko 4.19.0- 13-generic/ kernel/ drivers/ firmware/ iscsi_ibft. ko
-rw-r--r-- root/root 17393 2019-02-21 19:27 ./lib/modules/
Check the module loads in the installer:
$ wget http:// archive. ubuntu. com/ubuntu/ dists/disco/ main/installer- amd64/current/ images/ netboot/ ubuntu- installer/ amd64/{linux,initrd.gz}
$ virt-install \ linux,initrd= initrd. gz,kernel_ args='console= ttyS0'
> --name disco-ibft \
> --vcpus 2 \
> --memory 1024 \
> --network user,model=virtio \
> --graphics none \
> --disk none \
> --boot kernel=
After network configuration, udeb download/install, in users/password, select go back and exit to shell.
Original udeb already downloaded and does not contain module:
~ # grep 'retrieving scsi.modules' /var/log/syslog 4.19.0- 13-generic- di 4.19.0-13.14
Feb 22 13:08:57 anna[1509]: DEBUG: retrieving scsi-modules-
~ # modinfo -n iscsi_ibft
modinfo: ERROR: Module iscsi_ibft not found.
Download modified udeb, install, test module load:
~ # wget https:/ /.../scsi- modules- 4.19.0- 13-generic- di_4.19. 0-13.14+ test20190221b1_ amd64.udeb
~ # udpkg -i scsi-modules- 4.19.0- 13-generic- di_4.19. 0-13.14+ test20190221b1_ amd64.udeb
~ # depmod -a
~ # modinfo -n iscsi_ibft 4.19.0- 13-generic/ kernel/ drivers/ firmware/ iscsi_ibft. ko
/lib/modules/
~ # modprobe iscsi_ibft
~ # lsmod | grep ^iscsi_ibft
iscsi_ibft 16384 0