ceph-osd devices does not support bcache disks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph-osd (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
I configured bcache devices with MAAS using and SSD disk with 12 HDD.
When I deploy ceph-osd with osd-devices= /dev/bcache0 /dev/bcache1 /dev/bcache2 ... I have this error:
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 ERROR juju-log mon:60: Unable to initialize device: /dev/bcache0
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 INFO mon-relation-
2016-11-17 23:02:09 ERROR juju.worker.
It seems that osd-charm does not support bcache devices.
The workaround that I found is to mount with MAAS every bcache device into /bcache directory:
/dev/bcache0 -> /bcache0
and I used this directories with osd-devices parameter of osd-charm:
osd-devices = /bcache0 /bcache1 /bcache2 ...
See http:// tracker. ceph.com/ issues/ 13278