Bug 862632

Summary: NameError: global name 'size_func_kwargs' is not defined
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, g.kaviyarasu, jonathan, robatino, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:1a89fd7d43e741def1b7573ecc38b0d0a4fce6d5c6d0ae3045edb02f09bd2f9b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-03 14:20:07 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:
Bug Depends On:    
Bug Blocks: 752660    
Attachments:
Description Flags
File: anaconda-tb
none
File: product
none
File: type
none
File: storage.log
none
File: version
none
File: environ
none
File: anaconda.log
none
File: syslog
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: release
none
File: program.log none

Description Kamil Páral 2012-10-03 11:56:51 UTC
Description of problem:
I entered custom partitioning, selected root partition and changed the type to LVM. After that it immediately crashed.

Version-Release number of selected component:
anaconda-18.11

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.0-1.fc18.i686

description:
:The following was filed automatically by anaconda:
:anaconda 18.11 exception report
:Traceback (most recent call first):
:  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/__init__.py", line 3252, in device_size
:    return get_pv_space(self.size, len(self.disks), **size_func_kwargs)
:  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1850, in setContainerMembers
:    device_space = factory.device_size
:  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2036, in newDevice
:    members=members)
:  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 774, in _replace_device
:    self.__storage.newDevice(*args, **kwargs)
:  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 888, in _save_right_side
:    selector=selector)
:  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1534, in on_selector_clicked
:    self._save_right_side(self._current_selector)
:  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 188, in _onSelectorClicked
:    cb(selector)
:NameError: global name 'size_func_kwargs' is not defined

Comment 1 Kamil Páral 2012-10-03 11:56:55 UTC
Created attachment 620779 [details]
File: anaconda-tb

Comment 2 Kamil Páral 2012-10-03 11:56:58 UTC
Created attachment 620780 [details]
File: product

Comment 3 Kamil Páral 2012-10-03 11:57:01 UTC
Created attachment 620781 [details]
File: type

Comment 4 Kamil Páral 2012-10-03 11:57:04 UTC
Created attachment 620782 [details]
File: storage.log

Comment 5 Kamil Páral 2012-10-03 11:57:07 UTC
Created attachment 620783 [details]
File: version

Comment 6 Kamil Páral 2012-10-03 11:57:09 UTC
Created attachment 620784 [details]
File: environ

Comment 7 Kamil Páral 2012-10-03 11:57:12 UTC
Created attachment 620785 [details]
File: anaconda.log

Comment 8 Kamil Páral 2012-10-03 11:57:15 UTC
Created attachment 620786 [details]
File: syslog

Comment 9 Kamil Páral 2012-10-03 11:57:17 UTC
Created attachment 620787 [details]
File: hashmarkername

Comment 10 Kamil Páral 2012-10-03 11:57:19 UTC
Created attachment 620788 [details]
File: packaging.log

Comment 11 Kamil Páral 2012-10-03 11:57:21 UTC
Created attachment 620789 [details]
File: cmdline_file

Comment 12 Kamil Páral 2012-10-03 11:57:24 UTC
Created attachment 620790 [details]
File: release

Comment 13 Kamil Páral 2012-10-03 11:57:26 UTC
Created attachment 620791 [details]
File: program.log

Comment 14 Kamil Páral 2012-10-03 11:59:02 UTC
So I am not sure whether this breaks Beta criterion
> >  The installer's custom partitioning mode must be capable of the following:
> >     Creating, destroying and assigning mount points to partitions of any specified size using most commonly-used filesystem types
> >     Creating encrypted partitions
> >     Rejecting obviously invalid operations without crashing 

Let's discuss.

Comment 15 Chris Lumens 2012-10-03 14:20:07 UTC

*** This bug has been marked as a duplicate of bug 862006 ***