Bug 1677415

Summary: f30 liveinst unable to install bootloader (due to grub2-mkconfig btrfs blsdir check assuming /boot/loader/entries exists)
Product: [Fedora] Fedora Reporter: satellitgo
Component: grub2Assignee: Javier Martinez Canillas <javierm>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: anaconda-maint-list, awilliam, bugzilla, fmartine, jonathan, kellin, lkundrak, pjones, satellitgo, vanmeeuwen+fedora, vponcova, wwoods
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: grub2-2.02-70.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-15 06:21:39 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
unable to install bootloader
none
liveinst failure
none
GTK could not be initialized using setenforce=0 on reboot
none
Install works in 20190216 in vmm none

Description satellitgo 2019-02-14 19:46:06 UTC
Created attachment 1534942 [details]
unable to install bootloader

Description of problem:
Unable to install bootloader

Version-Release number of selected component (if applicable):

anacona 30.23-1.fc30
How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 satellitgo 2019-02-14 20:08:57 UTC
Created attachment 1534951 [details]
liveinst failure

Comment 2 satellitgo 2019-02-14 20:10:23 UTC
Created attachment 1534952 [details]
GTK could not be initialized using setenforce=0 on reboot

Comment 3 satellitgo 2019-02-14 20:39:28 UTC
(In reply to satellitgo from comment #0)
> Created attachment 1534942 [details]
> unable to install bootloader
> 
> Description of problem:
> Unable to install bootloader
> 
> Version-Release number of selected component (if applicable):
> 
> anacona 30.23-1.fc30
> How reproducible:
> 
> 
> Steps to Reproduce:
> 1.
> 2.
> 3.
> 
> Actual results:
> 
> 
> Expected results:
> 
> 
> Additional info:

2048 memory 8 GB HD Oracle VM  fails like this

2048 memory 16 GB HD will test...

Comment 4 satellitgo 2019-02-14 20:51:29 UTC
still fails with 16 GB HD

Comment 5 Chris Murphy 2019-02-14 22:11:37 UTC
I just did one of these with 20190211 Live media, so you need to be more clear which compose you're using, and also need the /tmp/*log files so we can see what's going on. And also reproduce steps - did you use custom or automatic partitioning, etc.

Comment 6 Adam Williamson 2019-02-14 22:22:59 UTC
Almost certainly this is https://bugzilla.redhat.com/show_bug.cgi?id=1676357 . openQA tests failed the same way today and the logs point to that.

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

Comment 7 Adam Williamson 2019-02-15 17:21:09 UTC
Actually wasn't a dupe, there were two bugs. Yay.

Comment 8 Adam Williamson 2019-02-15 17:23:40 UTC
For the record, the other bug is that javier added a patch to grub2 intended to make something work better for btrfs BLS installs:

https://src.fedoraproject.org/rpms/grub2/c/e3a408a5213b41654d0802bed80fb261d685d7de?branch=master

but the 0282 patch there has a bug; it assumes /boot/loader/entries always already exists, which is not a safe assumption. In fact when grub2-mkconfig is run during Fedora live install, /boot/loader/entries does not exist yet. So that was failing.

Comment 9 satellitgo 2019-02-16 20:37:51 UTC
Created attachment 1535587 [details]
Install works in 20190216 in vmm

looks fixed in VMM 20190216 soas x86

Comment 10 Ben Cotton 2019-08-13 17:10:36 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 11 Ben Cotton 2019-08-13 19:34:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.