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

Colin Watson cjwatson at canonical.com
Wed Oct 17 12:08:09 UTC 2012


** Changed in: open-iscsi (Ubuntu Quantal)
    Milestone: None => ubuntu-12.10

-- 
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:
  In Progress
Status in “open-iscsi” source package in Quantal:
  In Progress

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