RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1659571 - [RFE] On inplace upgrade to RHEL8, multipath configuration should be supported
Summary: [RFE] On inplace upgrade to RHEL8, multipath configuration should be supported
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: leapp-repository
Version: 7.8
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: 7.8
Assignee: Leapp team
QA Contact: Alois Mahdal
URL:
Whiteboard:
Depends On:
Blocks: 1679810 1784876
TreeView+ depends on / blocked
 
Reported: 2018-12-14 16:54 UTC by afox@redhat.com
Modified: 2023-10-06 18:02 UTC (History)
22 users (show)

Fixed In Version: leapp-repository-0.10.0-2.el7_8.noarch
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-14 10:56:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description afox@redhat.com 2018-12-14 16:54:58 UTC
1. Proposed title of this feature request?
Multipath configuration during RHEL8 inplace upgrades should be supported.

2. Who is the customer behind the request?
Account: 748231
TAM customer: Yes
SRM customer: Yes
Strategic: Yes748231

3. What is the nature and description of this request? 
Following the second RHEL8 town hall, the customer has discovered that multipath is not supported for in-place upgrades. They would like to request that this is supported.

4. Why does the customer need this? (List the business requirements here)
A good proportion of their estate currently uses either RAID (desktops) or multipath (servers) as part of their configuration. It would be great if the in-place upgrade tool supported these scenarios.

5. How would the customer like to achieve this? (List the functional requirements here)
- iptables packages should be removed during upgrade
- iptables configuration should be migrated to nftables without requiring user intervention

6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
Perform an inplace upgrade, and check post-upgrade that multipath functionality mirrors the previous configuration. 

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
Not that I can find.

8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL6, RHEL7)?
RHEL 8 GA

9. Is the sales team involved in this request and do they have any additional input?
No. 

10. List any affected packages or components.
device-mapper-multipath

11. Would the customer be able to assist in testing this functionality if implemented?
Yes

Comment 13 Bryn M. Reeves 2019-02-28 10:51:24 UTC
I am seeing a problem with the current internal Leapp repos and a multipath configuration when upgrading from RHEL-7.6 to 8.0.

The Upgrade RAMDISK fails to activate the system root devices and drops into the dracut shell. The cause isn't immediately clear but I've not carried out any real debugging yet.

The host configuration is simple: one VirtIO disk for /boot, and a pair of iSCSI targets served by LIO/targetcli. Installation of RHEL7.6 to this set up proceeds as expected, leaving the volume group containing the root file system on the two multipath devices. The initial phase of Leapp seems to run as normal, but then fails booting the upgrade image.

Comment 24 Ben Marzinski 2019-06-11 18:05:53 UTC
I've been able to reproduce the problem with booting into a leapp upgraded rhel8 system.  Using iscsi devices like Comment 13 fails because the network isn't set up in time. But even if you can access the devices, multipath still fails because the multipath dracut module isn't present, but multipath is set up to run on the root and boot devices. If I mount all the missing
filesystems and exit the emergency shell, and remake the initramfs with

# dracut -f --add multipath

everything works fine.  So I believe that to fix this, the leapp tool needs to include the multipath dracut module in the initramfs it creates, if the rhel7 initramfs was including it. This bug should probably be reassigned to the leapp team, but I'm not sure what Component that goes under.

Comment 29 Jonathan Earl Brassow 2019-08-05 14:34:35 UTC
A note from email exchange...

I’ll ask Ben if he can come up with a simple command / script that would detect if multipath is in use on the RHEL7 system before upgrade.  It might be as simple as checking the DM tables and grepping for ‘multipath’.

# Tells you whether there is an active multipath instance on the machine
e.g.> dmsetup table | grep multipath

brassow

That will pull in the multipath dracut module when it's not really
needed (for non system directory cases). Instead you can just check if
it's in the current initramfs.

lsinitrd | grep "^multipath"

should work for that.

-Ben

Comment 30 Jonathan Earl Brassow 2019-08-05 16:23:40 UTC
I've been instructed that the right location for this bug is RHEL7, leapp-repository.  Switching there.

Comment 33 Ben Marzinski 2020-03-23 18:01:23 UTC
I'm assigning this back to the leapp team, since the multipath actor work has been submitted

https://github.com/oamg/leapp-repository/pull/473

Comment 34 Michal Bocek 2020-05-14 10:56:04 UTC
Thanks Ben.
The support for multipath has been released downstream in Leapp version 0.10.0: https://access.redhat.com/errata/RHBA-2020:1959.


Note You need to log in before you can comment on or make changes to this bug.