iscsi root: iscsi not started in initramfs

Bug #1047998 reported by Dave Gilbert
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Medium
Unassigned
partman-iscsi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu server daily disk; 20120908 (amd64)

I have a kvm guest which is diskless, I've done an install (off CD image) onto an iscsi disk (that's provided by another VM running tgt).
But it won't boot after install (maybe related to 881388?)
(Host is Quantal as of today but with 3.5.2-030502 to get around bug 1045027)

The install goes apparently fine; I tell it the IP of the target, pick the (only) target, and there's no auth.
I just pick openssh-server as the only item of task to install.

I boot, bring up iPXE's command prompt (with ctrl-b) and enter:
dhcp net0
sanboot iscsi:192.168.122.10:::1:iqn.2008-09.com.example:server1.share1

and it brings up grub and starts to boot and eventually lands at the initramfs prompt saying it can't find the root volume.

Using rescue mode I can see a lot of

ipconfig: no devices to configure
and
/scripts/local-top/iscsi: .: line 505: can't open '/run/net-*.conf'
(it's right there isn't any)
and *then* I see the messages about the networking coming up and finding a link.

If I manually ifconfig the interface and run /scripts/local-top/iscsi it brings it up and I can continue the boot and it boots OK.

This happens with the network interface configured as e1000 and hypervisor default (8139 something)

I'll attach the VM config from the host.

Dave

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

Moving to partman-iscsi for now as my initial guess is that the configuration created by the installer is wrong, but it's also possible that this needs to be fixed in open-iscsi.

affects: debian-installer (Ubuntu) → partman-iscsi (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in partman-iscsi (Ubuntu):
status: New → Confirmed
Revision history for this message
Nick Maslov (azpekt) wrote :

Hi,

I`m having the same issue. After manually (or via GRUB parameters) setting up the IP, I need to run the iscsi script again to continue the booting process.

Anyone have any luck dealing with it?

Regards,
NM

description: updated
Revision history for this message
Mike Pontillo (mpontillo) wrote :

I dusted off an old [x86 32-bit] laptop with an e100 card and observed this issue in conjunction with MAAS 1.9.

Oddly enough, when I auto-enlist the node for the first time, I see this bug. But commissioning and deployment work perfectly.

Revision history for this message
Mike Pontillo (mpontillo) wrote :

(Note: I saw this with each of the Trusty, Utopic, and Vivid kernels.)

affects: partman-iscsi → maas
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi!

**This is an automated message**

We believe this is no longer an issue in the latest MAAS releases. As such, we are marking this bug report as invalid. If you believe this is still an issue, please re-open this bug report.

Thanks

Changed in maas:
status: Triaged → Invalid
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.