iscsi boot fails to boot into rootfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned |
Bug Description
iscsi boot fails to boot into rootfs, due to iscsi root disk is not available in time and mount root fails.
After add 10 secs delay, it can boot into iscsi root disk successfully. It seems that 'udevadm settle' is not enough to wait for iscsi disk is available.
--- a/debian/
+++ b/debian/
@@ -312,6 +312,7 @@ udevadm settle
# initramfs scripts, but our loop that scans /proc/cmdline will still detect
# the former and set proper parameters.
if [ -n "$ISCSI_HAD_ROOT" ] && [ x"${ROOT##iscsi:}" != x"${ROOT}" ] ; then
+ sleep 10 # wait for iscsi disk is available"
if [ -z "$ISCSI_ROOT_LUN" ] ; then
fi
grub.cfg
--------
menuentry "boot_iscsi" {
linux f5d8200d-
initrd f5d8200d-
}
Software
--------
stack@j12-
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
stack@j12-
Linux j12-d05-07 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
open-iscsi/
iSCSI initiator tools
description: | updated |
description: | updated |
description: | updated |
Changed in open-iscsi (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Rafael David Tinoco (rafaeldtinoco) |
tags: | added: server-next |
Changed in open-iscsi (Ubuntu Focal): | |
status: | New → Triaged |
Changed in open-iscsi (Ubuntu): | |
assignee: | Rafael David Tinoco (rafaeldtinoco) → nobody |
Hi @xinliang,
First of all, thanks for taking the time to file this bug and trying to make Ubuntu better.
Are you still able to reproduce this issue? It was reported more than a year ago now and it does not seem to be affecting other people. If your answer is yes, could you please help us to define a reproducer (detailed steps) to this bug? For instance, mentioning anything you might have customized in your config files or if you have a special setup.
The definition of a reproducer would be the next step to make this bug actually actionable, and it would allow someone investigate what is happening.