View Issue Details

IDProjectCategoryView StatusLast Update
0016601CentOS-8anacondapublic2019-10-21 00:42
Reportermatthewdva 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version8.0.1905 
Target VersionFixed in Version 
Summary0016601: Anaconda over estimates minimum storage requirements
DescriptionDuring a kickstart minimal installation, anaconda incorrectly over estimates the storage requirements. The minimal limit appears to be set at 2.79GIB. However the installation will success with less space when forced to continue. It may be pure coincidence, but the "bonus size' is 279.24MiB.

Steps To ReproducePerform a kickstart installation with the following storage configuration, or any storage configuration with / less than 2.79GiB:
bootloader --location=mbr --driveorder=sda
# Disk Partitions
clearpart --list=sda --all
part /boot/efi --fstype efi --ondisk=sda --asprimary --size=50
part /boot --fstype ext4 --size=1072 --ondisk=sda --asprimary
part pv.00 --size=1 --grow --ondisk=sda --asprimary

# Volume Groups

volgroup vg_centos pv.00 --reserved-percent=5

# Logical Volumes

logvol / --fstype ext4 --name=root --vgname=vg_centos --size=2056
logvol swap --fstype swap --name=swap --vgname=vg_centos --recommended
logvol /var --fstype ext4 --name=var --vgname=vg_centos --size=4252
logvol /var/log --fstype ext4 --mkfsoptions="-m 0" --name=varlog --vgname=vg_centos --size=100 --grow

%packages --nocore --excludeWeakdeps
@^minimal-environment
@guest-agents
bash-completion
checkpolicy
dhclient
epel-release
firewalld
hostname
libsss_simpleifp
man-db
NetworkManager
openssh-clients
openssh-server
policycoreutils-newrole
policycoreutils-restorecond
rootfiles
rsync
selinux-policy-targeted
sssd-tools
sudo
tmux
traceroute
vim-minimal
vim-enhanced
yum
-aic94xx-firmware
-iwl*-firmware
-ivtv-firmware
-dracut-config-rescue
-net-tools
-usb_modeswitch
-setserial
%end
Additional InformationRelevant log entries from anaconda:
[anaconda root@localhost tmp]# grep '2\.79' *.log
anaconda.log:02:21:04,061 INF ui.lib.space: fs space: 1.71 GiB needed: 2.79 GiB
packaging.log:02:21:04,058 INF packaging: Estimated size: download 0 B & install 2.79 GiB
packaging.log:02:21:04,060 DBG packaging: Installation space required 2.79 GiB
packaging.log:02:21:04,075 INF packaging: Estimated size: download 0 B & install 2.79 GiB
packaging.log:02:21:04,076 DBG packaging: Installation space required 2.79 GiB

From packaging.log
02:21:30,879 INF packaging: skipping core group due to %%packages --nocore;
 system may not be complete
02:21:30,880 INF packaging: selected environment: minimal-environment
02:21:30,880 INF packaging: excluded package: 'aic94xx-firmware'
02:21:30,880 INF packaging: excluded package: 'iwl*-firmware'
02:21:30,880 INF packaging: excluded package: 'ivtv-firmware'
02:21:30,880 INF packaging: excluded package: 'dracut-config-rescue'
02:21:30,881 INF packaging: excluded package: 'net-tools'
02:21:30,881 INF packaging: excluded package: 'usb_modeswitch'
02:21:30,881 INF packaging: excluded package: 'setserial'
02:21:30,881 INF packaging: selected package: 'bash-completion'
02:21:30,881 INF packaging: selected package: 'checkpolicy'
02:21:30,882 INF packaging: selected package: 'dhclient'
02:21:30,882 INF packaging: selected package: 'epel-release'
02:21:30,882 INF packaging: selected package: 'firewalld'
02:21:30,882 INF packaging: selected package: 'hostname'
02:21:30,882 INF packaging: selected package: 'libsss_simpleifp'
02:21:30,883 INF packaging: selected package: 'man-db'
02:21:30,883 INF packaging: selected package: 'NetworkManager'
02:21:30,883 INF packaging: selected package: 'openssh-clients'
02:21:30,883 INF packaging: selected package: 'openssh-server'
02:21:30,883 INF packaging: selected package: 'policycoreutils-newrole'
02:21:30,884 INF packaging: selected package: 'policycoreutils-restorecond'
02:21:30,884 INF packaging: selected package: 'rootfiles'
02:21:30,884 INF packaging: selected package: 'rsync'
02:21:30,884 INF packaging: selected package: 'selinux-policy-targeted'
02:21:30,884 INF packaging: selected package: 'sssd-tools'
02:21:30,885 INF packaging: selected package: 'sudo'
02:21:30,885 INF packaging: selected package: 'tmux'
02:21:30,885 INF packaging: selected package: 'traceroute'
02:21:30,885 INF packaging: selected package: 'vim-minimal'
02:21:30,885 INF packaging: selected package: 'vim-enhanced'
02:21:30,886 INF packaging: selected package: 'yum'
02:21:30,886 INF packaging: kernel: selected kernel
02:21:30,886 DBG packaging: selected package: lvm2, requirement for ['storage']
02:21:30,887 DBG packaging: selected package: dosfstools, requirement for ['storage']
02:21:30,887 DBG packaging: selected package: e2fsprogs, requirement for ['storage']
02:21:30,887 DBG packaging: selected package: firewalld, requirement for ['firewall']
02:21:30,887 DBG packaging: selected package: chrony, requirement for ['ntp']
 02:21:30,887 DBG packaging: selected package: grub2-efi-x64, requirement for ['bootloader']
