overcloud-hardened-uefi-full image build failure on EL9 for rhel case.

Bug #1957856 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Sandeep Yadav

Bug Description

Description:

overcloud-hardened-uefi-full image build failure on rhel9, build on rhel9 is failing with below:-

~~~
2022-01-13 10:46:56.843 | + dnf -v -y remove grub2-efi-x64 grub2-efi-x64-modules shim-x64
2022-01-13 10:46:57.355 | Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, uploadprofile
2022-01-13 10:46:57.355 | DNF version: 4.10.0
2022-01-13 10:46:57.356 | cachedir: /var/cache/dnf
2022-01-13 10:46:57.368 | Unknown configuration option: module_hotfixs = 1 in /etc/yum.repos.d/rhos-release-17.0-nightly-rhel-9.repo
2022-01-13 10:46:57.377 | User-Agent: constructed: 'libdnf (Red Hat Enterprise Linux 9.0; generic; Linux.x86_64)'

2022-01-13 10:46:57.561 | No match for argument: grub2-efi-x64-modules >>>>>>>>>>>>>>

2022-01-13 10:46:57.562 | --> Starting dependency resolution
2022-01-13 10:46:57.562 | --> Finding unneeded leftover dependencies
2022-01-13 10:46:57.638 | --> Finished dependency resolution
2022-01-13 10:46:57.639 | Error:
2022-01-13 10:46:57.639 | Problem: The operation would result in removing the following protected packages: grub2-efi-x64
2022-01-13 10:46:57.640 | (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
~~~

comparing with centos9

https://logserver.rdoproject.org/13/37713/7/check/periodic-tripleo-centos-9-buildimage-overcloud-hardened-uefi-full-wallaby/c0f1472/overcloud-hardened-uefi-full.log

~~~
2022-01-05 15:47:05.741 | Running install-packages remove.
2022-01-05 15:47:05.741 | + dnf -v -y remove grub2-efi-x64 shim-x64
2022-01-05 15:47:06.188 | Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, uploadprofile
2022-01-05 15:47:06.188 | DNF version: 4.10.0
2022-01-05 15:47:06.189 | cachedir: /var/cache/dnf
2022-01-05 15:47:06.204 | User-Agent: constructed: 'libdnf (CentOS Stream 9; generic; Linux.x86_64)'
2022-01-05 15:47:06.287 | No match for argument: grub2-efi-x64
2022-01-05 15:47:06.287 | No match for argument: shim-x64
2022-01-05 15:47:06.287 | No packages marked for removal.
2022-01-05 15:47:06.287 | --> Starting dependency resolution
2022-01-05 15:47:06.293 | --> Finished dependency resolution
2022-01-05 15:47:06.293 | Dependencies resolved.
2022-01-05 15:47:06.295 | Nothing to do.
2022-01-05 15:47:06.295 | Complete!
~~~

In centos9 we don't have grub2-efi-x64-modules marked for removal.

Looks like we need similiar for rhel9: https://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/elements/grub2/pkg-map#L11-L15

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :
Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.