initramfs built during install does not contain a valid iscsi initiator name

Bug #1057635 reported by James Page on 2012-09-27
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
High
James Page
Quantal
High
James Page

Bug Description

Detected during beta-2 testing.

My test rig uses iPXE to boot directly from the iSCSI root volume; The install succeed OK, iPXE boots the device, GRUB appears and then initramfs stops with:

iscsistart: No target set

see attached screenshot for more details

This testing framework worked fine during beta1 testing.

James Page (james-page) wrote :
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1057635

tags: added: iso-testing
Scott Moser (smoser) wrote :

I think this is a dupe of bug 1050523.
In short, quantal version of open-iscsi requires you to set 'iscsi_initiator' on the kernel cmdline (or set in /etc/iscsi/iscsi.initramfs before the initramfs is built).

Dave Gilbert (ubuntu-treblig) wrote :

and possibly bug 1047998

(although my failure messages look different - mine looks more like it's trying to bring up iscsi before the networking)

James Page (james-page) wrote :

I can work around this by manually editing the boot command line to include iscsi_initiator - however I think that this should probably be setup automatically during the install process.

James Page (james-page) wrote :

I think this is a regression in the behaviour of open-iscsi; during install the /etc/iscsi/initatorname.iscsi is populated with a 'default' one which simple has 'Generated=Yes' in it; it actually gets generated on first start of open-iscsi - which does not happen until after first boot. Hence the initramfs generated during install does not have an initiatorname set - and it fails to boot.

Forcing a manual boot by providing a kernel boot option and then updating the initramfs fixes the issue.

Prior to quantal Ubuntu was holding a delta over Debian which switched this to be generated on install which ensured that the initramfs built during install contained the correct information.

Changed in ubuntu:
importance: Undecided → High
summary: - initramfs does not use iscsiroot device presented by ipxe
+ initramfs built during install does not contain a valid iscsi initiator
+ name
James Page (james-page) wrote :

A fix was released into quantal and is now on the ISO images.

Dave Gilbert (ubuntu-treblig) wrote :

Thanks James, I can confirm this is now working.

It's a bit chatty during the boot, I get lots of messages from IP-Config moaning about no response after a few seconds
for the networking config, and after a few seconds it recovers and gets on with it. (This is still a kvm guest).

Anyway, thanks again!

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

Other bug subscribers