open-iscsi unconditionally requires ib_iser module which is not built on all Ubuntu kernels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
Fix Released
|
Medium
|
Steve Langasek |
Bug Description
Currently, open-iscsi ships a /lib/modules-
And unfortunately ib_iser has no modaliases, so it's not as if this is something that can be switched to udev autoloading.
Options for resolving this:
- get the kernel team to set CONFIG_
- drop ib_iser from debian/
- vary the contents of /lib/modules-
- remove open-iscsi from the server seed; historically, this is blocked by older versions of MAAS depending on mounting ephemeral images via iscsi, but perhaps the depends on open-iscsi could be made architecture-
This needs input from the Server Team.
Related branches
- Lucas Kanashiro (community): Approve
- Canonical Server packageset reviewers: Pending requested
- Canonical Server: Pending requested
-
Diff: 5472 lines (+4979/-71)25 files modifieddebian/changelog (+1135/-0)
debian/control (+9/-7)
debian/extra/initramfs.hook (+1/-1)
debian/extra/initramfs.local-bottom (+20/-0)
debian/extra/initramfs.local-top (+30/-2)
debian/extra/net-interface-handler (+80/-0)
debian/iscsi-network-interface.rules (+3/-0)
debian/iscsid.service (+1/-1)
debian/open-iscsi.finalrd (+40/-0)
debian/open-iscsi.postinst (+25/-40)
debian/open-iscsi.service (+6/-6)
debian/patches/lp1755858-default-iscsid_conf-to-iscsid_socket.patch (+25/-0)
debian/patches/series (+1/-0)
debian/rules (+30/-10)
debian/tests/README-boot-test.md (+139/-0)
debian/tests/control (+4/-0)
debian/tests/get-image (+227/-0)
debian/tests/install (+5/-2)
debian/tests/patch-image (+374/-0)
debian/tests/test-open-iscsi.py (+426/-0)
debian/tests/testlib.py (+1153/-0)
debian/tests/testsuite (+7/-0)
debian/tests/tgt-boot-test (+534/-0)
debian/tests/xkvm (+704/-0)
dev/null (+0/-2)
- Bryce Harrington (community): Approve
- Canonical Server: Pending requested
- Rafael David Tinoco: Pending requested
-
Diff: 24923 lines (+4835/-457)29 files modifieddebian/changelog (+987/-0)
debian/control (+4/-2)
debian/extra/initramfs.hook (+1/-1)
debian/extra/initramfs.local-bottom (+20/-0)
debian/extra/initramfs.local-top (+30/-2)
debian/extra/net-interface-handler (+80/-0)
debian/iscsi-network-interface.rules (+3/-0)
debian/iscsid.service (+1/-1)
debian/open-iscsi.finalrd (+40/-0)
debian/open-iscsi.postinst (+25/-40)
debian/open-iscsi.service (+6/-6)
debian/patches/lp1755858-default-iscsid_conf-to-iscsid_socket.patch (+30/-0)
debian/patches/series (+1/-0)
debian/rules (+27/-8)
debian/tests/README-boot-test.md (+139/-0)
debian/tests/control (+4/-0)
debian/tests/get-image (+227/-0)
debian/tests/install (+5/-2)
debian/tests/patch-image (+374/-0)
debian/tests/test-open-iscsi.py (+426/-0)
debian/tests/testlib.py (+1153/-0)
debian/tests/testsuite (+7/-0)
debian/tests/tgt-boot-test (+534/-0)
debian/tests/xkvm (+704/-0)
dev/null (+0/-395)
iscsiuio/src/.gitignore (+1/-0)
iscsiuio/src/unix/.gitignore (+1/-0)
test/.gitignore (+3/-0)
test/harness/.gitignore (+2/-0)
Changed in open-iscsi (Ubuntu): | |
status: | New → Fix Committed |
assignee: | nobody → Steve Langasek (vorlon) |
importance: | Undecided → Medium |
tags: | added: id-5c5053cad3efa20de8138de0 |
After discussing with Ryan on IRC:
- the static loading of the modules is bad, and shouldn't be necessary, as it should be possible to figure out at runtime which transports are actually needed by iscsid
- the current implementation doesn't work in the initramfs at all since the file it creates is only read by systemd
- upstream's code has support for loading these modules on-demand, *IF* we link against libkmod.
Proposed solution:
- Build-depend on libkmod-dev
- Drop the file for loading modules statically
- Add ib_iser to the list of modules for the initramfs hook, so that iscsi rootfs will work correctly over infiniband as well