[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] QDISK RBD/Ceph backend parameters



On Thu, 2014-07-10 at 18:05 +0200, Sylvain Munaut wrote:
> Hi,
> 
> 
> I want to use qdisk to access images stored on a ceph cluster (using
> xl on xen 4.4).
> 
> Something like this works :
> disk = ['rbd:mypool/myimage,raw,xvdb,w,backendtype=qdisk' ]
> 
> However I need to setup some optiosn for it to give to qemu (to pass
> down to librbd), like for example which user to login as on the
> cluster (for the example above, I had disabled auth).
> 
> So I need to give something like this to qemu "rbd:mypool/myimage:id=myuser"
> 
> Hoever if I try to use :
> disk = ['rbd:mypool/myimage:id=myuser,raw,xvdb,w,backendtype=qdisk' ]
> 
> I get a syntax error from libxl when parsing the disk spec ...
> 
> So how can I escape it properly ?

See docs/misc/xl-disk-configuration.txt. You need to make use of the
fact that an explicit target= eats the rest of the line without
interpreting it.
1
Ian.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.