Dear, I need to attach some ceph (0.94.6) block devices to our openstack (kilo) running instances (xen 4.4) .
Nova is able to create volumes, attach a detach (alt least there are no errors)
The hypervisor can see the blockdevice:
# rbd -p volumes ls
volume-xxxxxxxx-7342-434b-9xx1-d046bcxxxxfd
And the instance xml seems to be ok:
.................
<disk type='network' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<auth username='cinder'>
<secret type='ceph' uuid='xxxxxxxx-e53a-4xx7-9bc9-9bcc41xxxxe4'/>
</auth>
<source protocol='rbd' name='volumes/volume-xxxxxxxx-7342-434b-9xx1-d046bcxxxxfd'>
<host name='10.10.3.1' port='6789'/>
<host name='10.10.3.2' port='6789'/>
<host name='10.10.3.3' port='6789'/>
</source>
<target dev='xvdd' bus='xen'/>
<serial>xxxxxxxx-7342-434b-9xx1-d046bcxxxxfd</serial>
</disk>
But there is no way to attach the device to running machine, I only see this error on libxl :
libxl: debug: libxl.c:3538:libxl_device_disk_add: ao 0x7fe248006080: create: how=(nil) callback=(nil) poller=0x7fe24000ce20
libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=xvdd spec.backend=qdisk
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x7fe248001780: deregister unregistered
libxl: debug: libxl_event.c:1591:libxl__ao_complete: ao 0x7fe248006080: complete, rc=0
libxl: debug: libxl.c:3538:libxl_device_disk_add: ao 0x7fe248006080: inprogress: poller=0x7fe24000ce20, flags=ic
libxl: debug: libxl_event.c:1563:libxl__ao__destroy: ao 0x7fe248006080: destroy
Seems like qdisk backend is not able to manage the volume
Any idea?
--
############################################################################
Iban Cabrillo Bartolome
Instituto de Fisica de Cantabria (IFCA)
Santander, Spain
Tel: +34942200969