Bug 1974780
| Summary: | Require environment(modules) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Orion Poplawski <orion> |
| Component: | openmpi | Assignee: | Honggang LI <honli> |
| Status: | CLOSED ERRATA | QA Contact: | Brian Chae <bchae> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | CentOS Stream | CC: | bchae, bstinson, cwei, jwboyer, rdma-dev-team, yizhan |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 8.5 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openmpi-4.1.1-2.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-09 19:41:50 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: | |||
The sanity tests results looks good for MLX4 IB and ROCE devices.
Test results for sanity on rdma-virt-01:
4.18.0-323.el8.x86_64, rdma-core-35.0-1.el8, mlx4, ib0, & mlx4_0
Result | Status | Test
---------+--------+------------------------------------
PASS | 0 | load module mlx4_ib
PASS | 0 | load module mlx4_en
PASS | 0 | load module mlx4_core
PASS | 0 | enable opensm
PASS | 0 | restart opensm
PASS | 0 | osmtest -f c -g 0xe41d2d03001d6791
PASS | 0 | ibstatus reported expected HCA rate
PASS | 0 | pkey mlx4_ib0.8080 create/delete
PASS | 0 | /usr/sbin/ibstat
PASS | 0 | /usr/sbin/ibstatus
PASS | 0 | systemctl start srp_daemon.service
PASS | 0 | /usr/sbin/ibsrpdm -vc
PASS | 0 | systemctl stop srp_daemon
PASS | 0 | ping self - 172.31.0.201
PASS | 0 | ping6 self - fe80::e61d:2d03:1d:6791%mlx4_ib0
PASS | 0 | /usr/share/pmix/test/pmix_test
PASS | 0 | ping server - 172.31.0.200
PASS | 0 | ping6 server - fe80::e61d:2d03:1d:6701%mlx4_ib0
PASS | 0 | openmpi mpitests-IMB-MPI1 PingPong
PASS | 0 | openmpi mpitests-IMB-IO S_Read_indv
PASS | 0 | openmpi mpitests-IMB-EXT Window
PASS | 0 | openmpi mpitests-osu_get_bw
PASS | 0 | ip multicast addr
PASS | 0 | rping
PASS | 0 | rcopy
PASS | 0 | ib_read_bw
PASS | 0 | ib_send_bw
PASS | 0 | ib_write_bw
PASS | 0 | iser login
PASS | 0 | mount /dev/sdb /iser
PASS | 0 | iser write 1K
PASS | 0 | iser write 1M
PASS | 0 | iser write 1G
PASS | 0 | nfsordma mount - XFS_EXT
PASS | 0 | nfsordma - wrote [5KB, 5MB, 5GB in 1KB, 1MB, 1GB bs]
PASS | 0 | nfsordma umount - XFS_EXT
PASS | 0 | nfsordma mount - RAMDISK
PASS | 0 | nfsordma - wrote [5KB, 5MB, 5GB in 1KB, 1MB, 1GB bs]
PASS | 0 | nfsordma umount - RAMDISK
Package environment-modules-4.5.2-1.el8.x86_64 is already installed.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mpitests-openmpi x86_64 5.7-2.el8 beaker-AppStream 973 k
openmpi x86_64 4.1.1-2.el8 brew 2.9 M
Installing dependencies:
openmpi-devel x86_64 4.1.1-2.el8 brew 1.2 M
Transaction Summary
================================================================================
Install 3 Packages
Total download size: 5.0 M
Installed size: 18 M
Downloading Packages:
(1/3): mpitests-openmpi-5.7-2.el8.x86_64.rpm 12 MB/s | 973 kB 00:00
(2/3): openmpi-devel-4.1.1-2.el8.x86_64.rpm 9.0 MB/s | 1.2 MB 00:00
(3/3): openmpi-4.1.1-2.el8.x86_64.rpm 13 MB/s | 2.9 MB 00:00
--------------------------------------------------------------------------------
Total 23 MB/s | 5.0 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : openmpi-devel-4.1.1-2.el8.x86_64 1/3
Installing : openmpi-4.1.1-2.el8.x86_64 2/3
Installing : mpitests-openmpi-5.7-2.el8.x86_64 3/3
Running scriptlet: mpitests-openmpi-5.7-2.el8.x86_64 3/3
Verifying : mpitests-openmpi-5.7-2.el8.x86_64 1/3
Verifying : openmpi-4.1.1-2.el8.x86_64 2/3
Verifying : openmpi-devel-4.1.1-2.el8.x86_64 3/3
Installed products updated.
Installed:
mpitests-openmpi-5.7-2.el8.x86_64 openmpi-4.1.1-2.el8.x86_64
openmpi-devel-4.1.1-2.el8.x86_64
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:4412 |
Description of problem: openmpi has gone from requiring environment(modules) to environment-modules. This is due to an incorrect fix I had made that was intended only for EL7. I believe this should address that: diff --git a/SPECS/openmpi.spec b/SPECS/openmpi.spec index 6404cc4..df2059e 100644 --- a/SPECS/openmpi.spec +++ b/SPECS/openmpi.spec @@ -88,7 +88,7 @@ BuildRequires: rpm-mpi-hooks %endif Provides: mpi -%if 0%{?rhel} +%if 0%{?rhel} == 7 # Need this for /etc/profile.d/modules.sh Requires: environment-modules %endif Version-Release number of selected component (if applicable): 4.1.1-1.el8 Problem 2: package openmpi-4.1.1-1.el8.x86_64 requires environment-modules, but none of the providers can be installed - installed package lmod-ohpc-8.2.10-15.1.ohpc.2.0.x86_64 obsoletes environment-modules provided by environment-modules-4.5.2-1.el8.x86_64 - cannot install the best update candidate for package openmpi-4.0.5-3.el8.x86_64 - cannot install the best update candidate for package lmod-ohpc-8.2.10-15.1.ohpc.2.0.x86_64