install to iSCSI target does not pick up iSCSI parameters from iBFT

Bug #623462 reported by Roger Mach
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Linux
New
Undecided
Unassigned
partman-iscsi (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: base-installer

Installing 10.04.1 server to iSCSI target on a machine with BIOS iSCSI initiator support (IBM HX5 blade), the installer prompts for iSCSI parameters (initiator ID, target ID, etc) even though those parameters are available in the iBFT table. Other linux distros pick up this information automatically,

Tags: patch
Colin Watson (cjwatson)
affects: base-installer (Ubuntu) → partman-iscsi (Ubuntu)
Changed in partman-iscsi (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Floris (bos) wrote :

As a workaround I was trying to add a simple pre-installation script to our (kickstart) installation along the lines of:

==
modprobe iscsi_ibft

if [ -e /sys/firmware/ibft/target0/target-name ]; then

  modprobe iscsi_tcp
  iscsid

  iscsiadm -m node -o new -T `cat /sys/firmware/ibft/target0/target-name` -p `cat /sys/firmware/ibft/target0/ip-addr`:`cat /sys/firmware/ibft/target0/port`
  iscsiadm -m node -l

fi
==

But found out that doesn't work either, because the iscsi_ibft module is not present in the installation environment.

Could this module please be added?

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "linux-2-6-38-module-list.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Josef Möllers (josef-moellers) wrote :

Apart from the suggested addition of iscsi_ibft, IMHO there is some code required to actually use that information.
I humbly offer the attached patch to use the information provided by the ibft to set up the iSCSI interface.

It is not perfect, though, because if /sys/firmware/ibft/ethernet0/dhcp is not "0.0.0.0", dhclient3 would need to be started as well so the lease would be refreshed.

Adding iscsi_ibft and this patch caused my BX924 blade server to boot Ubuntu Server 12.04.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.