Bug 1976118
| Summary: | Failed to enable unit: Unit file rdma.service does not exist in %post execution | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Sandro Bonazzola <sbonazzo> |
| Component: | redhat-release-virtualization-host | Assignee: | Sandro Bonazzola <sbonazzo> |
| Status: | CLOSED ERRATA | QA Contact: | peyu |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.4.7 | CC: | arachman, cshao, dfediuck, godas, lsvaty, lveyde, mavital, michal.skrivanek, peyu, sbonazzo, shlei, weiwang, yaniwang |
| Target Milestone: | ovirt-4.4.7 | Keywords: | Regression |
| Target Release: | 4.4.7 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | redhat-release-virtualization-host-4.4.7-3.el8ev | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-22 15:07:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sandro Bonazzola
2021-06-25 09:04:56 UTC
(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 |