storage pools ceph (bobtail) auth failure in xenserver SR creation

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

 



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.

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@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

[root@xen01 ~]#

[root@xen01 ~]# cat ceph.xml

<pool type='rbd'>

  <name>ceph</name>

  <source>

    <name>rbd</name>

    <host name='10.198.195.169' port='6789'/>

  </source>

<auth username='admin' type='ceph'>

        <secret uuid='2e7c06d7-7189-6afb-6a16-78ede20d7815'/>

</auth>


</pool>


--
--John Shen
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux