Bug 1593917
Summary: | iSCSI broken in installer due to module missing from initramfs(?) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
Component: | lorax | Assignee: | Brian Lane <bcl> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | airlied, anaconda-maint-list, bcl, bskeggs, dmach, ewk, hdegoede, ichavero, itamar, jarodwilson, jglisse, john.j5live, jonathan, josef, kernel-maint, kevin, linville, mchehab, mjg59, robatino, steved |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-06-25 19:46:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1517013 |
Description
Adam Williamson
2018-06-21 20:10:00 UTC
AHA. I think I've nailed this one down. I believe what's going on is the dracut 95iscsi module is not really being run at all when lorax regenerates the initramfs during buildinstall - and I've got a plausible theory as to why. 95iscsi depends on the 'hostname' command: # called by dracut check() { local _rootdev # If our prerequisites are not met, fail anyways. require_binaries iscsistart hostname iscsi-iname || return 1 Now, let's take a look at the 20180615.n.0 and 20180616.n.0 buildinstall logs: https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20180615.n.0/logs/x86_64/buildinstall-Everything.x86_64.log https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20180616.n.0/logs/x86_64/buildinstall-Everything.x86_64.log Note the count of packages installed into the environment we regenerate the initramfs images in: on 20180615.n.0 it's 772, on 20180616.n.0 it's 771. Something went missing! I hacked around with the logs a bit and found the missing package: it's...hostname. *Why* is hostname missing? Turns out, it's down to a change in initscripts. That was another package that changed in the 20180616.n.0 compose, but at first I didn't think it could be relevant. Turns out it is, though. 9.83-1.fc29 - the version that landed in 20180616.n.0 - splits out the legacy 'network' service and its supporting bits into a subpackage, 'network-scripts'. With that change, initscripts no longer depends on hostname - the dependency is moved from initscripts itself to network-scripts. Turns out nothing else in our buildinstall environment depends on hostname either, so it just...doesn't get pulled in. And I believe that, because of that, the dracut 95iscsi module fails, and that's the cause of the missing kernel modules in the initramfs. I guess we either need to add a dependency somewhere, or just patch lorax to explicitly install hostname when building installers. Let's re-assign to lorax for now. So, turns out the change from "crash" to "button doesn't show up" was a real thing and a different bug: we have two bugs here. This one I'm pretty sure is fixed now, 'hostname' is showing up in composes again. But iSCSI install tests are still failing because of the *other* bug, which I've filed separately: https://bugzilla.redhat.com/show_bug.cgi?id=1594946 The fixed lorax has been sent out, so closing this. |