ClusterHQ / ceph-flocker-driver

A Ceph RBD driver for Flocker
https://clusterhq.com
Apache License 2.0
25 stars 13 forks source link

rbd showmap doesn't accept '-p <pool>', as seen in ceph_rbd.py:121 #12

Open mgmeskill opened 8 years ago

mgmeskill commented 8 years ago

I see lots of errors in node logs for rbd showmapped failing. Looks like the syntax is wrong.

ceph_rbd.py, line 121; [b"rbd", "-p", self._pool, b"showmapped"]).strip()

root@lumere-controller-1:~# rbd -p rbd showmapped rbd: unrecognised option '-p'

I think line 121 should look like; [b"rbd", b"showmapped"]).strip()

jBodin86 commented 7 years ago

My logs are full of this error...

wallnerryan commented 7 years ago

ceph suppoet was only experimental. ClusterHQ has since shutdown in Dec 16'. You may be able to find some help from some of us at https://github.com/ScatterHQ/flocker, thought personally I will not be continuing to do much.

Another option would be to take a look at rexray, they recently supported ceph in their 0.7.0 release. https://blog.codedellemc.com/2017/01/27/rexray-ceph/