Bug 503777 - AttributeError while resizing software RAID partition
Summary: AttributeError while resizing software RAID partition
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 11
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:ee6e5987461799c6a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-02 16:22 UTC by Zack Cerza
Modified: 2010-03-15 13:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-03-15 13:21:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (302.59 KB, text/plain)
2009-06-02 16:22 UTC, Zack Cerza
no flags Details

Description Zack Cerza 2009-06-02 16:22:09 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.57 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
    actions.append(ActionResizeFormat(request, size))
  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
    self.editPartition(device)
AttributeError: 'MDRaidMember' object has no attribute 'targetSize'

Comment 1 Zack Cerza 2009-06-02 16:22:14 UTC
Created attachment 346282 [details]
Attached traceback automatically from anaconda.

Comment 2 Bug Zapper 2009-06-09 16:59:19 UTC
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:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Chris Lumens 2009-06-09 18:51:35 UTC
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.

Comment 4 Zack Cerza 2009-06-10 18:15:35 UTC
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.

Comment 5 Zack Cerza 2009-06-10 18:18:01 UTC
But whatever happened, I suspect that MDRaidMember should not simply be missing attributes; otherwise you'll have to constantly catch AttributeErrors.

Comment 6 Hans de Goede 2010-03-15 13:21:01 UTC
Closing this as insufficient data, as no reproduction instructions have been provided (and the last comment is more then 6 months old).


Note You need to log in before you can comment on or make changes to this bug.