[sorry I didn't manage to reply to the original message; I only just joined this list. Sorry if this breaks your threading!] On 10 Jul 2013 at 16:01 John Shen wrote: > I was following the tech preview of libvirt/ceph integration in xenserver, but ran > into an issue with ceph auth in setting up the SR. any help would be greatly > appreciated. I must confess that I've disabled auth in my test environment. Clearly I should go back and enable it again :-) > uuid was generated per: http://eu.ceph.com/docs/wip-dump/rbd/libvirt/ > > according to inktank, storage pool auth syntax differs slightly from block device > attachment. I tried both format but got the same error. > > Ref: > > http://xenserver.org/blog/entry/tech-preview-of-xenserver-libvirt-ceph.html > > [root <at> xen01 ~]# xe sr-create type=libvirt name-label=ceph device-config:xml-filename=ceph.xml > Error code: libvirt > Error parameters: libvirt: VIR_ERR_65: VIR_FROM_30: Invalid secret: virSecretFree The "xe sr-create" call is handled by "xapi" which calls "xapi-libvirt-storage" which uses the libvirt API directly to create the pool. It _should_ do the same as running virsh pool-create ceph.xml Could you try the "virsh pool-create" and see if that works? If it does, then we need to figure out what the "virsh" CLI is doing that my Pool.create function call isn't. If it doesn't then there might be some other missing step. Did you have to pre-create a secret (is that "virsh secret-create"?) Cheers, Dave Scott _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com