Bug 432362
| Summary: | Traceback from isys.py with dmraid | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andy Wingo <wingo> | ||||||||
| Component: | anaconda | Assignee: | Peter Jones <pjones> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | low | ||||||||||
| Version: | rawhide | CC: | dcantrell, dzrudy, erik-fedora, henk.spaan, kwizart, linux, matt.castelein, ortizsantini | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2008-04-08 17:47: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: | |||||||||||
| Bug Blocks: | 235706 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Andy Wingo
2008-02-11 16:02:13 UTC
I got the same thing, but I wrote down the stacktrace (as I was not able to
upload it to a remote site).
The problem occurs when a RaidSet is present as can be seen in the stacktrace (I
copied another stacktrace and filled it out).
I got a fakeraid controller, ICH9R, but I guess the bug is not chipset specific.
The stacktrace:
anaconda 11.4.0.28 exception report
Traceback (most recent call first):
File "/usr/lib/anaconda/isys.py", line 494, in hardDriveDict
ret[item] = dict[item]['description']
File "/usr/lib/anaconda/partedUtils.py", line 841, in driveList
drives = isys.hardDriveDict().keys()
File "/usr/lib/anaconda/partedUtils.py", line 615, in startDmRaid
(self.driveList(), ))
...
AttributeError: RaidSet instance has no attribute '__getitem__'
Local variables in innermost frame:
item: mapper/isw_cjabddijaa_Spin500Raid1V1
dict: {'mapper/isw_cjabddijaa_Spin500Raid1V1' : <block.device.RaidSet instance
at 0x...., [second raid set ...], [dbus items ...]>
CC me *** Bug 437162 has been marked as a duplicate of this bug. *** Digging around a little (and maybe I'm missing something), but I don't see that the description set in hardDriveDict is used anywhere. I changed it like: - ret[item] = dict[item]['description'] + try: + ret[item] = dict[item]['description'] + except: + ret[item] = "no description" and anaconda appeared to find the dmraid drives okay. The description is copied in partedUtils.py drivesByName, but I don't see that it is called anywhere. If the description really isn't used, maybe just drop trying to copy it? Created attachment 299091 [details]
Anaconda crash traceback
I've run on the same problem today when trying to install Fedora 9 Beta. I
tried installing from both full install DVD and Live DVD.
Fixed in git *** Bug 439367 has been marked as a duplicate of this bug. *** Created attachment 299612 [details]
Traceback in anaconda-11.4.0.61-1
Jeremy,
I'm still getting the traceback (attached). I've tested with the released
rawhide 20080328 snaphot and also reproduced with Fedora 9 Beta Live after
updating anacona via yum to version 11.4.0.61-1 that's available in rawhide as
of now.
The change in git adds an empty description. However, the problem isn't a missing description; it is that a RaidSet object doesn't have __getitem__ but hardDriveDict() in isys.py tries to access it that way. Either the RaidSet object (I believe from python-pyblock) needs to be updated to add __getitem__ or isys.py needs to be changed to not try to access it. Confirmed, this still happens in rawhide 04/01. Going to get some attention on it since we have a box in the office that can reproduce. Created attachment 300036 [details]
Anaconda debug log
Changing the subject to reflect what the bug actually is. This should be fixed with the work Peter Jones did last night and was built into anaconda this morning. It missed rawhide though, so will try later. This is fixed. dmraid installs now boot. |