Bug 1614462

Summary: ValueError: new size same as old size
Product: [Fedora] Fedora Reporter: Vedran Miletić <vedran>
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: rawhideCC: anaconda-maint-list, jonathan, kellin, vanmeeuwen+fedora, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b90fcd78d67f002f976c585e7a0ea2b7921b0ccc4d1dd74c4ae2d6e41ef7d556;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-13 13:01:52 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: 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
File: ifcfg.log none

Description Vedran Miletić 2018-08-09 16:15:26 UTC
Description of problem:
Trying to set existing partition size to a value larger than the original

Version-Release number of selected component:
anaconda-core-29.23-2.fc29.x86_64

The following was filed automatically by anaconda:
anaconda 29.23 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.7/site-packages/blivet/deviceaction.py", line 458, in __init__
    raise ValueError("new size same as old size")
  File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/blivet/blivet.py", line 874, in resize_device
    actions.append(ActionResizeDevice(device, new_size))
  File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/ui/gui/spokes/custom_storage.py", line 834, in _handle_size_change
    self._storage_playground.resize_device(use_dev, use_size)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/ui/gui/spokes/custom_storage.py", line 137, in decorated
    return func(*args, **kwargs)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/ui/gui/spokes/custom_storage.py", line 1243, in _save_right_side
    self._handle_size_change(size, old_size, device)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/ui/gui/spokes/custom_storage.py", line 2350, in _save_current_page
    self._save_right_side(selector)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/ui/gui/spokes/custom_storage.py", line 2360, in on_selector_clicked
    self._save_current_page(old_selector)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 372, in process_event
    cb(old_selector, selector)
ValueError: new size same as old size

Additional info:
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-Rawhide-20180808- rd.live.image quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.18.0-0.rc8.git1.1.fc29.x86_64
other involved packages: anaconda-gui-29.23-2.fc29.x86_64, python3-blivet-3.1.0-0.5.b2.fc29.noarch
product:        Fedora
release:        Fedora release 29 (Rawhide)
release_type:   pre-release
type:           anaconda
version:        rawhide

Comment 1 Vedran Miletić 2018-08-09 16:15:35 UTC
Created attachment 1474750 [details]
File: anaconda-tb

Comment 2 Vedran Miletić 2018-08-09 16:15:37 UTC
Created attachment 1474751 [details]
File: anaconda.log

Comment 3 Vedran Miletić 2018-08-09 16:15:39 UTC
Created attachment 1474752 [details]
File: dbus.log

Comment 4 Vedran Miletić 2018-08-09 16:15:40 UTC
Created attachment 1474753 [details]
File: environ

Comment 5 Vedran Miletić 2018-08-09 16:15:44 UTC
Created attachment 1474754 [details]
File: journalctl

Comment 6 Vedran Miletić 2018-08-09 16:15:45 UTC
Created attachment 1474755 [details]
File: lsblk_output

Comment 7 Vedran Miletić 2018-08-09 16:15:47 UTC
Created attachment 1474756 [details]
File: nmcli_dev_list

Comment 8 Vedran Miletić 2018-08-09 16:15:48 UTC
Created attachment 1474757 [details]
File: os_info

Comment 9 Vedran Miletić 2018-08-09 16:15:50 UTC
Created attachment 1474758 [details]
File: program.log

Comment 10 Vedran Miletić 2018-08-09 16:15:52 UTC
Created attachment 1474759 [details]
File: storage.log

Comment 11 Vedran Miletić 2018-08-09 16:15:54 UTC
Created attachment 1474760 [details]
File: ifcfg.log

Comment 12 Vendula Poncova 2018-08-13 13:01:52 UTC

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