Bug 1246901

Summary: ValueError: not enough free space in volume group
Product: [Fedora] Fedora Reporter: Bruno Roberto Zanuzzo <brunorobertozanuzzo>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: anaconda-maint-list, awilliam, bcl, dlehman, g.kaviyarasu, jkonecny, jonathan, pschindl, robatino, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:99a24bab70edc897f00ab5521d98ff60c210777d8903e8307d8f3542f5d4c836 AcceptedBlocker
Fixed In Version: python-blivet-1.11-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-04 02:31:22 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: 1170819    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.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 Bruno Roberto Zanuzzo 2015-07-26 19:06:40 UTC
Description of problem:
Description of problem
Exception when trying to automatically create mount points for LVM thin provisioning schema.

Component version / Fedora Release:
anaconda-23.17-1.fc23.x86_64
Fedora 23 Alpha TC2
Linux localhost 4.2.0-0.rc3.git4.1.fc23.x86_64 #1 SMP Fri Jul 24 14:24:34 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Steps to reproduce:
1. On installation, select manual partitioning;
2. Schema: LVM Thin Provisioning;
3. Click to create automatic mount points.

Actual results:
Python raises an exception "not enough free space in volume group";

Expected results:
Create mount points based on selected schema otherwise inform the user the reason why this was not possible.

Additional info:
VM on virt-manager(kvm)
device type: VirtIO
Disk total space: 8GB

Version-Release number of selected component:
anaconda-core-23.17-1.fc23.x86_64

The following was filed automatically by anaconda:
anaconda 23.17-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.4/site-packages/blivet/devices/lvm.py", line 618, in _setSize
    raise ValueError("not enough free space in volume group")
  File "/usr/lib/python3.4/site-packages/blivet/devices/lvm.py", line 1509, in _setSize
    super(LVMThinLogicalVolumeDevice, self)._setSize(size)
  File "/usr/lib/python3.4/site-packages/blivet/partitioning.py", line 1863, in _apply_chunk_growth
    req.device.size = size
  File "/usr/lib/python3.4/site-packages/blivet/partitioning.py", line 1923, in growLVM
    _apply_chunk_growth(thin_chunk)
  File "/usr/lib/python3.4/site-packages/blivet/autopart.py", line 505, in doAutoPartition
    growLVM(storage)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2325, in _do_autopart
    min_luks_entropy=crypto.MIN_CREATE_ENTROPY)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 135, in decorated
    return func(*args, **kwargs)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2372, in on_create_clicked
    self._do_autopart()
ValueError: not enough free space in volume group

Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-LXDE-x86_64-23_A-T2 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.0-0.rc3.git4.1.fc23.x86_64
other involved packages: anaconda-gui-23.17-1.fc23.x86_64, python3-blivet-1.10-1.fc23.noarch
product:        Fedora
release:        Fedora release 23 (Twenty Three)
type:           anaconda
version:        23

Comment 1 Bruno Roberto Zanuzzo 2015-07-26 19:06:48 UTC
Created attachment 1056359 [details]
File: anaconda-tb

Comment 2 Bruno Roberto Zanuzzo 2015-07-26 19:06:50 UTC
Created attachment 1056360 [details]
File: anaconda.log

Comment 3 Bruno Roberto Zanuzzo 2015-07-26 19:06:51 UTC
Created attachment 1056361 [details]
File: environ

Comment 4 Bruno Roberto Zanuzzo 2015-07-26 19:06:56 UTC
Created attachment 1056362 [details]
File: journalctl

Comment 5 Bruno Roberto Zanuzzo 2015-07-26 19:06:58 UTC
Created attachment 1056363 [details]
File: lsblk_output

Comment 6 Bruno Roberto Zanuzzo 2015-07-26 19:06:59 UTC
Created attachment 1056364 [details]
File: nmcli_dev_list

Comment 7 Bruno Roberto Zanuzzo 2015-07-26 19:07:00 UTC
Created attachment 1056365 [details]
File: os_info

Comment 8 Bruno Roberto Zanuzzo 2015-07-26 19:07:02 UTC
Created attachment 1056366 [details]
File: program.log

Comment 9 Bruno Roberto Zanuzzo 2015-07-26 19:07:06 UTC
Created attachment 1056367 [details]
File: storage.log

Comment 10 Bruno Roberto Zanuzzo 2015-07-26 19:07:07 UTC
Created attachment 1056368 [details]
File: ifcfg.log

Comment 11 David Lehman 2015-07-29 13:58:16 UTC
This should be resolved by upstream commit d7fd2db in python-blivet-1.11-1.

Comment 12 Vojtech Trefny 2015-08-03 08:21:30 UTC
*** Bug 1249266 has been marked as a duplicate of this bug. ***

Comment 13 Petr Schindler 2015-08-03 16:25:16 UTC
Discussed at today's blocker review meeting [1].

This bug was accepted as Beta blocker - This bug is a clear violation of the following Beta criterion: "When using the custom partitioning flow, the installer must be able to:  ... Create mount points backed by ext4 partitions, LVM volumes or btrfs volumes, or software RAID arrays at RAID levels 0, 1 and 5 containing ext4 partitions."

[1] http://meetbot.fedoraproject.org/fedora-blocker-review/2015-08-03/

Comment 14 Adam Williamson 2015-09-04 02:31:22 UTC
1.12-1 is now in stable, and the LVM thinp test is passing in openQA nightly tests. Closing.