Bug 706259

Summary: RuntimeError: More keyword list entries (2) than format specifiers (1)
Product: [Fedora] Fedora Reporter: David Lehman <dlehman>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 19CC: anaconda-maint-list, dshea, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:72f982fe38cff477ee1c38a50026c9bb11a2cd66c7a8c6bcb4d0837783768637
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-13 19:55:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Attached traceback automatically from anaconda. none

Description David Lehman 2011-05-19 21:07:30 UTC
The following was filed automatically by anaconda:
anaconda 16.7 exception report
Traceback (most recent call first):
  File "/tmp/updates/pyanaconda/storage/devicelibs/crypto.py", line 103, in luks_format
    cs.addKeyByVolumeKey(passphrase)
  File "/tmp/updates/pyanaconda/storage/formats/luks.py", line 204, in create
    key_size=self.key_size)
  File "/tmp/updates/pyanaconda/storage/deviceaction.py", line 429, in execute
    options=self.device.formatArgs)
  File "/tmp/updates/pyanaconda/storage/devicetree.py", line 315, in processActions
    action.execute(intf=self.intf)
  File "/tmp/updates/pyanaconda/storage/__init__.py", line 383, in doIt
    self.devicetree.processActions()
  File "/tmp/updates/pyanaconda/packages.py", line 122, in turnOnFilesystems
    anaconda.storage.doIt()
  File "/tmp/updates/pyanaconda/dispatch.py", line 229, in dispatch
    self.dir = step_func(self.anaconda)
  File "/tmp/updates/pyanaconda/dispatch.py", line 135, in go_forward
    self.dispatch()
  File "/tmp/updates/pyanaconda/gui.py", line 1204, in nextClicked
    self.anaconda.dispatch.go_forward()
RuntimeError: More keyword list entries (2) than format specifiers (1)

Comment 1 David Lehman 2011-05-19 21:07:45 UTC
Created attachment 499947 [details]
Attached traceback automatically from anaconda.

Comment 2 David Lehman 2011-05-19 21:11:34 UTC
It was setting up the new storage configuration, which was autopart with an encrypted lv_root.

Before that I had applied the following patch to fix another traceback:

diff --git a/pyanaconda/storage/devicelibs/crypto.py b/pyanaconda/storage/devicelibs/crypto.py
index b018b60..134e67f 100644
--- a/pyanaconda/storage/devicelibs/crypto.py
+++ b/pyanaconda/storage/devicelibs/crypto.py
@@ -91,8 +91,8 @@ def luks_format(device,
         cipherType = "".join(cparts[0:1])
         cipherMode = "-".join(cparts[1:])
     
-    if cipherType: kwargs["cipher"]  = cipherTy
-    if cipherMode: kwargs["cipherMode"]  = cipherMo
+    if cipherType: kwargs["cipher"]  = cipherType
+    if cipherMode: kwargs["cipherMode"]  = cipherMode
     if   key_size: kwargs["keysize"]  = key_size
 
     rc = cs.luksFormat(**kwargs)

Comment 3 Fedora End Of Life 2013-04-03 18:18:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 4 David Shea 2013-09-13 19:55:05 UTC
I'm going to assume this isn't an issue anymore