Bug 1347545
| Summary: | The dracut will fail and drop into an emergency shell during RHEL-7.x PXE installation over IPoIB | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | zguo <zguo> | ||||
| Component: | rdma | Assignee: | Jarod Wilson <jarod> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | zguo <zguo> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 7.3 | CC: | ddutile, dledford, dracut-maint-list, harald, infiniband-qe, trinh.dao, zguo | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-07-27 01:00:12 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: | 1213541 | ||||||
| Attachments: |
|
||||||
|
Description
zguo
2016-06-17 08:20:28 UTC
(In reply to zguo from comment #0) > Created attachment 1168969 [details] > PXE over IPoIB log > > Description of problem: > > Install RHEL-7.x over IPoIB, during installation, the dracut will fail and > drop into an emergency shell. As dracult debug is really time consuming and > it is safe to ignore it. So, just run 'exit' to leave the emergency shell. > anaconda will start the automatic installation. And it will finish without > issue. > > Version-Release number of selected component (if applicable): > RHEL-7.3-20160615.n.0 > > How reproducible: > Always > > Steps to Reproduce: > 1. Please refer to https://bugzilla.redhat.com/show_bug.cgi?id=1346113#c24 > 2. > 3. > > Actual results: > The dracut failed and dropped into an emergency shell. > > Expected results: > The dracut passes. > > Additional info: Please refer to https://bugzilla.redhat.com/show_bug.cgi?id=1346113#c24, not #29. Thanks. (In reply to zguo from comment #1) > (In reply to zguo from comment #0) > > Created attachment 1168969 [details] > > PXE over IPoIB log > > > > Description of problem: > > > > Install RHEL-7.x over IPoIB, during installation, the dracut will fail and > > drop into an emergency shell. As dracult debug is really time consuming and > > it is safe to ignore it. So, just run 'exit' to leave the emergency shell. > > anaconda will start the automatic installation. And it will finish without > > issue. > > > > Version-Release number of selected component (if applicable): > > RHEL-7.3-20160615.n.0 > > > > How reproducible: > > Always > > > > Steps to Reproduce: > > 1. Please refer to https://bugzilla.redhat.com/show_bug.cgi?id=1346113#c24 > > 2. > > 3. > > > > Actual results: > > The dracut failed and dropped into an emergency shell. > > > > Expected results: > > The dracut passes. > > > > Additional info: > > Please refer to https://bugzilla.redhat.com/show_bug.cgi?id=1346113#c24, not > #29. > Thanks. c24 points to a problem in the rdma dracut module, which is part of the rdma package. (In reply to Harald Hoyer from comment #3) ... > c24 points to a problem in the rdma dracut module, which is part of the rdma > package. It does? I thought it simply documented the setup honli was using. Can you point to where in the comment it's pointing at a problem? Assume I know nothing at all about dracut, because I really don't. (In reply to Jarod Wilson from comment #4) > (In reply to Harald Hoyer from comment #3) > ... > > c24 points to a problem in the rdma dracut module, which is part of the rdma > > package. > > It does? I thought it simply documented the setup honli was using. Can you > point to where in the comment it's pointing at a problem? Assume I know > nothing at all about dracut, because I really don't. I thought fixing /usr/lib/dracut/modules.d/05rdma/module-setup.sh did the trick. I mananaged to install RHEL-7.3-20160615.n.0 via PXE over IPoIB. The default RHEL-7.x/images/pxeboot/{initrd.img,vmlinuz} do not support PXE over IPoIB (and SRPT/ISER). We have to generate initrd.img for ourself. 1) Create a new rdma package with patch in comment #20. [root@ib2-qa-03 SPECS]# cat bz1346113.patch --- /usr/lib/dracut/modules.d/05rdma/module-setup.sh.old 2016-06-15 18:21:06.484598058 -0400 +++ /usr/lib/dracut/modules.d/05rdma/module-setup.sh 2016-06-15 18:22:15.056876089 -0400 @@ -1,7 +1,8 @@ #!/bin/bash check() { - [ -n "$hostonly" -a -d /sys/class/infiniband_verbs/uverbs0 ] && return 0 || return 255 + [ -n "$hostonly" -a -d /sys/class/infiniband_verbs/uverbs0 ] && return 0 + [ -n "$hostonly" ] && return 255 return 0 } If it is about the installer image, you should reassign this bug to the tool, which creates the installer image, "lorax", IIRC The module-setup.sh change was done quite a while ago, so I was assuming there was testing done following that change, and things were still failing, for some other reason. Have we actually tested with the most recent rdma package to see if things still drop to a shell in dracut? Per https://bugzilla.redhat.com/show_bug.cgi?id=1346113#c37, c38, it does not drop to a shell in dracut. (In reply to zguo from comment #8) > Per https://bugzilla.redhat.com/show_bug.cgi?id=1346113#c37, c38, it does > not drop to a shell in dracut. Okay, that being the case, what do we want to do with this bug? Closed->dupe it to something? *** This bug has been marked as a duplicate of bug 1346113 *** |