Bug 1165733 - reclaim dialog does not compute correctly the minimum size necessary to be reclaimed
Summary: reclaim dialog does not compute correctly the minimum size necessary to be re...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 26
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-11-19 14:48 UTC by Kamil Páral
Modified: 2018-05-29 12:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-05-29 12:03:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
step 1 (62.03 KB, image/png)
2014-11-19 14:49 UTC, Kamil Páral
no flags Details
step 2 (92.64 KB, image/png)
2014-11-19 14:51 UTC, Kamil Páral
no flags Details
step 3 (62.46 KB, image/png)
2014-11-19 14:52 UTC, Kamil Páral
no flags Details
step 4 (67.87 KB, image/png)
2014-11-19 14:54 UTC, Kamil Páral
no flags Details
step 5 (67.61 KB, image/png)
2014-11-19 14:55 UTC, Kamil Páral
no flags Details
step 6 (51.81 KB, image/png)
2014-11-19 14:57 UTC, Kamil Páral
no flags Details
anaconda.log (15.20 KB, text/plain)
2014-11-19 14:57 UTC, Kamil Páral
no flags Details
program.log (22.38 KB, text/plain)
2014-11-19 14:57 UTC, Kamil Páral
no flags Details
storage.log (131.15 KB, text/plain)
2014-11-19 14:57 UTC, Kamil Páral
no flags Details

Description Kamil Páral 2014-11-19 14:48:22 UTC
Description of problem:
See attached screenshots. I have a 10 GB disk with 2.6 GB of free space and 5.2 GB reclaimable space. The installation requires at least 6.9 GB of space. Which means I need to reclaim at least 4.3 GB of space, right? Well... that would be too easy math.

Anaconda's reclaim dialog is completely satisfied if I free up just 1.3 GB of space. That's a bug number one.

-> I think the problem is that the reclaim dialog only considers system space, but not swap.

However, after I confirm and return to the main hub, I'm greeted with an error message saying that I need to free up additional 0.9 GB. So the main hub computation is not the same as the reclaim dialog computation. That's a bug number two.

-> Swap is probably considered here. But its size has been decreased, most probably due to insufficient disk space to make it full-sized.

And finally, a bug number three is that reclaiming those ~2.3 GB is really sufficient, therefore the initial claim of requiring at least 6.9 GB of space was false (2.6+2.3=4.9 GB was sufficient).

-> I guess the initial dialog specified "ideal" swap size, not the minimum one. I'm not against the idea, it's a good idea to tell the user what the ideal partition sizes are. But it should not be present as the minimum partition size. So maybe present both numbers to the user? Or tell just the minimum and say that the bigger the better? (That's probably generally understood anyway.)

Version-Release number of selected component (if applicable):
anaconda-21.48.15-1.fc21.x86_64
python-blivet-0.61.10-1.fc21.noarch

How reproducible:
always

Steps to Reproduce:
1. create a disk with some existing data and too small free space for a new installation
2. reclaim only as little as allowed by the reclaim dialog
3. see error in the main hub
4. reclaim the remaining requested size
5. notice that you needed to reclaim less than originally stated in the first "you don't have enough free space" dialog

Comment 1 Kamil Páral 2014-11-19 14:49:51 UTC
Created attachment 959012 [details]
step 1

disk overview

Comment 2 Kamil Páral 2014-11-19 14:51:34 UTC
Created attachment 959014 [details]
step 2

"you don't have enough space" dialog. Please note that 3 GB is specified as the minimum for swap size. In total, I'm missing 4.3 GB of space, according to this dialog.

Comment 3 Kamil Páral 2014-11-19 14:52:59 UTC
Created attachment 959015 [details]
step 3

reclaim dialog. Please note that it talks just about the system data size requirements, but not about swap.

Comment 4 Kamil Páral 2014-11-19 14:54:04 UTC
Created attachment 959016 [details]
step 4

reclaim dialog. 1.2 GB of reclaimed space is still not enough.

Comment 5 Kamil Páral 2014-11-19 14:55:46 UTC
Created attachment 959018 [details]
step 5

reclaim dialog. 1.25 GB of space is finally enough to be reclaimed. The dialog apparently computes the size against just the system data number.

If I want to make the Fedora installation as small as possible, this is the value I'll select (the first value allowed by the reclaim dialog).

Comment 6 Kamil Páral 2014-11-19 14:57:03 UTC
Created attachment 959020 [details]
step 6

main hub. I received an error about insufficient disk space, even though the reclaim dialog in the previous step claimed that everything was OK (at least that's the user's impression).

Comment 7 Kamil Páral 2014-11-19 14:57:27 UTC
Created attachment 959021 [details]
anaconda.log

Comment 8 Kamil Páral 2014-11-19 14:57:30 UTC
Created attachment 959022 [details]
program.log

Comment 9 Kamil Páral 2014-11-19 14:57:34 UTC
Created attachment 959023 [details]
storage.log

Comment 10 Fedora End Of Life 2015-11-04 14:52:14 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Kamil Páral 2015-11-05 12:24:49 UTC
Happens in F23 as well.

Comment 12 Fedora End Of Life 2016-11-24 11:17:40 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Kamil Páral 2016-11-24 11:59:21 UTC
Tell me when you have time to look into this and I'll re-test and attach fresh logs.

Comment 14 Fedora End Of Life 2017-02-28 09:38:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 15 Fedora End Of Life 2018-05-03 08:53:36 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 16 Fedora End Of Life 2018-05-29 12:03:01 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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