Bug 1116134

Summary: when making modifications to an automatically created layout in manual partitioning, reported available space is incorrect
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-02 19:56:08 UTC Type: Bug
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
screenshot.png
none
program.log
none
storage.log
none
anaconda.log none

Description Chris Murphy 2014-07-03 20:18:18 UTC
Created attachment 914584 [details]
screenshot.png

Description of problem:


Version-Release number of selected component (if applicable):
anaconda-21.46-2
python-blivet-0.60-1

How reproducible:
Always

Steps to Reproduce:
1. Get to Manual Partitioning
2. Click the link to create partitions automatically (LVM preset is left chosen)
3. Click on /home mount point, change file system to XFS, click Update Settings

Actual results:
Volume Group "fedora" changes from reporting (60GB free) to (0 B free), and Available Space changes from ~2MiB to 61.67MiB, which is impossible because the layout is consuming a total of 80GiB.

Expected results:
For the values to all add up correctly.

Additional info:

Comment 1 Chris Murphy 2014-07-03 20:20:09 UTC
Created attachment 914585 [details]
program.log

Comment 2 Chris Murphy 2014-07-03 20:20:22 UTC
Created attachment 914586 [details]
storage.log

Comment 3 Chris Murphy 2014-07-03 20:20:33 UTC
Created attachment 914587 [details]
anaconda.log

Comment 4 Chris Murphy 2014-07-03 20:58:58 UTC
All space on physical disk is consumed, and all space in the VG goes to the LVs. This is consistent with the mountpoint UI values, and the Volume Group (0 B free) value. So the problem seems to be just with the Available Space value going from ~2M to ~62G.

[root@localhost ~]# lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   80G  0 disk 
├─sda1            8:1    0  200M  0 part /boot/efi
├─sda2            8:2    0  500M  0 part /boot
└─sda3            8:3    0 79.3G  0 part 
  ├─fedora-root 253:0    0   50G  0 lvm  /
  ├─fedora-swap 253:1    0  2.5G  0 lvm  [SWAP]
  └─fedora-home 253:2    0 26.8G  0 lvm  /home

[root@localhost ~]# lvs
  LV   VG     Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  home fedora -wi-ao---- 26.75g                                                    
  root fedora -wi-ao---- 50.00g                                                    
  swap fedora -wi-ao----  2.50g

Comment 5 Jaroslav Reznik 2015-03-03 16:06:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 6 David Shea 2015-12-02 19:56:08 UTC
Seems to work ok on rawhide.