Bug 1887396
| Summary: | Add a check for udevadm in the specfile | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Michal Ruprich <mruprich> |
| Component: | rdma-core | Assignee: | Honggang LI <honli> |
| Status: | CLOSED ERRATA | QA Contact: | Brian Chae <bchae> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.4 | CC: | bchae, hwkernel-mgr, rdma-dev-team, zguo |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rdma-core-32.0-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-18 14:44:44 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1743650 | ||
|
Description
Michal Ruprich
2020-10-12 11:20:31 UTC
1. installed the rdma-core source rpm and inspected the suggested udevadm check in the "rdma-core.spec" file for the rpm -vv -Uvh rdma-core-32.0-2.el8.src.rpm [root@rdma-perf-03 SPECS]$ ls -lrt rdma-core.spec -rw-r--r--. 1 root root 29981 Dec 8 18:59 rdma-core.spec %post -n rdma-core if [ -x /sbin/udevadm ]; then <<<=========================================================== /sbin/udevadm trigger --subsystem-match=infiniband --action=change || true /sbin/udevadm trigger --subsystem-match=net --action=change || true /sbin/udevadm trigger --subsystem-match=infiniband_mad --action=change || true fi %post -n infiniband-diags -p /sbin/ldconfig %postun -n infiniband-diags %ldconfig_postun 2. conducted rdma-core package remove and re-install successfully. [root@rdma-perf-03 ~]$ dnf remove rdma-core 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. Dependencies resolved. ============================================================================================================== Package Architecture Version Repository Size ============================================================================================================== Removing: rdma-core x86_64 32.0-2.el8 @beaker-BaseOS 104 k Removing dependent packages: infiniband-diags x86_64 32.0-2.el8 @beaker-BaseOS 1.0 M libibverbs x86_64 32.0-2.el8 @beaker-BaseOS 818 k libibverbs-utils x86_64 32.0-2.el8 @beaker-BaseOS 213 k librdmacm x86_64 32.0-2.el8 @beaker-BaseOS 140 k librdmacm-utils x86_64 32.0-2.el8 @beaker-BaseOS 276 k mvapich2-devel x86_64 2.3.4-1.el8 @beaker-AppStream 19 M opa-address-resolution x86_64 1:10.10.3.0.11-1.el8 @beaker-BaseOS 2.0 M opa-basic-tools x86_64 1:10.10.3.0.11-1.el8 @beaker-BaseOS 2.1 M opa-fastfabric x86_64 1:10.10.3.0.11-1.el8 @beaker-BaseOS 7.8 M openmpi x86_64 4.0.5-2.el8 @beaker-AppStream 9.5 M openmpi-devel x86_64 4.0.5-2.el8 @beaker-AppStream 1.8 M perftest x86_64 4.4-7.el8 @beaker-BaseOS 2.0 M qperf x86_64 0.4.11-1.el8 @beaker-AppStream 174 k rdma-core-devel x86_64 32.0-2.el8 @beaker-BaseOS 527 k srp_daemon x86_64 32.0-2.el8 @beaker-BaseOS 72 k Removing unused dependencies: bc x86_64 1.07.1-5.el8 @beaker-BaseOS 234 k environment-modules x86_64 4.5.2-1.el8 @beaker-BaseOS 1.8 M expect x86_64 5.45.4-5.el8 @beaker-BaseOS 578 k gcc-gfortran x86_64 8.4.1-1.el8 @beaker-AppStream 30 M hwloc-libs x86_64 2.2.0-1.el8 @beaker-BaseOS 2.9 M ibacm x86_64 32.0-2.el8 @beaker-BaseOS 189 k libfabric x86_64 1.11.1-1.el8 @beaker-BaseOS 1.5 M libgfortran x86_64 8.4.1-1.el8 @beaker-BaseOS 2.5 M libibumad x86_64 32.0-2.el8 @beaker-BaseOS 40 k libpsm2 x86_64 11.2.185-1.el8 @beaker-BaseOS 452 k libquadmath x86_64 8.4.1-1.el8 @beaker-BaseOS 298 k libquadmath-devel x86_64 8.4.1-1.el8 @beaker-AppStream 19 k munge x86_64 0.5.13-2.el8 @beaker-AppStream 313 k munge-libs x86_64 0.5.13-2.el8 @beaker-AppStream 41 k mvapich2 x86_64 2.3.4-1.el8 @beaker-AppStream 16 M opensm-libs x86_64 3.3.23-4.el8 @beaker-BaseOS 188 k pciutils x86_64 3.7.0-1.el8 @beaker-BaseOS 211 k pmix x86_64 2.2.4rc1-1.el8 @beaker-AppStream 3.8 M rpm-mpi-hooks noarch 5-4.el8 @beaker-AppStream 9.2 k torque-libs x86_64 4.2.10-25.el8 @beaker-AppStream 309 k ucx x86_64 1.9.0-1.el8 @beaker-AppStream 1.6 M Transaction Summary ============================================================================================================== Remove 37 Packages Freed space: 111 M Is this ok [y/N]: y Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: perftest-4.4-7.el8.x86_64 1/1 Erasing : perftest-4.4-7.el8.x86_64 1/37 Erasing : openmpi-devel-4.0.5-2.el8.x86_64 2/37 Erasing : openmpi-4.0.5-2.el8.x86_64 3/37 Erasing : libfabric-1.11.1-1.el8.x86_64 4/37 Running scriptlet: libfabric-1.11.1-1.el8.x86_64 4/37 Running scriptlet: srp_daemon-32.0-2.el8.x86_64 5/37 Erasing : srp_daemon-32.0-2.el8.x86_64 5/37 warning: /etc/srp_daemon.conf saved as /etc/srp_daemon.conf.rpmsave Running scriptlet: srp_daemon-32.0-2.el8.x86_64 5/37 Erasing : librdmacm-utils-32.0-2.el8.x86_64 6/37 Erasing : mvapich2-devel-2.3.4-1.el8.x86_64 7/37 Erasing : rdma-core-devel-32.0-2.el8.x86_64 8/37 Erasing : mvapich2-2.3.4-1.el8.x86_64 9/37 Erasing : opa-fastfabric-1:10.10.3.0.11-1.el8.x86_64 10/37 Erasing : opa-address-resolution-1:10.10.3.0.11-1.el8.x86_64 11/37 Running scriptlet: opa-address-resolution-1:10.10.3.0.11-1.el8.x86_64 11/37 Running scriptlet: ibacm-32.0-2.el8.x86_64 12/37 Erasing : ibacm-32.0-2.el8.x86_64 12/37 Running scriptlet: ibacm-32.0-2.el8.x86_64 12/37 Erasing : opa-basic-tools-1:10.10.3.0.11-1.el8.x86_64 13/37 Erasing : libibverbs-utils-32.0-2.el8.x86_64 14/37 Erasing : infiniband-diags-32.0-2.el8.x86_64 15/37 Running scriptlet: infiniband-diags-32.0-2.el8.x86_64 15/37 Erasing : qperf-0.4.11-1.el8.x86_64 16/37 Erasing : rpm-mpi-hooks-5-4.el8.noarch 17/37 Erasing : librdmacm-32.0-2.el8.x86_64 18/37 Running scriptlet: librdmacm-32.0-2.el8.x86_64 18/37 Running scriptlet: gcc-gfortran-8.4.1-1.el8.x86_64 19/37 Erasing : gcc-gfortran-8.4.1-1.el8.x86_64 19/37 Erasing : libgfortran-8.4.1-1.el8.x86_64 20/37 Running scriptlet: libgfortran-8.4.1-1.el8.x86_64 20/37 Erasing : opensm-libs-3.3.23-4.el8.x86_64 21/37 Running scriptlet: opensm-libs-3.3.23-4.el8.x86_64 21/37 Erasing : pmix-2.2.4rc1-1.el8.x86_64 22/37 Erasing : torque-libs-4.2.10-25.el8.x86_64 23/37 Erasing : libquadmath-devel-8.4.1-1.el8.x86_64 24/37 Running scriptlet: munge-0.5.13-2.el8.x86_64 25/37 Erasing : munge-0.5.13-2.el8.x86_64 25/37 Running scriptlet: munge-0.5.13-2.el8.x86_64 25/37 Erasing : libibumad-32.0-2.el8.x86_64 26/37 Running scriptlet: libibumad-32.0-2.el8.x86_64 26/37 Erasing : libibverbs-32.0-2.el8.x86_64 27/37 Running scriptlet: libibverbs-32.0-2.el8.x86_64 27/37 Erasing : rdma-core-32.0-2.el8.x86_64 28/37 Running scriptlet: rdma-core-32.0-2.el8.x86_64 28/37 Erasing : pciutils-3.7.0-1.el8.x86_64 29/37 Erasing : munge-libs-0.5.13-2.el8.x86_64 30/37 Running scriptlet: libquadmath-8.4.1-1.el8.x86_64 31/37 Erasing : libquadmath-8.4.1-1.el8.x86_64 31/37 Running scriptlet: libquadmath-8.4.1-1.el8.x86_64 31/37 Erasing : environment-modules-4.5.2-1.el8.x86_64 32/37 Running scriptlet: environment-modules-4.5.2-1.el8.x86_64 32/37 Running scriptlet: bc-1.07.1-5.el8.x86_64 33/37 Erasing : bc-1.07.1-5.el8.x86_64 33/37 Erasing : expect-5.45.4-5.el8.x86_64 34/37 Erasing : hwloc-libs-2.2.0-1.el8.x86_64 35/37 Erasing : libpsm2-11.2.185-1.el8.x86_64 36/37 Running scriptlet: libpsm2-11.2.185-1.el8.x86_64 36/37 Erasing : ucx-1.9.0-1.el8.x86_64 37/37 Running scriptlet: ucx-1.9.0-1.el8.x86_64 37/37 Verifying : bc-1.07.1-5.el8.x86_64 1/37 Verifying : environment-modules-4.5.2-1.el8.x86_64 2/37 Verifying : expect-5.45.4-5.el8.x86_64 3/37 Verifying : gcc-gfortran-8.4.1-1.el8.x86_64 4/37 Verifying : hwloc-libs-2.2.0-1.el8.x86_64 5/37 Verifying : ibacm-32.0-2.el8.x86_64 6/37 Verifying : infiniband-diags-32.0-2.el8.x86_64 7/37 Verifying : libfabric-1.11.1-1.el8.x86_64 8/37 Verifying : libgfortran-8.4.1-1.el8.x86_64 9/37 Verifying : libibumad-32.0-2.el8.x86_64 10/37 Verifying : libibverbs-32.0-2.el8.x86_64 11/37 Verifying : libibverbs-utils-32.0-2.el8.x86_64 12/37 Verifying : libpsm2-11.2.185-1.el8.x86_64 13/37 Verifying : libquadmath-8.4.1-1.el8.x86_64 14/37 Verifying : libquadmath-devel-8.4.1-1.el8.x86_64 15/37 Verifying : librdmacm-32.0-2.el8.x86_64 16/37 Verifying : librdmacm-utils-32.0-2.el8.x86_64 17/37 Verifying : munge-0.5.13-2.el8.x86_64 18/37 Verifying : munge-libs-0.5.13-2.el8.x86_64 19/37 Verifying : mvapich2-2.3.4-1.el8.x86_64 20/37 Verifying : mvapich2-devel-2.3.4-1.el8.x86_64 21/37 Verifying : opa-address-resolution-1:10.10.3.0.11-1.el8.x86_64 22/37 Verifying : opa-basic-tools-1:10.10.3.0.11-1.el8.x86_64 23/37 Verifying : opa-fastfabric-1:10.10.3.0.11-1.el8.x86_64 24/37 Verifying : openmpi-4.0.5-2.el8.x86_64 25/37 Verifying : openmpi-devel-4.0.5-2.el8.x86_64 26/37 Verifying : opensm-libs-3.3.23-4.el8.x86_64 27/37 Verifying : pciutils-3.7.0-1.el8.x86_64 28/37 Verifying : perftest-4.4-7.el8.x86_64 29/37 Verifying : pmix-2.2.4rc1-1.el8.x86_64 30/37 Verifying : qperf-0.4.11-1.el8.x86_64 31/37 Verifying : rdma-core-32.0-2.el8.x86_64 32/37 Verifying : rdma-core-devel-32.0-2.el8.x86_64 33/37 Verifying : rpm-mpi-hooks-5-4.el8.noarch 34/37 Verifying : srp_daemon-32.0-2.el8.x86_64 35/37 Verifying : torque-libs-4.2.10-25.el8.x86_64 36/37 Verifying : ucx-1.9.0-1.el8.x86_64 37/37 Installed products updated. Removed: bc-1.07.1-5.el8.x86_64 environment-modules-4.5.2-1.el8.x86_64 expect-5.45.4-5.el8.x86_64 gcc-gfortran-8.4.1-1.el8.x86_64 hwloc-libs-2.2.0-1.el8.x86_64 ibacm-32.0-2.el8.x86_64 infiniband-diags-32.0-2.el8.x86_64 libfabric-1.11.1-1.el8.x86_64 libgfortran-8.4.1-1.el8.x86_64 libibumad-32.0-2.el8.x86_64 libibverbs-32.0-2.el8.x86_64 libibverbs-utils-32.0-2.el8.x86_64 libpsm2-11.2.185-1.el8.x86_64 libquadmath-8.4.1-1.el8.x86_64 libquadmath-devel-8.4.1-1.el8.x86_64 librdmacm-32.0-2.el8.x86_64 librdmacm-utils-32.0-2.el8.x86_64 munge-0.5.13-2.el8.x86_64 munge-libs-0.5.13-2.el8.x86_64 mvapich2-2.3.4-1.el8.x86_64 mvapich2-devel-2.3.4-1.el8.x86_64 opa-address-resolution-1:10.10.3.0.11-1.el8.x86_64 opa-basic-tools-1:10.10.3.0.11-1.el8.x86_64 opa-fastfabric-1:10.10.3.0.11-1.el8.x86_64 openmpi-4.0.5-2.el8.x86_64 openmpi-devel-4.0.5-2.el8.x86_64 opensm-libs-3.3.23-4.el8.x86_64 pciutils-3.7.0-1.el8.x86_64 perftest-4.4-7.el8.x86_64 pmix-2.2.4rc1-1.el8.x86_64 qperf-0.4.11-1.el8.x86_64 rdma-core-32.0-2.el8.x86_64 rdma-core-devel-32.0-2.el8.x86_64 rpm-mpi-hooks-5-4.el8.noarch srp_daemon-32.0-2.el8.x86_64 torque-libs-4.2.10-25.el8.x86_64 ucx-1.9.0-1.el8.x86_64 Complete! [root@rdma-perf-03 ~]$ dnf install -y rdma-core 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. Brew Buildsystem for rhel 8 26 kB/s | 237 B 00:00 Errors during downloading metadata for repository 'brew': - Status code: 404 for http://download.lab.bos.redhat.com/rel-eng/brew/rhel/8/repodata/repomd.xml (IP: 10.19.43.4) Error: Failed to download metadata for repo 'brew': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Ignoring repositories: brew Last metadata expiration check: 0:44:00 ago on Fri 18 Dec 2020 06:48:12 AM EST. Dependencies resolved. ============================================================================================================== Package Architecture Version Repository Size ============================================================================================================== Installing: rdma-core x86_64 32.0-2.el8 beaker-BaseOS 59 k Installing dependencies: pciutils x86_64 3.7.0-1.el8 beaker-BaseOS 105 k Transaction Summary ============================================================================================================== Install 2 Packages Total download size: 164 k Installed size: 315 k Downloading Packages: (1/2): rdma-core-32.0-2.el8.x86_64.rpm 4.3 MB/s | 59 kB 00:00 (2/2): pciutils-3.7.0-1.el8.x86_64.rpm 2.2 MB/s | 105 kB 00:00 -------------------------------------------------------------------------------------------------------------- Total 3.3 MB/s | 164 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : pciutils-3.7.0-1.el8.x86_64 1/2 Installing : rdma-core-32.0-2.el8.x86_64 2/2 Running scriptlet: rdma-core-32.0-2.el8.x86_64 2/2 Verifying : pciutils-3.7.0-1.el8.x86_64 1/2 Verifying : rdma-core-32.0-2.el8.x86_64 2/2 Installed products updated. Installed: pciutils-3.7.0-1.el8.x86_64 rdma-core-32.0-2.el8.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 (RDMA stack bug fix and enhancement update), 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/RHBA-2021:1594 |