Red Hat Bugzilla – Bug 503777
AttributeError while resizing software RAID partition
Last modified: 2010-03-15 09:21:01 EDT
The following was filed automatically by anaconda:
anaconda 184.108.40.206 exception report
Traceback (most recent call first):
File "/usr/lib/anaconda/storage/deviceaction.py", line 345, in __init__
if device.format.targetSize == newsize:
File "/usr/lib/anaconda/iw/partition_dialog_gui.py", line 295, in run
File "/usr/lib/anaconda/iw/partition_gui.py", line 1119, in editPartition
actions = parteditor.run()
File "/usr/lib/anaconda/iw/partition_gui.py", line 1080, in editCB
AttributeError: 'MDRaidMember' object has no attribute 'targetSize'
Created attachment 346282 [details]
Attached traceback automatically from anaconda.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
We just did a quick test here and were unable to reproduce this error. All attempts to resize a RAID member or the filesystem on top of the RAID member were prevented by anaconda. Can you outline the UI steps you took that led to this traceback? Thanks.
I can't say for sure that I remember accurately (perhaps Anaconda should log UI events?), but I'll try.
Here's what I remember. I had 2 disks: sda and sdb. I put /boot on sda, and used the remaining space to create two software RAID members - one on each disk. I then created a RAID0 array from the two members and indicated that it should be formatted btrfs.
When I clicked on Forward, I was warned that I'd forgotten to create a swap partition. So I hit Cancel (or whatever the "go back" button is called in that dialog) and attempted to resize the member that was on sdb. Traceback.
But whatever happened, I suspect that MDRaidMember should not simply be missing attributes; otherwise you'll have to constantly catch AttributeErrors.
Closing this as insufficient data, as no reproduction instructions have been provided (and the last comment is more then 6 months old).