ceph does not support use of OSD's with multipath devices

Bug #1641229 reported by Marcin Zbik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Ubuntu 16.04.1 LTS
ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)

I'm trying to create OSD with command
ceph-deploy osd prepare ceph-node1:dm-2
ceph-deploy osd activate ceph-node1:dm-3

but on activation step it fails with:
** ERROR: error creating empty object store in /var/lib/ceph/tmp/mnt.MuFKyJ: (13) Permission denied

As a result I have 1 OSD in but it's down.

I tried to do it manually and it ends with exact same result.
My disk is multipath device /dev/dm-2 which partitions are visible as dm-3 and dm-4 (journal)

I can reproduce it on 3 different machines, with same versions of both ubuntu and ceph, also hardware is the same.

I'm attaching full log from OSD creation.

Revision history for this message
Marcin Zbik (zbikmarc+launchpad) wrote :
Revision history for this message
Marcin Zbik (zbikmarc+launchpad) wrote :

It looks like problem is with multipath device. I found some bugs in ceph but they are rather old:
http://tracker.ceph.com/issues/5739
http://tracker.ceph.com/issues/11881
and some mail like http://ceph-users.ceph.narkive.com/YohE3ZtE/non-sdx-devices-with-ceph-deploy-and-ceph-disk

James Page (james-page)
summary: - Permission denied during ceph-deploy osd create/activate
+ ceph does not support use of OSD's with multipath devices
Changed in ceph (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.