Bug 488859

Summary: [StorageRewrite] TypeError: argument 2 must be string, not None
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, jturner, pjones, rmaximo, rvykydal, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: StorageRewrite anaconda_trace_hash:5a65844cee19297a75cd521aa86f2399183ca92cfeb2ceb245f5cb3aabd20ae2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-14 13:48:01 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:
Description Flags
Attached traceback automatically from anaconda. none

Description James Laska 2009-03-05 23:30:46 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.24 exception report
Traceback (most recent call first):
  File "/tmp/updates/storage/devicelibs/crypto.py", line 65, in luks_format
    rc = cs.luksFormat(device = device, cipher = cipher, keysize = key_size, keyfile = key_file)
  File "/tmp/updates/storage/formats/luks.py", line 143, in create
    key_size=self.key_size)
  File "/tmp/updates/storage/deviceaction.py", line 267, in execute
    options=self.device.formatArgs)
  File "/tmp/updates/storage/devicetree.py", line 427, in processActions
    action.execute(intf=self.intf)
  File "/tmp/updates/storage/__init__.py", line 181, in doIt
    self.devicetree.processActions()
  File "/tmp/updates/packages.py", line 114, in turnOnFilesystems
    anaconda.id.storage.doIt()
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1317, in nextClicked
    self.anaconda.dispatch.gotoNext()
TypeError: argument 2 must be string, not None

Comment 1 James Laska 2009-03-05 23:30:51 UTC
Created attachment 334234 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2009-03-05 23:32:20 UTC
Test case: encrypted autopartition using single disk

Comment 3 Radek Vykydal 2009-03-06 14:27:49 UTC
*** Bug 488952 has been marked as a duplicate of this bug. ***

Comment 4 Radek Vykydal 2009-03-06 14:36:20 UTC
Martin Sivak fixed this in pycryptsetup 0.0.7
(which was present in updates.img used in Fedora Test Day Thu 5,
but due to path issues, anaconda loaded module from install.img)
and with commit 0b65aca74899a558d14d1e305bb98380be185dfc.

Comment 5 Chris Lumens 2009-03-06 16:37:36 UTC
Putting into MODIFIED for now.  We can close it out once we've verified it works with the latest pycryptsetup.

Comment 6 James Laska 2009-04-14 13:48:01 UTC
Not seeing this exact traceback anymore