Bug 1446343

Summary: ValueError: New size must be between minimal (8 MiB) and maximum (5 MiB) size.
Product: [Fedora] Fedora Reporter: Mirek Svoboda <goodmirek>
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: 26CC: anaconda-maint-list, g.kaviyarasu, jonathan, mkolman, vanmeeuwen+fedora, vponcova, vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:526110be32970bb33c61d04f35451331c0fefe7c53a9abe1c4debfef64e1da88;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-28 18:41:37 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: environ
none
File: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info none

Description Mirek Svoboda 2017-04-27 17:26:46 UTC
Description of problem:
selecting checkbox "Manually specify layout" for device type LVM2 Volume Group, while selecting two available devices (170GiB and 5MiB)

Version-Release number of selected component:
anaconda-core-26.21.1-1.fc26.x86_64

The following was filed automatically by anaconda:
anaconda 26.21.1-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/size_chooser.py", line 731, in selected_size
    raise ValueError("New size must be between minimal (%s) and maximum (%s) size." % (self.min_size, self.max_size))
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/size_chooser.py", line 721, in __init__
    self.selected_size = max_size
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/size_chooser.py", line 586, in __init__
    self.size_chooser = SizeChooser(max_size=max_size, min_size=min_size)
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/size_chooser.py", line 499, in _add_parent_choosers
    size_selectable=size_selectable)
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/size_chooser.py", line 372, in __init__
    self._add_parent_choosers()
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/size_chooser.py", line 299, in _add_advanced_area
    self._parent_area = ParentArea(self.device_type, self.parents, self.raid_type, self.main_chooser)
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/size_chooser.py", line 344, in _on_manual_toggled
    self._add_advanced_area()
ValueError: New size must be between minimal (8 MiB) and maximum (5 MiB) size.

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/libexec/system-python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.11.0-0.rc3.git0.2.fc26.x86_64
other involved packages: blivet-gui-2.1.1-1.fc26.noarch
product:        Fedora
release:        Fedora release 26 (Twenty Six)
type:           anaconda
version:        26

Comment 1 Mirek Svoboda 2017-04-27 17:26:57 UTC
Created attachment 1274736 [details]
File: anaconda-tb

Comment 2 Mirek Svoboda 2017-04-27 17:26:58 UTC
Created attachment 1274737 [details]
File: environ

Comment 3 Mirek Svoboda 2017-04-27 17:27:05 UTC
Created attachment 1274738 [details]
File: journalctl

Comment 4 Mirek Svoboda 2017-04-27 17:27:07 UTC
Created attachment 1274739 [details]
File: lsblk_output

Comment 5 Mirek Svoboda 2017-04-27 17:27:13 UTC
Created attachment 1274740 [details]
File: nmcli_dev_list

Comment 6 Mirek Svoboda 2017-04-27 17:27:14 UTC
Created attachment 1274741 [details]
File: os_info

Comment 7 Vojtech Trefny 2017-04-28 18:41:37 UTC

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