Bug 2228547

Summary: In-place upgrading RHEL7.9 to RHEL8.9: rdma-core 70-persistent-ipoib.rules saved to 70-persistent-ipoib.rules.rpmsave
Product: Red Hat Enterprise Linux 7 Reporter: Zhang Yi <yizhan>
Component: leapp-repositoryAssignee: Leapp Notifications Bot <leapp-notifications-bot>
Status: NEW --- QA Contact: upgrades-and-conversions
Severity: unspecified Docs Contact: Miriam Portman <mportman>
Priority: unspecified    
Version: 7.9CC: infiniband-qe, mschmidt, pstodulk, upgrades-and-conversions, yizhan, zguo
Target Milestone: rcFlags: pstodulk: needinfo? (mschmidt)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Zhang Yi 2023-08-02 15:50:39 UTC
Description of problem:
In-place upgrading RHEL7.9 to RHEL8.9: rdma-core 70-persistent-ipoib.rules saved to 70-persistent-ipoib.rules.rpmsave

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
The rules file should be restored to 70-persistent-ipoib.rules, or the rdma interface will not bring up after upgrade.
And from the upgrading log, seems the rdma-core will be clean first.

RHEL8.9 -> RHEL9.3 doesn't have such issue.

Additional info:
beaker job: https://beaker.engineering.redhat.com/jobs/8145020

[root@rdma-qe-42 leapp]$ ls /etc/udev/rules.d/
70-persistent-ipoib.rules.rpmsave  70-persistent-net.rules


2023-08-02 10:53:21.558 DEBUG    PID: 1067 leapp.workflow.RPMUpgrade.dnf_upgrade_transaction:   Cleanup          : rdma-core-22.4-6.el7_9.x86_64                    1610/1741
2023-08-02 10:53:21.559 DEBUG    PID: 1067 leapp.workflow.RPMUpgrade.dnf_upgrade_transaction: warning: /etc/udev/rules.d/70-persistent-ipoib.rules saved as /etc/udev/rules.d/70-persistent-ipoib.rules.rpmsave
2023-08-02 10:53:21.560 DEBUG    PID: 1067 leapp.workflow.RPMUpgrade.dnf_upgrade_transaction: warning: /etc/rdma/rdma.conf saved as /etc/rdma/rdma.conf.rpmsave

Comment 5 Petr Stodulka 2023-08-03 08:52:01 UTC
Hi Zhang. Thank you for the report.

@mschmidt Hi Michal, can you take a look?