Description of problem: In order to build a whole disk image for uefi for RHEL 8, python3 packages need to be included and DIB_VERSION must be set to 3.
Created attachment 1611745 [details] /etc/os-release
Looks like it is this RHEL 8 issue - https://bugzilla.redhat.com/show_bug.cgi?id=1678634. From https://bugzilla.redhat.com/show_bug.cgi?id=1678634#c6 suggests removing grub2-efi-x64.
Grub issue in RHEL is tracked here https://bugzilla.redhat.com/show_bug.cgi?id=1680572, and it looks like there is a fix available in 8.1 - grub2-2.02-74, RHEL-8.1.0-20190701.0. What I recommend is: - close this bug as Verified since this bug was for creating the the UEFI whole disk image which does work now - I'll create a new bug tracking this "Failed to switch root:..." issue with a dependency on the RHEL bug and the grub fix being available in RHEL 8.1.
Added https://bugzilla.redhat.com/show_bug.cgi?id=1749310 to track the RHEL issue.
Env: openstack-tripleo-common-10.8.1-0.20190831030439.300785c.el8ost.noarch Agreed and we do see successful image now being built so we can now move to verify this bug.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:2811