Bug 1317373

Summary: gi.overrides.BlockDev.LVMError: Process reported exit code 768: Size is not a multiple of 512. Try using 756641792 or 756642304.
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: libblockdevAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: anaconda-maint-list, blivet-maint-list, g.kaviyarasu, jonathan, sbueno, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:24d5b86287557dfc70b9e77dc63411d5870a2875eebb5ffc5424fded37634f5d;
Fixed In Version: libblockdev-1.6-1.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-18 18:51:35 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: dnf.log
none
File: environ
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
reproduce video
none
screenshot none

Description lnie 2016-03-14 06:54:35 UTC
Description of problem:
This crash happens everytime when I'm trying to install f24 on two storage devices on my vm and set the device type to Lvm Thin Provisioning

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

The following was filed automatically by anaconda:
anaconda 24.13-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/gi/overrides/BlockDev.py", line 416, in wrapped
    raise transform[1](msg)
  File "/usr/lib/python3.5/site-packages/blivet/devices/lvm.py", line 1622, in _create
    self.size)
  File "/usr/lib/python3.5/site-packages/blivet/devices/storage.py", line 457, in create
    self._create()
  File "/usr/lib/python3.5/site-packages/blivet/deviceaction.py", line 312, in execute
    self.device.create()
  File "/usr/lib/python3.5/site-packages/blivet/actionlist.py", line 280, in process
    action.execute(callbacks)
  File "/usr/lib/python3.5/site-packages/blivet/devicetree.py", line 381, in processActions
    callbacks=callbacks)
  File "/usr/lib/python3.5/site-packages/blivet/blivet.py", line 164, in doIt
    self.devicetree.processActions(callbacks=callbacks)
  File "/usr/lib/python3.5/site-packages/blivet/osinstall.py", line 1096, in turnOnFilesystems
    storage.doIt(callbacks)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/install.py", line 195, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
  File "/usr/lib64/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/threads.py", line 253, in run
    threading.Thread.run(self, *args, **kwargs)
gi.overrides.BlockDev.LVMError: Process reported exit code 768:   Size is not a multiple of 512. Try using 756641792 or 756642304.
  Invalid argument for --virtualsize: 756641955b
  Error during parsing of command line.


Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-rawh rd.live.check quiet
dnf.rpm.log:    Mar 14 06:47:06 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.5.0-0.rc7.git0.2.fc24.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        24

Comment 1 lnie 2016-03-14 06:58:04 UTC
Created attachment 1136060 [details]
File: anaconda-tb

Comment 2 lnie 2016-03-14 06:58:21 UTC
Created attachment 1136061 [details]
File: anaconda.log

Comment 3 lnie 2016-03-14 06:58:23 UTC
Created attachment 1136062 [details]
File: dnf.log

Comment 4 lnie 2016-03-14 06:58:24 UTC
Created attachment 1136063 [details]
File: environ

Comment 5 lnie 2016-03-14 06:58:26 UTC
Created attachment 1136064 [details]
File: lsblk_output

Comment 6 lnie 2016-03-14 06:59:21 UTC
Created attachment 1136065 [details]
File: lvm.log

Comment 7 lnie 2016-03-14 06:59:22 UTC
Created attachment 1136066 [details]
File: nmcli_dev_list

Comment 8 lnie 2016-03-14 06:59:24 UTC
Created attachment 1136067 [details]
File: os_info

Comment 9 lnie 2016-03-14 06:59:27 UTC
Created attachment 1136068 [details]
File: program.log

Comment 10 lnie 2016-03-14 07:00:14 UTC
Created attachment 1136069 [details]
File: storage.log

Comment 11 lnie 2016-03-14 07:01:18 UTC
Created attachment 1136071 [details]
File: syslog

Comment 12 lnie 2016-03-14 07:01:20 UTC
Created attachment 1136073 [details]
File: ifcfg.log

Comment 13 lnie 2016-03-14 07:01:22 UTC
Created attachment 1136074 [details]
File: packaging.log

Comment 14 lnie 2016-03-14 07:39:27 UTC
It seems that it's not two storage devices' fault,I can reproduce this on a single storage device when I'm trying to spare more space from swap to /boot.

Comment 15 lnie 2016-03-14 07:40:19 UTC
Created attachment 1136086 [details]
reproduce video

Comment 16 lnie 2016-03-14 07:47:04 UTC
I first saw this crash when I'm using the workstation-live,but failed to finish the bug report because of the workstations-live's network issues.

Comment 17 lnie 2016-03-14 07:48:30 UTC
Created attachment 1136088 [details]
screenshot

Comment 18 Vratislav Podzimek 2016-04-05 09:15:32 UTC
The pull request with the fix for this issue can be found at:
https://github.com/rhinstaller/libblockdev/pull/77

Comment 19 Fedora Update System 2016-06-01 11:34:44 UTC
libblockdev-1.6-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8b5973c5e4

Comment 20 Fedora Update System 2016-06-02 09:01:18 UTC
libblockdev-1.6-1.fc24 has been pushed to the Fedora 24 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-2016-8b5973c5e4

Comment 21 Fedora Update System 2016-06-18 18:51:32 UTC
libblockdev-1.6-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.