Bug 428723
Summary: | [NetApp 5.2 bug] root on multipath (iSCSI) not supported in mkinitrd | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | David Cantrell <dcantrell> | ||||||||
Component: | mkinitrd | Assignee: | Peter Jones <pjones> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Alexander Todorov <atodorov> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | 5.1 | CC: | andriusb, atodorov, coughlan, jlaska, k.georgiou, mchristi, nandkumar.mane, poelstra, rkenna, rsarraf, xdl-redhat-bugzilla | ||||||||
Target Milestone: | rc | Keywords: | OtherQA, Reopened | ||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | RHBA-2008-0437 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2008-05-21 15:26:29 UTC | Type: | --- | ||||||||
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: | 391951 | ||||||||||
Bug Blocks: | 217208 | ||||||||||
Attachments: |
|
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. The patch is applied in mkinitrd-5.1.19.6-20 . There is a report in Bug 391951 indicating that: "Though mkintrd patch has been included in mkintrd src, it doesn't apply during package building. The switch (-p0) was supposed to be used to apply the patch cleanly. Sure enough: rpmbuild ... Patch #15 (mkinitrd-5.1.19.6-bz428723-iscsi-mpath.patch): + patch -p1 -s missing header for unified diff at line 3 of patch An alternate patch that uses the -P1 option is provided there. I am moving this BZ to FAILS_QA, since this is the mkinitrd BZ. (The other BZ is for the related Anaconda issue.) The patch mentioned in Comment #17 in Bugzilla #391951 needs to be applied to fix this bug. The correct patch is not yet applied to RHEL5 U2 Snapshot1 The patch you are referring to looks identical to what has already been committed to the RHEL 5.2 tree, as shown in this bug, Comment #1. *** This bug has been marked as a duplicate of 368821 *** I was wrong on IRC, this is not actually a dupe. (In reply to comment #11) > The patch you are referring to looks identical to what has already been > committed to the RHEL 5.2 tree, as shown in this bug, Comment #1. Yes, the patch is identical. The problem was that the patch was generated incorrectly. The earlier patch required the -p0 switch to apply clean whereas the convention has been to use -p1 switch. That's why, even though the patch is currently committed, doesn't work. The new patch is a revision of the same patch with the proper (-p1) switch. Nandkumar, Can you please attach the same patch to this bugzilla ? Created attachment 298937 [details]
mkintrd patch for root on multipath(iscsi) support
Though mkintrd patch has been included in mkintrd src, it doesn't apply during
package building. The switch (-p0) was supposed to be used to apply the patch
cleanly.
Attached is the same patch with the -p1 option.
Fixed in 5.1.19.6-27 . Greetings Red Hat Partner, A fix for this issue should be included in the latest packages contained in RHEL5.2-Snapshot3--available now on partners.redhat.com. Please test and confirm that your issue is fixed. After you (Red Hat Partner) have verified that this issue has been addressed, please perform the following: 1) Change the *status* of this bug to VERIFIED. 2) Add *keyword* of PartnerVerified (leaving the existing keywords unmodified) If this issue is not fixed, please add a comment describing the most recent symptoms of the problem you are having and change the status of the bug to ASSIGNED. If you are receiving this message in Issue Tracker, please reply with a message to Issue Tracker about your results and I will update bugzilla for you. If you need assistance accessing ftp://partners.redhat.com, please contact your Partner Manager. Thank you verified the patch is present in mkinitrd-5.1.19.6-28 ... do we have any results from our partner that the multipath behavior is verified? The patch in comment #17 has been included in the latest snapshot of RHEL 5.2 This has been verified. With this, we have a working initrd image in place which supports iSCSI Multipathed root installations. We though have a minor problem. We've noticed that when iSCSId is run, the login takes place only to a single target address. This leads to the root LUN having just a single path. Later when init is run, and iSCSId is re-executed, it is able to login to the additional targets and thus provide multiple paths to the LUN. We've working on the fix and would be posting a patch soon. Greetings Red Hat Partner, A fix for this issue should be included in the latest packages contained in RHEL5.2-Snapshot4--available now on partners.redhat.com. Please test and confirm that your issue is fixed. After you (Red Hat Partner) have verified that this issue has been addressed, please perform the following: 1) Change the *status* of this bug to VERIFIED. 2) Add *keyword* of PartnerVerified (leaving the existing keywords unmodified) If this issue is not fixed, please add a comment describing the most recent symptoms of the problem you are having and change the status of the bug to ASSIGNED. If you are receiving this message in Issue Tracker, please reply with a message to Issue Tracker about your results and I will update bugzilla for you. If you need assistance accessing ftp://partners.redhat.com, please contact your Partner Manager. Thank you (In reply to comment #23) > The patch in comment #17 has been included in the latest snapshot of RHEL 5.2 > This has been verified. With this, we have a working initrd image in place > which supports iSCSI Multipathed root installations. > > We though have a minor problem. We've noticed that when iSCSId is run, the > login takes place only to a single target address. This leads to the root LUN > having just a single path. > Later when init is run, and iSCSId is re-executed, it is able to login to the > additional targets and thus provide multiple paths to the LUN. > > We've working on the fix and would be posting a patch soon. Hello Ritesh, is the problem you describe a separate issue or it's caused by the patch to initrd? If it is a separate issue can you please file another bug? Thanks. Created attachment 301995 [details] mkinitrd patch for complete root on multipath(iscsi) support Attaching a patch which will resolve problem mentioned in comment #23. Previous patch (id=298937) makes sure that system will reboot properly after doing installation on multipathed device. We though have a minor problem. We've noticed that when iSCSId through initrd is run, the login takes place only to a single target address. This leads to the root LUN having just a single path. Later when init is run, and iSCSId is re-executed, it is able to login to the additional targets and thus provide multiple paths to the LUN. Attached patch makes sure that logins to all paths will happen when iscsid through initrd is run. It would be great if you could provide us with a build package of mkinitrd before snap5 so that we can test further. Hi Alexander, Initially we had no support for multipathd(iscsi) devices in mkinitrd. Patch (id=298937) added support for the same but it wasn't complete. Patch (id=301995) adds complete support for multipathd(iscsi) devices in mkinitrd. So we don't need to create seprate bugzilla for this. Thank you changing to ASSIGNED This is too much potential de-stabilization for 5.2 at thispoint (snapshot 6 out of 8). We'll have to finish this up in 5.3. NetApp: Please create a new bugzilla to track this in 5.3. New patch will not bring de-stabilization for 5.2 as the patch doesn't make any change in the code for iscsi block devices. It does changes only for a multipathd device. We are keeping iscsi code intact (which was already there). Changes will be only in newly added code which is for the multipathed devices. If would be great if we can include this in 5.2. Hi - this still needs a new bugzilla for 5.3. Greetings Red Hat Partner, A fix for this issue should be included in the latest packages contained in RHEL5.2-Snapshot6--available now on partners.redhat.com. We are nearing GA for 5.2 so please test and confirm that your issue is fixed ASAP. After you (Red Hat Partner) have verified that this issue has been addressed, please perform the following: 1) Change the *status* of this bug to VERIFIED. 2) Add *keyword* of PartnerVerified (leaving the existing keywords unmodified) If this issue is not fixed, please add a comment describing the most recent symptoms of the problem you are having and change the status of the bug to ASSIGNED. If you are receiving this message in Issue Tracker, please reply with a message to Issue Tracker about your results and I will update bugzilla for you. If you need assistance accessing ftp://partners.redhat.com, please contact your Partner Manager. Thank you Hello NetApp, can you update us on the status of this issue? Thanks. The patch updated in Comment #26 has not been updated in latest mkinitrd package. As per Adrius(Comment #36), we need to file new bugzilla for 5.3. Greetings Red Hat Partner, A fix for this issue should be included in the latest packages contained in RHEL5.2-Snapshot7--available now on partners.redhat.com. We are nearing GA for 5.2--this is the last opportunity to test and confirm that your issue is fixed. After you (Red Hat Partner) have verified that this issue has been addressed, please perform the following: 1) Change the *status* of this bug to VERIFIED. 2) Add *keyword* of PartnerVerified (leaving the existing keywords unmodified) If this issue is not fixed, please add a comment describing the most recent symptoms of the problem you are having and change the status of the bug to ASSIGNED. If you are receiving this message in Issue Tracker, please reply with a message to Issue Tracker about your results and I will update bugzilla for you. If you need assistance accessing ftp://partners.redhat.com, please contact your Partner Manager. Thank you Thank you for the test feedback in comment#23. Moving this bug to VERIFIED based on your comments. The additional issue mentioned will need to be filed against RHEL5.3. Many thanks! An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0437.html |
Created attachment 291627 [details] netapp-mkinitrd.patch