Bug 1490223

Summary: blivet.errors.FSResizeError: resize failed: 1
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: python-blivetAssignee: Blivet Maintenance Team <blivet-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: anaconda-maint-list, blivet-maint-list, dlehman, jkonecny, jonathan, kellin, lnie, mkolman, pjones, robatino, rvykydal, sbueno, vanmeeuwen+fedora, vpodzime, vponcova, vtrefny, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:6998631c3e1a788f140628391335729de29346206fa4f1ddc9aab18714dd271e;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-22 07:54:36 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: 1396704    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.librepo.log
none
File: environ
none
File: hawkey.log
none
File: lorax-packages.log
none
File: lsblk_output
none
File: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description lnie 2017-09-11 06:09:09 UTC
Description of problem:
do a f26 installation using virt-manager;
try to do a f27 installation on that virt-machine with /home shrinked,
continue the installation,the crash occurs while I'm typing the password

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

The following was filed automatically by anaconda:
anaconda 27.20-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/blivet/formats/__init__.py", line 478, in do_resize
    raise FSResizeError(e, self.device)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/deviceaction.py", line 816, in execute
    self.device.format.do_resize()
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/actionlist.py", line 325, in process
    action.execute(callbacks)
  File "/usr/lib/python3.6/site-packages/blivet/actionlist.py", line 48, in wrapped_func
    return func(obj, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 163, in do_it
    self.devicetree.actions.process(callbacks=callbacks, devices=self.devices)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/osinstall.py", line 1112, in turn_on_filesystems
    storage.do_it(callbacks)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 438, in run_task
    self._task(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 472, in start
    self.run_task()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 304, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 304, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 365, in doInstall
    installation_queue.start()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 252, in run
    threading.Thread.run(self)
blivet.errors.FSResizeError: resize failed: 1

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/libexec/system-python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-27 rd.live.check quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.13.0-0.rc7.git0.1.fc27.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        27

Comment 1 lnie 2017-09-11 06:11:28 UTC
Created attachment 1324328 [details]
File: anaconda-tb

Comment 2 lnie 2017-09-11 06:11:33 UTC
Created attachment 1324329 [details]
File: anaconda.log

Comment 3 lnie 2017-09-11 06:11:37 UTC
Created attachment 1324330 [details]
File: dnf.librepo.log

Comment 4 lnie 2017-09-11 06:11:40 UTC
Created attachment 1324331 [details]
File: environ

Comment 5 lnie 2017-09-11 06:11:42 UTC
Created attachment 1324332 [details]
File: hawkey.log

Comment 6 lnie 2017-09-11 06:11:46 UTC
Created attachment 1324333 [details]
File: lorax-packages.log

Comment 7 lnie 2017-09-11 06:11:48 UTC
Created attachment 1324334 [details]
File: lsblk_output

Comment 8 lnie 2017-09-11 06:12:11 UTC
Created attachment 1324335 [details]
File: lvm.log

Comment 9 lnie 2017-09-11 06:12:13 UTC
Created attachment 1324336 [details]
File: nmcli_dev_list

Comment 10 lnie 2017-09-11 06:12:15 UTC
Created attachment 1324337 [details]
File: os_info

Comment 11 lnie 2017-09-11 06:12:21 UTC
Created attachment 1324338 [details]
File: program.log

Comment 12 lnie 2017-09-11 06:12:42 UTC
Created attachment 1324339 [details]
File: storage.log

Comment 13 lnie 2017-09-11 06:13:11 UTC
Created attachment 1324340 [details]
File: syslog

Comment 14 lnie 2017-09-11 06:13:13 UTC
Created attachment 1324341 [details]
File: ifcfg.log

Comment 15 lnie 2017-09-11 06:13:17 UTC
Created attachment 1324342 [details]
File: packaging.log

Comment 16 lnie 2017-09-13 04:41:55 UTC
Still see this crash with the latest 2017.09.12

Comment 17 Fedora Blocker Bugs Application 2017-09-21 05:03:27 UTC
Proposed as a Blocker for 27-final by Fedora user lnie using the blocker tracking app because:

 Looks like a final  blocker for me,it affects:
any installer mechanism for resizing storage volumes must correctly attempt the requested operation.

Comment 18 Jiri Konecny 2017-09-22 05:56:13 UTC
This looks to me like the storage related issue.
Changing components.

Comment 19 Vojtech Trefny 2017-09-22 07:54:36 UTC

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