[Bug 1066945] Re: iSCSI root fails: open-iscsi tries to configure networking prior to network devices being detected

Launchpad Bug Tracker 1066945 at bugs.launchpad.net
Wed Oct 17 15:15:17 UTC 2012


This bug was fixed in the package open-iscsi - 2.0.873-3ubuntu5

---------------
open-iscsi (2.0.873-3ubuntu5) quantal-proposed; urgency=low

  * Ensure all udev events have been processed before trying to configure
    iscsi networking in the initramfs (LP: #1066945):
    - debian/extra/initramfs.local-top: Restore wait_for_udev call before
      configure_networking to ensure network devices are present.
 -- James Page <james.page at ubuntu.com>   Wed, 17 Oct 2012 12:37:43 +0100

** Changed in: open-iscsi (Ubuntu Quantal)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1066945

Title:
  iSCSI root fails: open-iscsi tries to configure networking prior to
  network devices being detected

Status in “open-iscsi” package in Ubuntu:
  Fix Released
Status in “open-iscsi” source package in Quantal:
  Fix Released

Bug description:
  Testing on Quantal Final RC's

  installing iso to iscsi root fails to boot, and is stuck in bootloader
  (busybox initramfs shell)

  Last screen output is:

  
  Begin: Running /scripts/init-premount ... done.
  Begin: Mounting root file system ... Begin: Running /scripts/local-top ... ipconfig: no devices to configure
  ipconfig: no devices to configure
  ipconfig: no devices to configure
  ipconfig: no devices to configure
  ipconfig: no devices to configure
  ipconfig: no devices to configure
  ipconfig: no devices to configure
  ipconfig: no devices to configure
  /scripts/local-top/iscsi: .: line 505: can't open '/run/net-*.conf'
  done.
  [   2.260189] e1000: Intel(R) Pro/1000
  [   2.287678] Floppy drive(s): fd0 is 1.44M
  [   2.302014] FDC 0 is a post-1991 82077
  [   2.389848] eth0 NIC Link is Up 1000Mbps
  Gave up waiting for root device.  Common problems:
   - Boot args (cat /proc/cmdline)
    - Check rootdelay=
    - Check root=
   - Missing modules (cat /proc/modules)
  ALERT! /dev/disk/by-uuid/bbc5a7be-...... does not exist.
  Dropping to a shell!

  
  Used to be, to work around this issue, I could just run /scripts/local-top/iscsi manually, since the nic seems to get setup AFTER the local-top scripts run, but that isn't working anymore, instead I get the below:

  IP-Config: eth0 hardware address .......
  IP-Config: eth0 complete (dhcp from 192.168.x.x):
    address: 192.168.x.x  broadcast: 192.168.x.x   netmask: 255.255.255.0
    gateway: 192.168.x.x   dns0: 192.168.x.x   dns1: 192.168.x.x
    domain: xxx
    rootserver: 192.168.x.x rootpath:
  [ 168.204516] Loading iSCSI transport class v2.0-087.
  [ 168.212114] iscsi: registered transport (tcp)
  iscsistart: TargetName not set. Exiting iscsistart

  iscsistart: TargetName not set. Exiting iscsistart

  (initramfs)

  I have also check /etc/iscsi.initramfs and /etc/initiatorname.iscsi
  and the settings in there are good.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1066945/+subscriptions




More information about the foundations-bugs mailing list