Bug 1429988

Summary: ValueError: New size must be between minimal (4 MiB) and maximum (0 B) size.
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: anaconda-maint-list, g.kaviyarasu, jonathan, mkolman, mruckman, vanmeeuwen+fedora, vponcova, vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:7ec89be8f32fd9afb94cbb66a831c4c5f11f0b8ef1a699943b67404f9b0da78c; AcceptedFreezeException
Fixed In Version: blivet-gui-2.1.1-1 blivet-gui-2.1.1-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-20 22:19:38 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: 1349185    
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-07 15:41:36 UTC
Description of problem:
Try to create a LVM snapshot.

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 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 128, in __init__
    self.main_chooser = SizeChooser(max_size=self.max_size, min_size=self.min_size)
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/add_dialog.py", line 681, in add_size_area
    raid_type=raid_level)
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/add_dialog.py", line 918, in on_devices_combo_changed
    self.add_size_area()
ValueError: New size must be between minimal (4 MiB) and maximum (0 B) size.

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.git5.1.fc26.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 Martin Kolman 2017-03-07 15:41:42 UTC
Created attachment 1260857 [details]
File: anaconda-tb

Comment 2 Martin Kolman 2017-03-07 15:41:43 UTC
Created attachment 1260858 [details]
File: environ

Comment 3 Martin Kolman 2017-03-07 15:41:44 UTC
Created attachment 1260859 [details]
File: lsblk_output

Comment 4 Martin Kolman 2017-03-07 15:41:46 UTC
Created attachment 1260861 [details]
File: nmcli_dev_list

Comment 5 Martin Kolman 2017-03-07 15:41:47 UTC
Created attachment 1260862 [details]
File: os_info

Comment 6 Vojtech Trefny 2017-03-07 15:59:45 UTC
https://github.com/rhinstaller/blivet-gui/pull/43

Comment 7 Fedora Blocker Bugs Application 2017-03-08 17:10:13 UTC
Proposed as a Freeze Exception for 26-alpha by Fedora user m4rtink using the blocker tracking app because:

 It would be good to fix this quite likely to be hit crash by bringing in updated blivet-gui through a freeze exception.

Comment 8 Mike Ruckman 2017-03-13 18:47:05 UTC
Discussed in today's Blocker Review Meeting. We'd consider letting a fix for this in during freeze.

Comment 9 Fedora Update System 2017-03-14 15:18:02 UTC
blivet-gui-2.1.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5a91779bad

Comment 10 Fedora Update System 2017-03-15 04:24:26 UTC
blivet-gui-2.1.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5a91779bad

Comment 11 Fedora Update System 2017-03-20 22:19:38 UTC
blivet-gui-2.1.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.