Bug 1169441

Summary: Anaconda does not correctly estimate the needed disk space prior to the installation
Product: [Fedora] Fedora Reporter: Helmut Horvath <helmut-horvath>
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: 22CC: anaconda-maint-list, g.kaviyarasu, helmut-horvath, 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-11-10 14:01:54 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
kickstart file
none
anaconda-yum.conf
none
anaconda.log
none
packaging.log
none
program.log
none
storage.log
none
storage.state
none
syslog
none
X.log none

Description Helmut Horvath 2014-12-01 16:42:17 UTC
Created attachment 963376 [details]
kickstart file

Description of problem:
In some cases anaconda does not correctly estimate the needed disk space prior to the installation. This estimation algorithm should be improved.


How reproducible:
100% with the attached kickstart file.


Steps to Reproduce:
Install a system using the attached kickstart file.


Actual results:
Anaconda starts the installation and depending on the backend (yum or dnf) the installation will fail sooner or later.


Expected results:
The installation should not be started.

Comment 1 David Shea 2014-12-01 18:28:51 UTC
Please attach the log files from /tmp to this bug as individual, text/plain attachments.

Comment 2 Helmut Horvath 2014-12-02 10:22:32 UTC
Created attachment 963635 [details]
anaconda-yum.conf

Comment 3 Helmut Horvath 2014-12-02 10:22:51 UTC
Created attachment 963636 [details]
anaconda.log

Comment 4 Helmut Horvath 2014-12-02 10:23:19 UTC
Created attachment 963637 [details]
packaging.log

Comment 5 Helmut Horvath 2014-12-02 10:24:09 UTC
Created attachment 963638 [details]
program.log

Comment 6 Helmut Horvath 2014-12-02 10:24:35 UTC
Created attachment 963639 [details]
storage.log

Comment 7 Helmut Horvath 2014-12-02 10:25:13 UTC
Created attachment 963640 [details]
storage.state

Comment 8 Helmut Horvath 2014-12-02 10:25:32 UTC
Created attachment 963641 [details]
syslog

Comment 9 Helmut Horvath 2014-12-02 10:25:58 UTC
Created attachment 963642 [details]
X.log

Comment 10 Helmut Horvath 2014-12-02 10:28:14 UTC
All those attached logs were generated using the yum backend. For the dnf backend, look at the logs and comments of https://bugzilla.redhat.com/show_bug.cgi?id=1169442

Comment 11 Helmut Horvath 2014-12-02 10:38:42 UTC
Especially note Comment 11 in https://bugzilla.redhat.com/show_bug.cgi?id=1169442

10:06:03,669 INFO packaging: 1855 packages selected totalling 6743.86 MiB
10:06:03,703 INFO packaging: Sufficient mountpoints found: {'/mnt/sysimage': Size('4921.94 MiB'), '/mnt/sysimage/home': Size('4921.94 MiB'), '/tmp': Size('2028.86 MiB')}
10:06:03,740 INFO packaging: Download space required: 1687.51 MiB, use filesystem at: /mnt/sysimage

Anaconda seems to think /mnt/sysimage and /mnt/sysimage/home add up, but really they are the same partition (i.e. there is only 4921.94 MiB of space). This may be due to the btrfs subvolumes.

Comment 12 Jaroslav Reznik 2015-03-03 16:33:17 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 13 David Shea 2015-11-10 14:01:54 UTC
The yum backend is gone, so closing this bug

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