Bug 585031

Summary: ValueError: arg 1 must be a StorageDevice instance
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: anaconda-maint-list, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-09 21:28:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
debug traceback saved by anaconda, gzipped none

Description John Reiser 2010-04-22 23:19:40 UTC
Created attachment 408465 [details]
debug traceback saved by anaconda, gzipped

Description of problem: Installer traceback during Custom partition editing.

Version-Release number of selected component (if applicable):

How reproducible: haven't tried

Steps to Reproduce:
1. fresh install of rawhide for Fedora 14 from DVD
2. basic disks, custom configuration
3. select existing ext4 partition; cannot Edit because of bug 582083.
4. switch to shell on VT2, use fdisk to change partition type to 0 (Empty).
5. switch back to VT6, click Back button (causes Finding storage devices and re-shows dialog with Custom configuration selected)
6. click Next,  to get graphical partition editor
7. try to Create partition from Free space created by step 4.
Actual results: traceback with ValueError: arg 1 must be a StorageDevice instance

Expected results: Free space available for assignment to new partition.

Additional info:

Comment 1 John Reiser 2010-04-22 23:20:12 UTC
anaconda 14.4 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/pyanaconda/storage/deviceaction.py", line 141, in __init__
    raise ValueError("arg 1 must be a StorageDevice instance")
  File "/usr/lib64/python2.6/site-packages/pyanaconda/storage/deviceaction.py", line 200, in __init__
    DeviceAction.__init__(self, device)
  File "/usr/lib64/python2.6/site-packages/pyanaconda/iw/partition_dialog_gui.py", line 220, in run
  File "/usr/lib64/python2.6/site-packages/pyanaconda/iw/partition_gui.py", line 1674, in editPartition
    actions = parteditor.run()
  File "/usr/lib64/python2.6/site-packages/pyanaconda/iw/partition_gui.py", line 1560, in createCB
    self.editPartition(device, isNew = True)
ValueError: arg 1 must be a StorageDevice instance

Comment 2 Chris Lumens 2010-05-26 20:59:40 UTC
Is this at all reproducible?  I don't believe anyone here has seen this bug before.

Comment 3 John Reiser 2010-05-27 03:18:10 UTC
Attempt to reproduce was blocked by bug 596585.

Comment 4 Bug Zapper 2010-07-30 11:26:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:

Comment 5 Chris Lumens 2012-02-09 21:28:26 UTC
If you see this again in F17 alpha, please reopen this bug.  I've not seen any duplicates of it so I believe it to be fixed.