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

Re: [Xen-API] XenServer + libvirt + Ceph



On Wed, 2013-09-04 at 09:55 +0200, Guillaume Thouvenin wrote:
> Jonathan Gowar <jon@xxxxxxxxxxxxxxxx> a Ãcrit :
> I don't know if it is the problem but maybe you should try to set up a 
> secret in the configuration of your pool. I know that Cephx is using a 
> secret key for authentication. If it is the case you must add this 
> secret key into the XML provided to libvirt. And to deal with that you 
> first need to create a secret by using "virsh secret-define", set the 
> secret value of this key to the secret key used by Cephx for your user 
> and then you can use this secret into the XML definition of your pool.
> 
> For example in my case I used the following XML:
> 
> <pool type='rbd'>
>   <name>ceph</name>
>   <source>
>     <name>xen</name>
>     <host name='10.197.217.22' port='6789'/>
>     <auth username='xen' type='ceph'>
>       <secret uuid='the_good_uuid_of_the_secret' />
>     </auth>
>   </source>
> </pool>

Hi Guillaume,

  Still the same error, although this time I've likely made an admin
error.  Along with your post, I also used this page
http://ceph.com/docs/master/rbd/libvirt/ .  I've posted what I did here
http://pastebin.com/raw.php?i=1HTqtiRe

Regards,
Jon


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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