Bug 2165949

Summary: ValueError: New minimal size cannot be bigger than current maximum size.
Product: [Fedora] Fedora Reporter: heinoldk
Component: blivet-guiAssignee: Vojtech Trefny <vtrefny>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: anaconda-maint-list, mkolman, vponcova, vslavik, vtrefny, w
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:481615f2ce4bdac0db8318cbdf0ec92de8d3e2e232a6a33c5856f0ec16760bc7;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: anaconda.log
none
File: dbus.log
none
File: environ
none
File: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log none

Description heinoldk 2023-01-31 14:57:47 UTC
Description of problem:
Just out of curiosity tried to check the encrypt checkbox when creating a boot partition with the advanced custom partition maker during setup, but it crashed when checking the box. This is in a virtual machine.

Version-Release number of selected component:
anaconda-core-37.12.6-1.fc37.x86_64

The following was filed automatically by anaconda:
anaconda 37.12.6 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.11/site-packages/blivetgui/dialogs/size_chooser.py", line 748, in min_size
    raise ValueError("New minimal size cannot be bigger than current maximum size.")
  File "/usr/lib/python3.11/site-packages/blivetgui/dialogs/size_chooser.py", line 255, in set_parents_reserved_size
    self.main_chooser.min_size = self.min_size
  File "/usr/lib/python3.11/site-packages/blivetgui/dialogs/add_dialog.py", line 590, in update_size_area_limits
    self.size_area.set_parents_reserved_size(reserved_size)
  File "/usr/lib/python3.11/site-packages/blivetgui/dialogs/add_dialog.py", line 913, in on_encrypt_check
    self.update_size_area_limits(min_size=self._get_min_size_limit(),
  File "/usr/lib/python3.11/site-packages/blivetgui/dialogs/widgets.py", line 379, in _on_encrypt_toggled
    handler.method(self.encrypt, *handler.args)
ValueError: New minimal size cannot be bigger than current maximum size.

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-37-1-7 rd.live.image rd.live.check quiet
dnf.librepo.log: 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         6.0.7-301.fc37.x86_64
other involved packages: blivet-gui-runtime-2.4.0-1.fc37.noarch
product:        Fedora
release:        Fedora release 37 (Thirty Seven)
type:           anaconda
version:        37

Comment 1 heinoldk 2023-01-31 14:57:49 UTC
Created attachment 1941317 [details]
File: anaconda-tb

Comment 2 heinoldk 2023-01-31 14:57:51 UTC
Created attachment 1941318 [details]
File: anaconda.log

Comment 3 heinoldk 2023-01-31 14:57:52 UTC
Created attachment 1941319 [details]
File: dbus.log

Comment 4 heinoldk 2023-01-31 14:57:53 UTC
Created attachment 1941320 [details]
File: environ

Comment 5 heinoldk 2023-01-31 14:57:55 UTC
Created attachment 1941321 [details]
File: journalctl

Comment 6 heinoldk 2023-01-31 14:57:56 UTC
Created attachment 1941322 [details]
File: lsblk_output

Comment 7 heinoldk 2023-01-31 14:57:57 UTC
Created attachment 1941323 [details]
File: nmcli_dev_list

Comment 8 heinoldk 2023-01-31 14:57:58 UTC
Created attachment 1941324 [details]
File: os_info

Comment 9 heinoldk 2023-01-31 14:57:59 UTC
Created attachment 1941325 [details]
File: program.log

Comment 10 heinoldk 2023-01-31 14:58:01 UTC
Created attachment 1941326 [details]
File: storage.log