I am facing problem when trying to use create an image using qemu-img on CEPH 
storage


"qemu-img create -f raw rbd:rbd/foo 1G" (Qemu->librbd->librados).

I am using QEMU version 1.7.1 ; librbd : librbd1-0.67.7-0.el6.x86_64 ; librados 
: librados2-0.67.7-0.el6.x86_64.


Whereas when I run rbd create rbd/foo --size 1024 on the MON server I can 
create a raw device on the OSD.


I copied the keyring.admin file from the MON server /etc/ceph/admin.keyring to 
the node where QEMU is running /etc/ceph/admin.keyring. Also I have the same 
ceph.conf file present on MON server as well as node where QEMU is running. I 
also tried creating a new user client say “client.qemu” on MON server and 
copying the key to the QEMU node that also didn’t work.


Am I missing something here ? Any suggestions are highly welcome.


Thanks,

Vilobh


_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to