Hi all,
is it possible to use a Ceph cluster as storage backend for xen instances (Openstack Liberty)? I’m not sure what it is yet, but I can’t launch instances with their root device in the rbd pool. I also tried to create a vm manually with xl create and this config:
disk= 'format=raw, vdev=xvda1, access=rw,backendtype=qdisk, target=rbd:images/0cd7201b-ea9e-459f-b603-a4c4ae93c601:id=openstack:conf=/etc/ceph/ceph.conf' ]
With this line I get following error in /var/log/xen/qemu-dm-test-rbd.log:
xen be: qdisk-51713: error: Unknown protocol
xen be: qdisk-51713: initialise() failed
I also tried to attach the disk as xvdb via
xl block-attach my-instance format=raw, vdev=xvdb, access=ro, backendtype=qdisk, target=rbd:images/my-image:ceph-user
The result is the same for all approaches, attaching fails:
compute1:/tmp # xl block-list my-instance
Vdev BE handle state evt-ch ring-ref BE-path
51712 0 16 4 12 8 /local/domain/0/backend/vbd/16/51712
51728 0 16 3 14 1010 /local/domain/0/backend/qdisk/16/51728
So it seems to be some problem with
backendtype=qdisk
, I guess. Has anyone faced something similar?
By the way, using Ceph as backend for cinder and glance works fine, I only need nova to work 
Thanks!