Bug 1430349

Summary: ValueError: Size limit must be greater than zero.
Product: [Fedora] Fedora Reporter: Martin Kolman <mkolman>
Component: blivet-guiAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: alciregi, anaconda-maint-list, g.kaviyarasu, goodmirek, jonathan, jvavra, lnie, mail.sau0, mkolman, pholica, vanmeeuwen+fedora, vponcova, vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:fe73238df1cd4ae1a626cc7a7de4da04d11e5b74dcafe4f2de0e37fca744051f;
Fixed In Version: blivet-gui-2.1.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-18 10:05:21 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: lsblk_output
none
File: nmcli_dev_list
none
File: os_info none

Description Martin Kolman 2017-03-08 12:29:55 UTC
Description of problem:
Tried to add a physical volume to a thin pool (yes, it's present in the list of options in the add dialog launched when thin pool is selected and the + icon clicked).

Version-Release number of selected component:
anaconda-26.21-1

The following was filed automatically by anaconda:
anaconda 26.21-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/size_chooser.py", line 208, in max_size_limit
    raise ValueError("Size limit must be greater than zero.")
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/add_dialog.py", line 773, in on_filesystems_combo_changed
    self.size_area.max_size_limit = self._get_max_size_limit()
ValueError: Size limit must be greater than zero.

Additional info:
addons:         com_redhat_docker, com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.11.0-0.rc0.git9.1.fc27.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 Martin Kolman 2017-03-08 12:30:01 UTC
Created attachment 1261245 [details]
File: anaconda-tb

Comment 2 Martin Kolman 2017-03-08 12:30:03 UTC
Created attachment 1261246 [details]
File: environ

Comment 3 Martin Kolman 2017-03-08 12:30:05 UTC
Created attachment 1261247 [details]
File: lsblk_output

Comment 4 Martin Kolman 2017-03-08 12:30:06 UTC
Created attachment 1261248 [details]
File: nmcli_dev_list

Comment 5 Martin Kolman 2017-03-08 12:30:07 UTC
Created attachment 1261249 [details]
File: os_info

Comment 6 Vojtech Trefny 2017-04-05 07:28:40 UTC
*** Bug 1439060 has been marked as a duplicate of this bug. ***

Comment 7 Jakub Vavra 2017-04-05 07:37:24 UTC
Similar problem has been detected:

It looks like blivet gui crashes whenever lvm pv is created.

addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/libexec/system-python  /sbin/anaconda
hashmarkername: anaconda
kernel:         4.11.0-0.rc3.git0.2.fc26.x86_64
package:        anaconda-26.21.1-1
product:        Fedora
reason:         ValueError: Size limit must be greater than zero.
release:        Cannot get release name.
version:        26

Comment 8 Alessio 2017-04-06 11:54:44 UTC
Similar problem has been detected:

Using BlivetGUI.
Delete existing partitions.
New -> Slect @physical volume (LVM)" from Filesystem dropdwon menu.
Crash.

addons:         com_redhat_kdump
cmdline:        /usr/libexec/system-python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
hashmarkername: anaconda
kernel:         4.11.0-0.rc3.git0.2.fc26.x86_64
other involved packages: blivet-gui-2.1.1-1.fc26.noarch
package:        anaconda-core-26.21.1-1.fc26.x86_64
product:        Fedora
reason:         ValueError: Size limit must be greater than zero.
release:        Fedora release 26 (Twenty Six)
version:        26

Comment 9 Vojtech Trefny 2017-04-06 13:38:46 UTC
*** Bug 1439717 has been marked as a duplicate of this bug. ***

Comment 10 lnie 2017-04-08 08:30:48 UTC
Similar problem has been detected:

Try to set the Filesystem to physical volume( LVM)

addons:         com_redhat_kdump
cmdline:        /usr/libexec/system-python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
hashmarkername: anaconda
kernel:         4.11.0-0.rc3.git0.2.fc26.x86_64
other involved packages: blivet-gui-2.1.1-1.fc26.noarch
package:        anaconda-core-26.21.1-1.fc26.x86_64
product:        Fedora
reason:         ValueError: Size limit must be greater than zero.
release:        Fedora release 26 (Twenty Six)
version:        26

Comment 11 Mirek Svoboda 2017-04-27 17:02:40 UTC
Similar problem has been detected:

creating partition, with filesystem physical volume (LVM)
size was set to maximum of available space, around 170GiB

addons:         com_redhat_kdump
cmdline:        /usr/libexec/system-python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
hashmarkername: anaconda
kernel:         4.11.0-0.rc3.git0.2.fc26.x86_64
other involved packages: blivet-gui-2.1.1-1.fc26.noarch
package:        anaconda-core-26.21.1-1.fc26.x86_64
product:        Fedora
reason:         ValueError: Size limit must be greater than zero.
release:        Fedora release 26 (Twenty Six)
version:        26

Comment 12 Vojtech Trefny 2017-04-28 18:41:37 UTC
*** Bug 1446343 has been marked as a duplicate of this bug. ***