Bug 1169442 - dnf backend does not warn about failing transaction from installation source
Summary: dnf backend does not warn about failing transaction from installation source
Keywords:
Status: CLOSED EOL
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:
: 1169441 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-01 16:43 UTC by Helmut Horvath
Modified: 2016-07-19 12:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 12:27:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
kickstart file (1.27 KB, text/plain)
2014-12-01 16:43 UTC, Helmut Horvath
no flags Details
anaconda.log (10.00 KB, text/plain)
2014-12-02 09:53 UTC, Helmut Horvath
no flags Details
dnf.log (212.95 KB, text/plain)
2014-12-02 09:53 UTC, Helmut Horvath
no flags Details
dnf.rpm.log (49 bytes, text/plain)
2014-12-02 09:54 UTC, Helmut Horvath
no flags Details
packaging.log (3.05 KB, text/plain)
2014-12-02 09:54 UTC, Helmut Horvath
no flags Details
program.log (26.08 KB, text/plain)
2014-12-02 09:55 UTC, Helmut Horvath
no flags Details
storage.log (87.20 KB, text/plain)
2014-12-02 09:55 UTC, Helmut Horvath
no flags Details
storage.state (28.00 KB, application/octet-stream)
2014-12-02 09:56 UTC, Helmut Horvath
no flags Details
syslog (67.58 KB, text/plain)
2014-12-02 09:56 UTC, Helmut Horvath
no flags Details
X.log (13.50 KB, text/plain)
2014-12-02 09:57 UTC, Helmut Horvath
no flags Details

Description Helmut Horvath 2014-12-01 16:43:22 UTC
Created attachment 963377 [details]
kickstart file

Description of problem:
Contrary to the yum backend, the dnf backend does not warn you when there is not enough disk space for the transaction from installation source.
The yum backend shows a screen like this: http://i.imgur.com/jU8z6t5.png
The dnf backend does not show any dialog, the system is simply shutdown.
Apart from that, the yum backend discovers the problem before downloading all the packages.


How reproducible:
100% with the attached kickstart file.


Steps to Reproduce:
Run an installation with the dnf backend using the attached kickstart file (make sure to replace $releasever and $basearch variables, as the dnf backend does not that handle currently, see https://bugzilla.redhat.com/show_bug.cgi?id=1164803)

Actual results:
Anaconda downloads all packages, after that the installer shortly shows "Preparing transaction from installation source", after that the machine is being shut down, without any visible feedback that something has gone wrong.


Expected results:
At least Anaconda should show a dialog, stating that the installation failed and print the problem source.
Ideally the algorithm estimating the needed space is improved, especially when using btrfs filesystems with a lot of subvolumes, see also https://bugzilla.redhat.com/show_bug.cgi?id=1169441

Comment 1 David Shea 2014-12-01 18:30:11 UTC
Please attach the log files from /tmp to this bug as individual, text/plain attachments. Adding "nokill" to the boot parameters will prevent the shutdown when anaconda exits.

Comment 2 Helmut Horvath 2014-12-02 09:53:15 UTC
Created attachment 963621 [details]
anaconda.log

Comment 3 Helmut Horvath 2014-12-02 09:53:45 UTC
Created attachment 963622 [details]
dnf.log

Comment 4 Helmut Horvath 2014-12-02 09:54:09 UTC
Created attachment 963623 [details]
dnf.rpm.log

Comment 5 Helmut Horvath 2014-12-02 09:54:53 UTC
Created attachment 963624 [details]
packaging.log

Comment 6 Helmut Horvath 2014-12-02 09:55:19 UTC
Created attachment 963625 [details]
program.log

Comment 7 Helmut Horvath 2014-12-02 09:55:47 UTC
Created attachment 963626 [details]
storage.log

Comment 8 Helmut Horvath 2014-12-02 09:56:18 UTC
Created attachment 963627 [details]
storage.state

Comment 9 Helmut Horvath 2014-12-02 09:56:44 UTC
Created attachment 963628 [details]
syslog

Comment 10 Helmut Horvath 2014-12-02 09:57:06 UTC
Created attachment 963629 [details]
X.log

Comment 11 Helmut Horvath 2014-12-02 10:21:59 UTC
Those logs are not really very informative for this bug, as this bug concerns a missing warning dialog in the dnf backend.
Part of the problem is the following in packaging.log:

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, but this part of the problem concerns https://bugzilla.redhat.com/show_bug.cgi?id=1169441

Comment 12 Jaroslav Reznik 2015-03-03 16:33:19 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
*** Bug 1169441 has been marked as a duplicate of this bug. ***

Comment 14 Fedora End Of Life 2016-07-19 12:27:59 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 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.