Re: [ceph-users] storage pools ceph (bobtail) auth failure in xenserver SR creation

2013-07-21 Thread Sébastien RICCIO
Hi again, [root@xen-blade05 ~]# virsh pool-info rbd Name: rbd UUID: ebc61120-527e-6e0a-efdc-4522a183877e State: running Persistent: no Autostart: no Capacity: 5.28 TiB Allocation: 16.99 GiB Available: 5.24 TiB I managed to get it running. How

Re: [ceph-users] storage pools ceph (bobtail) auth failure in xenserver SR creation

2013-07-21 Thread Sébastien RICCIO
Hi, thanks a lot for your answer. I was successfully able to create the storage pool with virsh. However it is not listed when I issue a virsh pool-list: Name State Autostart - If I try to add it again: [root@xen-blade05 ~]# virsh

Re: [ceph-users] storage pools ceph (bobtail) auth failure in xenserver SR creation

2013-07-21 Thread Wido den Hollander
Hi, On 07/21/2013 08:14 AM, Sébastien RICCIO wrote: Hi ! I'm currently trying to get the xenserver on centos 6.4 tech preview working against a test ceph cluster and having the same issue. Some infos: the cluster is named "ceph", the pool is named "rbd". ceph.xml: rbd ceph

Re: [ceph-users] storage pools ceph (bobtail) auth failure in xenserver SR creation

2013-07-20 Thread Sébastien RICCIO
Hi ! I'm currently trying to get the xenserver on centos 6.4 tech preview working against a test ceph cluster and having the same issue. Some infos: the cluster is named "ceph", the pool is named "rbd". ceph.xml: rbd ceph secret.xml: client.admin [root@xen-b

Re: [ceph-users] storage pools ceph (bobtail) auth failure in xenserver SR creation

2013-07-14 Thread Wido den Hollander
Hi John, Could you try without the cat'ing and such? Could you also try this: $ virsh secret define secret.xml $ virsh secret-set-value $ virsh pool-create ceph.xml Could you post both XML files and not use any Xen commands like 'xe'? I want to verify where this problem is. Wido On 07/11/

Re: [ceph-users] storage pools ceph (bobtail) auth failure in xenserver SR creation

2013-07-11 Thread John Shen
Wido, Thanks! I tried again with your command syntax but the result is the same. [root@xen02 ~]# virsh secret-set-value $(cat uuid) $(cat client.admin.key) Secret value set [root@xen02 ~]# xe sr-create type=libvirt name-label=ceph device-config:xml-filename=ceph.xml Error code: libvirt Error para

Re: [ceph-users] storage pools ceph (bobtail) auth failure in xenserver SR creation

2013-07-11 Thread Wido den Hollander
Hi. So, the problem here is a couple of things. First: libvirt doesn't handle RBD storage pools without auth. That's my bad, but I never resolved that bug: http://tracker.ceph.com/issues/3493 For now, make sure cephx is enabled. Also, the commands you are using don't seem to be right. It sh

Re: [ceph-users] storage pools ceph (bobtail) auth failure in xenserver SR creation

2013-07-11 Thread John Shen
Hi Dave, Thank you so much for getting back to me. the command returns the same errors: [root@xen02 ~]# virsh pool-create ceph.xml error: Failed to create pool from ceph.xml error: Invalid secret: virSecretFree [root@xen02 ~]# the secret was precreated for the user admin that I use elsewhere wi

Re: [ceph-users] storage pools ceph (bobtail) auth failure in xenserver SR creation

2013-07-11 Thread Dave Scott
[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

[ceph-users] storage pools ceph (bobtail) auth failure in xenserver SR creation

2013-07-10 Thread John Shen
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