Project

General

Profile

Actions

Feature #23000

closed

Support multipath devices

Added by Kenneth Waegeman about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

ceph-volume doesn't support multipath devices. This could be fixed by adding
"or TYPE == 'mpath'" to
https://github.com/ceph/ceph/blob/master/src/ceph-volume/ceph_volume/util/disk.py#L206

Then it works

Actions #1

Updated by Kenneth Waegeman about 6 years ago

Seems like addressed already in https://github.com/ceph/ceph/pull/20296

Actions #2

Updated by Alfredo Deza about 6 years ago

  • Status changed from New to Need More Info

Would you mind explaining what is the use case that requires multipath instead of just relying on LVM? How is it that LVM doesn't solve the multipath use case?

Actions #3

Updated by Kenneth Waegeman about 6 years ago

We have external storage (eg powervault) exporting disks through redundant controllers, resulting in multiple access paths we aggregate to a multipath device for high availability

Actions #4

Updated by Alfredo Deza about 6 years ago

You can still be able to configure LVM to use the multipath devices to create logical volumes though. No? ceph-volume will not attempt to configure LVM
in a machine, so some manual configuration would be needed here.

Actions #5

Updated by Alfredo Deza about 6 years ago

If you are feeding ceph-volume LV's then this check will never be performed. I can see how this would be problematic if it is being attempted to use partitions directly or devices so that ceph-volume can create the LV's for you.

I can't guarantee that just this one change would work to fully support multipath devices (we would need to implement extensive functional testing). Would the alternative of just using LV's for your setup work?

Actions #6

Updated by Alfredo Deza about 6 years ago

  • Status changed from Need More Info to Closed

Closing since this is now documented as unsupported for the specific case of making ceph-volume create the LV. It should just work if an existing LV is created ontop of the multipath device.

PR https://github.com/ceph/ceph/pull/20878

Currently documented as well on ceph docs: http://docs.ceph.com/docs/master/ceph-volume/lvm/prepare/#multipath-support

Actions

Also available in: Atom PDF