02:21:30,888 DBG packaging: selected package: shim-x64, requirement for ['bootloader']
02:21:30,888 DBG packaging: selected package: efibootmgr, requirement for ['bootloader']
02:21:30,888 DBG packaging: selected package: grub2, requirement for ['bootloader']
02:21:30,888 DBG packaging: selected package: grub2-tools, requirement for ['bootloader']
02:21:30,888 DBG packaging: selected package: langpacks-en, requirement for ['langpacks']
02:21:30,889 DBG packaging: selected group: platform-microsoft, requirement for ['platform']
02:21:30,889 DBG packaging: transaction include list
02:21:30,889 DBG packaging: ['@minimal-environment', '@guest-agents', 'bash-completion', 'checkpolicy', 'dhclient', 'epel-release', 'firewalld', 'hostname', 'libsss_simpleifp', 'man-db', 'NetworkManager', 'openssh-clients', 'openssh-server', 'policycoreutils-newrole', 'policycoreutils-restorecond', 'rootfiles', 'rsync', 'sshguard', 'selinux-policy-targeted', 'sssd-tools', 'sudo', 'tmux', 'traceroute', 'vim-minimal', 'vim-enhanced', 'yum', 'kernel', '@platform-microsoft', 'langpacks-en', 'dosfstools', 'chrony', 'firewalld', 'grub2-efi-x64', 'grub2-tools', 'e2fsprogs', 'shim-x64', 'grub2', 'lvm2', 'efibootmgr']
02:21:30,890 DBG packaging: transaction exclude list
02:21:30,890 DBG packaging: ['@core', 'aic94xx-firmware', 'iwl*-firmware', 'ivtv-firmware', 'dracut-config-rescue', 'net-tools', 'usb_modeswitch', 'setserial']
02:21:31,228 DBG dnf: Adding packages from group 'guest-agents': {<libcomps.Package object 'qemu-guest-agent' at 0x7fc8a715a0f0>, <libcomps.Package object 'hyperv-daemons' at 0x7fc8a715a0a8>, <libcomps.Package object 'open-vm-tools' at 0x7fc8a715a0d8>}
02:21:31,232 DBG dnf: Adding packages from group 'platform-microsoft': {<libcomps.Package object 'hyperv-daemons' at 0x7fc8a715a108>}
02:21:31,269 Level 8 dnf: timer: depsolve: 36 ms
02:21:31,275 INF packaging: checking dependencies: success
02:21:31,316 DBG packaging: Size from DNF: 869.01 MiB
02:21:31,317 DBG packaging: Bonus size 279.24 MiB by number of files 47657
02:21:31,317 DBG packaging: Total size required 1.23 GiB
TagsAnaconda, centos 8

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-10-16 03:43 matthewdva New Issue
2019-10-16 03:43 matthewdva Tag Attached: Anaconda
2019-10-16 03:43 matthewdva Tag Attached: centos 8