While testing fix for bug #1976095 noticed: ``` Running transaction Preparing : 1/1 Upgrading : redhat-release-virtualization-host-content-4.4.7-2.el8ev.x86_64 1/2 Running scriptlet: redhat-release-virtualization-host-content-4.4.7-2.el8ev.x86_64 1/2 Failed to enable unit: Unit file rdma.service does not exist. Cleanup : redhat-release-virtualization-host-content-4.4.7-1.el8ev.x86_64 2/2 Verifying : redhat-release-virtualization-host-content-4.4.7-2.el8ev.x86_64 1/2 Verifying : redhat-release-virtualization-host-content-4.4.7-1.el8ev.x86_64 2/2 Persisting: redhat-release-virtualization-host-content-4.4.7-2.el8ev.x86_64.rpm Unpersisting: redhat-release-virtualization-host-content-4.4.7-1.el8ev.x86_64.rpm Installed products updated. Upgraded: redhat-release-virtualization-host-content-4.4.7-2.el8ev.x86_64 ``` Looking at systemd units related to rdma I see: ``` /usr/lib/systemd/system/rdma-hw.target /usr/lib/systemd/system/rdma-load-modules@.service /usr/lib/systemd/system/rdma-ndd.service ``` The enablement of the rdma service seems to be added in %post section as a workaround for bug #1809618. Gobinda I understand rdma is not used in RHHI, any other reason for trying to enable the service? If not, I would go with removing the failing command from %post.
(In reply to Sandro Bonazzola from comment #0) > While testing fix for bug #1976095 noticed: > > ``` > Running transaction > Preparing : > 1/1 > Upgrading : > redhat-release-virtualization-host-content-4.4.7-2.el8ev.x86_64 1/2 > Running scriptlet: > redhat-release-virtualization-host-content-4.4.7-2.el8ev.x86_64 1/2 > Failed to enable unit: Unit file rdma.service does not exist. > Cleanup : > redhat-release-virtualization-host-content-4.4.7-1.el8ev.x86_64 2/2 > Verifying : > redhat-release-virtualization-host-content-4.4.7-2.el8ev.x86_64 1/2 > Verifying : > redhat-release-virtualization-host-content-4.4.7-1.el8ev.x86_64 2/2 > Persisting: > redhat-release-virtualization-host-content-4.4.7-2.el8ev.x86_64.rpm > Unpersisting: > redhat-release-virtualization-host-content-4.4.7-1.el8ev.x86_64.rpm > Installed products updated. > > Upgraded: > redhat-release-virtualization-host-content-4.4.7-2.el8ev.x86_64 > > ``` > > Looking at systemd units related to rdma I see: > ``` > /usr/lib/systemd/system/rdma-hw.target > /usr/lib/systemd/system/rdma-load-modules@.service > /usr/lib/systemd/system/rdma-ndd.service > ``` > > The enablement of the rdma service seems to be added in %post section as a > workaround for bug #1809618. > > Gobinda I understand rdma is not used in RHHI, any other reason for trying > to enable the service? > If not, I would go with removing the failing command from %post. I don't think any specific reason, you can remove it.
QE did not reproduce this issue on "redhat-virtualization-host-4.4.7-20210705.0.el8_4" Test versions: RHVH: upgrade RHVH from rhvh-4.4.7.1-0.20210624.0+1 to rhvh-4.4.7.2-0.20210705.0+1 RHVM: 4.4.7.6-0.11.el8ev Test steps: 1. Install redhat-virtualization-host-4.4.7-20210624.0.el8_4 2. Add host to RHVM 3. Login to host, setup local repos and point to "redhat-virtualization-host-4.4.7-20210705.0.el8_4" 4. Manage host to "Maintenance" status, then upgrade RHVH via host side # yum update Test result: There were no errors related to rdma service during upgrade. ~~~~~~ # yum update Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Red Hat update to latest 259 kB/s | 1.1 kB 00:00 Dependencies resolved. ================================================================================================================================== Package Architecture Version Repository Size ================================================================================================================================== Installing: redhat-virtualization-host-image-update x86_64 4.4.7-20210705.0.el8_4 update 875 M replacing redhat-virtualization-host-image-update-placeholder.noarch 4.4.7-1.el8ev Transaction Summary ================================================================================================================================== Install 1 Package Total download size: 875 M Is this ok [y/N]: y Downloading Packages: redhat-virtualization-host-image-update-latest.rpm 82 MB/s | 875 MB 00:10 ---------------------------------------------------------------------------------------------------------------------------------- Total 82 MB/s | 875 MB 00:10 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: redhat-virtualization-host-image-update-4.4.7-20210705.0.el8_4.x86_64 1/2 Installing : redhat-virtualization-host-image-update-4.4.7-20210705.0.el8_4.x86_64 1/2 Running scriptlet: redhat-virtualization-host-image-update-4.4.7-20210705.0.el8_4.x86_64 1/2 Obsoleting : redhat-virtualization-host-image-update-placeholder-4.4.7-1.el8ev.noarch 2/2 Verifying : redhat-virtualization-host-image-update-4.4.7-20210705.0.el8_4.x86_64 1/2 Verifying : redhat-virtualization-host-image-update-placeholder-4.4.7-1.el8ev.noarch 2/2 Unpersisting: redhat-virtualization-host-image-update-placeholder-4.4.7-1.el8ev.noarch.rpm Installed products updated. Installed: redhat-virtualization-host-image-update-4.4.7-20210705.0.el8_4.x86_64 Complete! ~~~~~~
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 (Important: Red Hat Virtualization Host security and bug fix update [ovirt-4.4.7]), 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/RHSA-2021:2736