Bug 1169441 - Anaconda does not correctly estimate the needed disk space prior to the installation
Summary: Anaconda does not correctly estimate the needed disk space prior to the insta...
Keywords:
Status: CLOSED DUPLICATE of bug 1169442
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-01 16:42 UTC by Helmut Horvath
Modified: 2015-11-10 14:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-10 14:01:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
kickstart file (1.27 KB, text/plain)
2014-12-01 16:42 UTC, Helmut Horvath
no flags Details
anaconda-yum.conf (291 bytes, text/plain)
2014-12-02 10:22 UTC, Helmut Horvath
no flags Details
anaconda.log (9.91 KB, text/plain)
2014-12-02 10:22 UTC, Helmut Horvath
no flags Details
packaging.log (303.38 KB, text/plain)
2014-12-02 10:23 UTC, Helmut Horvath
no flags Details
program.log (25.34 KB, text/plain)
2014-12-02 10:24 UTC, Helmut Horvath
no flags Details
storage.log (87.27 KB, text/plain)
2014-12-02 10:24 UTC, Helmut Horvath
no flags Details
storage.state (28.00 KB, application/octet-stream)
2014-12-02 10:25 UTC, Helmut Horvath
no flags Details
syslog (67.65 KB, text/plain)
2014-12-02 10:25 UTC, Helmut Horvath
no flags Details
X.log (13.46 KB, text/plain)
2014-12-02 10:25 UTC, Helmut Horvath
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.