[2.5] iSCSI systemd services fails and blocks for 1 min 30 seconds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned | ||
cloud-images |
Fix Released
|
Critical
|
Unassigned | ||
cloud-initramfs-tools (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Scott Moser | ||
Bionic |
Fix Released
|
High
|
Scott Moser | ||
Cosmic |
Fix Released
|
High
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned | ||
open-iscsi (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Xenial |
Invalid
|
Low
|
Unassigned | ||
Bionic |
Invalid
|
Low
|
Unassigned | ||
Cosmic |
Invalid
|
Low
|
Unassigned |
Bug Description
[Impact]
* Affects environments where the base image is read-only but kernel modules are copied from the initramfs to the real root via cloud-initramfs
* This affects users of our stable release images available from http://
* The attached fixes ensure /lib/modules always exists by creating it explicitly instead of relying on it to come from a package.
[Test Case]
* Download http://
* Unpack it via `sudo unsquashfs bionic-
* Inspect the unpacked root filesystem and find that '/lib/modules' is missing.
* Install local build scripts as described at https:/
* Re-build the images using the updated livecd-rootfs package.
* Unpack the resulting livecd.
* Inspect the unpacked root filesystem and find that '/lib/modules' exists.
* It is pure luck that package purges which are done analogously in Cosmic image builds do not remove '/lib/modules', hence this fix is introduced there, as well.
* Xenial is not affected.
* Test builds were carried out for Cosmic and Bionic with the expected results.
[Regression Potential]
* This is a fix to a regression. The existence of the directory had previously been ensured, but the mkdir call got lost in recent re-factoring. See also:
https:/
https:/
* Packaging tools should not take offense at the existence of a directory, even if it was not part of a package. So potential for unforseeable regressions is very low.
===ORIGINAL BUG DESCRIPTION===
Let me first start with saying MAAS is *not* using iSCSI anymore and is *NOT* in this case either.
For some reason now using enlistment, commissioning, and deploying the ephemeral environment will block for 1 min 30 seconds waiting for the iSCSI daemon to succeed, which it never does.
This increases the boot time drastically.
Related branches
- Scott Moser: Approve
- Dimitri John Ledkov (community): Approve
-
Diff: 20 lines (+2/-1)2 files modifieddebian/cloud-initramfs-copymods.dirs (+1/-0)
debian/control (+1/-1)
no longer affects: | open-iscsi |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in open-iscsi (Ubuntu Xenial): | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in open-iscsi (Ubuntu Bionic): | |
importance: | Undecided → Low |
status: | New → Confirmed |
description: | updated |
Changed in livecd-rootfs (Ubuntu Cosmic): | |
status: | New → Fix Committed |
Changed in livecd-rootfs (Ubuntu Bionic): | |
status: | New → In Progress |
summary: |
- [2.5] iSCSI systemd services fails and blocks for 1 min 30 secconds + [2.5] iSCSI systemd services fails and blocks for 1 min 30 seconds |
tags: | added: id-5ba344692475d642386a6bcb |
Changed in cloud-initramfs-tools (Ubuntu Cosmic): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in cloud-initramfs-tools (Ubuntu Bionic): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in cloud-initramfs-tools (Ubuntu Xenial): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in cloud-initramfs-tools (Ubuntu Xenial): | |
assignee: | nobody → Scott Moser (smoser) |
status: | Confirmed → In Progress |
Changed in cloud-initramfs-tools (Ubuntu Bionic): | |
assignee: | nobody → Scott Moser (smoser) |
status: | Confirmed → In Progress |
Changed in maas: | |
status: | Triaged → Invalid |
Changed in open-iscsi (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in open-iscsi (Ubuntu Xenial): | |
status: | Confirmed → Invalid |
Changed in open-iscsi (Ubuntu Bionic): | |
status: | Confirmed → Invalid |
Changed in open-iscsi (Ubuntu Cosmic): | |
status: | Confirmed → Invalid |
Changed in cloud-images: | |
status: | Triaged → Fix Released |
Here is the output log:
http:// paste.ubuntu. com/p/KfTWC5ghw R/
You can't really see the iSCSI error in the console log.