Bug 864113

Summary: NameError: global name 'size_func_kwargs' is not defined
Product: [Fedora] Fedora Reporter: Reartes Guillermo <rtguille>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: amit.shah, anaconda-maint-list, awilliam, bblaskov, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:532533c77f93708218c187946080a5c90525a55d4b86b7463945229205ba4105
Fixed In Version: anaconda-18.13-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-23 03:25:42 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
File: anaconda-tb
none
File: product
none
File: type
none
File: ifcfg.log
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 Reartes Guillermo 2012-10-08 15:20:21 UTC
Description of problem:
reclaimed space, wen to custom partitioning,
removed two partitions, one on each disk (i intended to do so)
selected the automatic partition suggestion feature, but the result was an error checking 
partitions so i noticed the that the type was lvm, i switched it back to standar partition then the
unknown error


Version-Release number of selected component:
anaconda-18.12

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

description:
:The following was filed automatically by anaconda:
:anaconda 18.12 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/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/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1850, in setContainerMembers
:    device_space = factory.device_size
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1411, in _destroy_device
:    parents = self.__storage.setContainerMembers(container, factory)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 869, in _save_right_side
:    self._destroy_device(device)
:  File "/usr/lib64/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/lib64/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 Reartes Guillermo 2012-10-08 15:20:44 UTC
Created attachment 623504 [details]
File: anaconda-tb

Comment 2 Reartes Guillermo 2012-10-08 15:20:47 UTC
Created attachment 623505 [details]
File: product

Comment 3 Reartes Guillermo 2012-10-08 15:20:50 UTC
Created attachment 623506 [details]
File: type

Comment 4 Reartes Guillermo 2012-10-08 15:20:53 UTC
Created attachment 623507 [details]
File: ifcfg.log

Comment 5 Reartes Guillermo 2012-10-08 15:21:09 UTC
Created attachment 623508 [details]
File: storage.log

Comment 6 Reartes Guillermo 2012-10-08 15:21:11 UTC
Created attachment 623509 [details]
File: version

Comment 7 Reartes Guillermo 2012-10-08 15:21:13 UTC
Created attachment 623510 [details]
File: environ

Comment 8 Reartes Guillermo 2012-10-08 15:21:16 UTC
Created attachment 623511 [details]
File: anaconda.log

Comment 9 Reartes Guillermo 2012-10-08 15:21:20 UTC
Created attachment 623512 [details]
File: syslog

Comment 10 Reartes Guillermo 2012-10-08 15:21:22 UTC
Created attachment 623513 [details]
File: hashmarkername

Comment 11 Reartes Guillermo 2012-10-08 15:21:24 UTC
Created attachment 623514 [details]
File: packaging.log

Comment 12 Reartes Guillermo 2012-10-08 15:21:26 UTC
Created attachment 623515 [details]
File: cmdline_file

Comment 13 Reartes Guillermo 2012-10-08 15:21:29 UTC
Created attachment 623516 [details]
File: release

Comment 14 Reartes Guillermo 2012-10-08 15:21:32 UTC
Created attachment 623517 [details]
File: program.log

Comment 15 Amit Shah 2012-10-11 06:56:50 UTC
For 'root' partition, select type as btrfs from default LVM.  Also select the 'optimise' checkbox.  Generates this crash. This is when running in a KVM VM with a virtio-blk disk as install target.

Package: anaconda-18.12-1.fc18.x86_64
OS Release: Fedora release 18

Comment 16 Branislav Blaškovič 2012-10-11 08:43:42 UTC
I let anaconda to auto-create partitions. But then I decided to switch from LVM to Standard partition. It crashed.

Package: anaconda-18.12-1.fc18.x86_64
OS Release: Fedora release 18

Comment 17 Adam Williamson 2012-11-23 03:25:42 UTC
This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.