Bug 475271
Summary: | Unexpected exception while deselecting luns to install against | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jim Evans <n1hts> | ||||
Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> | ||||
Status: | CLOSED ERRATA | QA Contact: | Alexander Todorov <atodorov> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.3 | CC: | atodorov, borgan, cward, ddumas, rvykydal, syeghiay | ||||
Target Milestone: | rc | Keywords: | OtherQA | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-09-02 09:56:18 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: | |||||||
Attachments: |
|
I think the problem here is that LV request bind to local r in attached traceback has fstype "physical volume (LVM)" so it passes condition on line autopart.py:1407 which should filter in only PVs. LV request has no attribute drive which raises the exception. Do we mean something like this: diff --git a/autopart.py b/autopart.py index 4c752a8..04abfc0 100644 --- a/autopart.py +++ b/autopart.py @@ -1411,13 +1411,13 @@ def doAutoPartition(anaconda): len(partitions.autoClearPartDrives) == 0): valid = 1 else: - if not isinstance(r, partRequests.RaidRequestSpec): + if isinstance(r, partRequests.PartitionSpec): for d in r.drive: if d in partitions.autoClearPartDrives: valid = 1 break - if not isinstance(r, partRequests.RaidRequestSpec): + if isinstance(r, partRequests.PartitionSpec): if not r.multidrive: valid = 0 To minimize risk to 5.3, and because this should be an unusual corner case, moving this to 5.4 (In reply to comment #3) Yes, the patch in comment #3 should fix it. I'll try to figure out where the LV with "physical volume (LVM)" fs type comes from and make a reproducer. 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. Should be fixed in anaconda 11.1.2.169-1. I don't have a reproducer. ~~ Attention - RHEL 5.4 Beta Released! ~~ RHEL 5.4 Beta has been released! There should be a fix present in the Beta release that addresses this particular request. Please test and report back results here, at your earliest convenience. RHEL 5.4 General Availability release is just around the corner! If you encounter any issues while testing Beta, please describe the issues you have encountered and set the bug into NEED_INFO. If you encounter new issues, please clone this bug to open a new issue and request it be reviewed for inclusion in RHEL 5.4 or a later update, if it is not of urgent severity. Please do not flip the bug status to VERIFIED. Only post your verification results, and if available, update Verified field with the appropriate value. Questions can be posted to this bug or your customer or partner representative. Jim, can you give 5.4 Beta a try and post your test results? Thanks! Jim, please provide your test results to us. We'd like to make sure this issue has been fixed and the fixes included in RHEL 5.4. Thanks. Sorry it took so long but things have been busy here. I did not see this issue when installing with RHEL 5.4 snap 3. That said I only encountered that issue once. jim 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 therefore 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-2009-1306.html |
Created attachment 326160 [details] Output collected during exception Description of problem: While selecting a couple of luns during the install process I got an unexpected exception. See attached log. Version-Release number of selected component (if applicable): RHEL 5u3 snapshot 4 How reproducible: unsure Steps to Reproduce: 1. One EVA lun on the SAN and two local luns 2. Deselect EVA and one local lun. Leave cciss0 to install to 3. Unexpected exception. Error says to report to Red Hat Actual results: installation was aborted Expected results: installation continued Additional info: HP BL685c blade server 4GB ram 2 local cciss luns 1 EXA-XL lun Logged as high because installation fails.