This bug was fixed in the package ceph - 0.56.3-0ubuntu2
---
ceph (0.56.3-0ubuntu2) raring; urgency=low
* Fix problem with trailing whitespace in RBD OCF (LP: #1129217):
- d/p/ocf-whitespace.patch: Strip any trailing whitespace from the
output of rbd showmapped.
-- James
** Changed in: ceph (Ubuntu)
Importance: Undecided => High
** Changed in: ceph (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1129217
Title:
That might work well
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1129217
Title:
rbd showmapped has trailing whitespace which break rbd monitor
To manage notifications about thi
What about just iterating over the device nodes that udev creates?
/dev/rbd/$pool/$image
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1129217
Title:
rbd showmapped has trailing white
Alternatively:
sedpat="[0-9]\+[ \t]\+${OCF_RESKEY_pool}[ \t]\+${OCF_RESKEY_name}[
\t]\+${OCF_RESKEY_snap:--}[ \t]\+\(/dev/rbd[0-9]\+\).*"
Trims the whitespace as well.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ceph in Ubuntu