iscsi root with or without auth fails to boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Natty |
Fix Released
|
High
|
Colin Watson | ||
Oneiric |
Fix Released
|
High
|
Colin Watson |
Bug Description
Stable release update justification:
IMPACT: Some systems with their root file system on iSCSI fail to boot.
DEVELOPMENT BRANCH: open-iscsi 2.0.871-0ubuntu6 fixes this bug as described in comment 15.
PATCH: http://
TEST CASE: Only some iSCSI-based systems suffer from this; I expect there are race conditions involved. Those affected would fail to boot in some manner similar to that described later in this bug description, and this change should make them boot successfully.
REGRESSION POTENTIAL: Strictly confined to systems using iSCSI. I tried hard not to make any additional assumptions in this patch; if it works, it should be safe.
Original report follows:
Natty alpha3 test iso's for ubuntu-server amd64 (haven't tested i386 yet).
Running the iscsi auth and unauth tests.
Installation is fine. Before reboot, I copy vmlinuz and initrd.img to tftp server.
System boots ok, till it gets past apparmor, then it has issues, I assume something with bringing up networking is wiping out the iscsi config?
Screen shows:
fsck version ......
/dev/sda1 clean, 52412,491526 files 262116/1965824 blocks
* Starting AppArmor profiles [ OK ]
(long pause)
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 8653696
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 8653696
/proc/self/fd/10: 30: telinit: Input/output error
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 838656
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 838656
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 352768
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 352768
[ 130.xxxxxx] EXT4-fs error (device sda1) in ext4_reserve_
[ 130.xxxxxx] EXT4-fs (sda1): previous I/O error to superblock detected
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 2048
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 4724736
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 291584
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 8669024
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 8669024
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 8669024
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 1305064
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 1305064
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 1305064
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 1300856
[ 130.xxxxxx] end_request: I/O error, dev sda, sector 1300856
tags: | added: iso-testing |
Changed in debian-installer (Ubuntu Natty): | |
importance: | Undecided → High |
Changed in debian-installer (Ubuntu Natty): | |
assignee: | nobody → Ubuntu Server Team (ubuntu-server) |
tags: | added: server-nro |
Changed in debian-installer (Ubuntu Natty): | |
assignee: | Ubuntu Server Team (ubuntu-server) → Canonical Foundations Team (canonical-foundations) |
Changed in debian-installer (Ubuntu Natty): | |
assignee: | Canonical Foundations Team (canonical-foundations) → Colin Watson (cjwatson) |
Changed in debian-installer (Ubuntu Natty): | |
status: | Confirmed → Incomplete |
Changed in debian-installer (Ubuntu Natty): | |
status: | Incomplete → Confirmed |
summary: |
- iscsi root (amd64) with or without auth fails to boot + iscsi root with or without auth fails to boot |
Changed in debian-installer (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
Changed in open-iscsi (Ubuntu Natty): | |
status: | Triaged → In Progress |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
I installed again, but with sshd loaded, just to test.
sshd is running, and attempts to log me in, but fails checking my password (hard without a disk)
and /etc/network/ interfaces contains
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual